org.apache.jetspeed.modules.actions.portlets
Class PsmlUpdateAction
java.lang.Object
org.apache.turbine.modules.Assembler
org.apache.turbine.modules.Action
org.apache.turbine.modules.ActionEvent
org.apache.jetspeed.modules.actions.portlets.PortletActionEvent
org.apache.jetspeed.modules.actions.portlets.PortletAction
org.apache.jetspeed.modules.actions.portlets.GenericMVCAction
org.apache.jetspeed.modules.actions.portlets.VelocityPortletAction
org.apache.jetspeed.modules.actions.portlets.SecureVelocityPortletAction
org.apache.jetspeed.modules.actions.portlets.PsmlUpdateAction
- public class PsmlUpdateAction
- extends SecureVelocityPortletAction
This action enables to update the psml entries
- Version:
- $Id: PsmlUpdateAction.java,v 1.19 2005/01/17 23:35:30 morciuch Exp $
- Author:
- David Sean Taylor
Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
Method Summary |
protected void |
buildNormalContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
Build the normal state content for this portlet. |
void |
doDelete(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Delete Psml entry |
void |
doExport(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
File Export Action for Psml. |
void |
doExportall(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
File Export All Action for Psml. |
void |
doImport(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
File Import Action for Psml. |
void |
doImportall(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
File Import All Action for Psml. |
void |
doInsert(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Database Insert Action for Psml. |
void |
setRefreshPsmlFlag(org.apache.turbine.util.RunData rundata,
java.lang.String value)
|
Methods inherited from class org.apache.turbine.modules.ActionEvent |
executeEvents, formatString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PSML_REFRESH_FLAG
protected static final java.lang.String PSML_REFRESH_FLAG
- See Also:
- Constant Field Values
TRUE
protected static final java.lang.String TRUE
- See Also:
- Constant Field Values
FALSE
protected static final java.lang.String FALSE
- See Also:
- Constant Field Values
CATEGORY_NAME
protected static final java.lang.String CATEGORY_NAME
- See Also:
- Constant Field Values
CATEGORY_VALUE
protected static final java.lang.String CATEGORY_VALUE
- See Also:
- Constant Field Values
COPY_FROM
protected static final java.lang.String COPY_FROM
- See Also:
- Constant Field Values
COPY_TO
protected static final java.lang.String COPY_TO
- See Also:
- Constant Field Values
TEMP_LOCATOR
protected static final java.lang.String TEMP_LOCATOR
- See Also:
- Constant Field Values
PSML_UPDATE_PANE
protected static final java.lang.String PSML_UPDATE_PANE
- See Also:
- Constant Field Values
PsmlUpdateAction
public PsmlUpdateAction()
buildNormalContext
protected void buildNormalContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
- Build the normal state content for this portlet.
- Specified by:
buildNormalContext
in class VelocityPortletAction
- Parameters:
portlet
- The velocity-based portlet that is being built.context
- The velocity context for this request.rundata
- The turbine rundata context for this request.
doInsert
public void doInsert(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
throws java.lang.Exception
- Database Insert Action for Psml.
- Parameters:
rundata
- The turbine rundata context for this request.context
- The velocity context for this request.
- Throws:
java.lang.Exception
doDelete
public void doDelete(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
throws java.lang.Exception
- Delete Psml entry
- Throws:
java.lang.Exception
setRefreshPsmlFlag
public void setRefreshPsmlFlag(org.apache.turbine.util.RunData rundata,
java.lang.String value)
doExport
public void doExport(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
throws java.lang.Exception
- File Export Action for Psml.
- Parameters:
rundata
- The turbine rundata context for this request.context
- The velocity context for this request.
- Throws:
java.lang.Exception
doExportall
public void doExportall(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
throws java.lang.Exception
- File Export All Action for Psml.
- Parameters:
rundata
- The turbine rundata context for this request.context
- The velocity context for this request.
- Throws:
java.lang.Exception
doImport
public void doImport(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
throws java.lang.Exception
- File Import Action for Psml.
TODO: Implement file upload.
- Parameters:
rundata
- The turbine rundata context for this request.context
- The velocity context for this request.
- Throws:
java.lang.Exception
doImportall
public void doImportall(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
throws java.lang.Exception
- File Import All Action for Psml.
- Parameters:
rundata
- The turbine rundata context for this request.context
- The velocity context for this request.
- Throws:
java.lang.Exception
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.