|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.RegistryUpdateAction org.apache.jetspeed.modules.actions.portlets.PortletUpdateAction
This action enables the creation and editing of portlets
Field Summary |
Fields inherited from class org.apache.jetspeed.modules.actions.portlets.RegistryUpdateAction |
pane, registry, registryEntryName |
Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
Constructor Summary | |
PortletUpdateAction()
|
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. |
protected void |
clearUserData(org.apache.turbine.util.RunData rundata)
Remove any data that was added to the user's temporary storage |
void |
doAddcategory(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Add a category to a portlet |
void |
doInsert(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Insert a registry entry into the registry |
void |
doRemovecategories(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Remove categories from a portlet |
protected org.apache.turbine.util.DynamicURI |
redirect(org.apache.turbine.util.RunData rundata,
java.lang.String mode,
int reason)
Method that sets up a redirect link given the rundata, the mode, and a reason |
protected void |
resetForm(org.apache.turbine.util.RunData rundata)
Populates the user's temp storage with form data |
protected void |
updateRegistryEntry(org.apache.turbine.util.RunData rundata,
RegistryEntry registryEntry)
Basic implementation of a method to update a registry entry. |
Methods inherited from class org.apache.jetspeed.modules.actions.portlets.RegistryUpdateAction |
doAddcapability, doAddmediatype, doAddparameter, doCancel, doDelete, doRemovecapability, doRemovemediatypes, doRemoveparameters, doUpdate, doUpdateparameters, doUpdateparametervalues, hasChanged, iteratorToCollection |
Methods inherited from class org.apache.jetspeed.modules.actions.portlets.SecureVelocityPortletAction |
executeEvents |
Methods inherited from class org.apache.jetspeed.modules.actions.portlets.VelocityPortletAction |
buildConfigureContext, buildConfigureContext, buildMaximizedContext, buildMaximizedContext, buildNormalContext |
Methods inherited from class org.apache.jetspeed.modules.actions.portlets.GenericMVCAction |
checkAdministrativeAction, doPerform, getAttribute, getAttribute, getPortletInstance, perform, setAttribute |
Methods inherited from class org.apache.jetspeed.modules.actions.portlets.PortletAction |
doPerform, getContext, getPortlet, getTemplate, resetTemplate, setTemplate, setTemplate |
Methods inherited from class org.apache.jetspeed.modules.actions.portlets.PortletActionEvent |
fireEvent |
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 |
Constructor Detail |
public PortletUpdateAction()
Method Detail |
protected void buildNormalContext(VelocityPortlet portlet, org.apache.velocity.context.Context context, org.apache.turbine.util.RunData rundata) throws java.lang.Exception
buildNormalContext
in class RegistryUpdateAction
portlet
- The velocity-based portlet that is being built.context
- The velocity context for this request.rundata
- The turbine rundata context for this request.
java.lang.Exception
public void doInsert(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context) throws java.lang.Exception
RegistryUpdateAction
doInsert
in class RegistryUpdateAction
rundata
- The turbine rundata context for this request.context
- The velocity context for this request.
java.lang.Exception
protected void updateRegistryEntry(org.apache.turbine.util.RunData rundata, RegistryEntry registryEntry) throws java.lang.Exception
RegistryUpdateAction
updateRegistryEntry
in class RegistryUpdateAction
rundata
- The turbine rundata context for this request.registryEntry
- The registry entry to update
java.lang.Exception
RegistryUpdateAction.updateRegistryEntry(org.apache.turbine.util.RunData, org.apache.jetspeed.om.registry.RegistryEntry)
public void doAddcategory(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context) throws java.lang.Exception
rundata
- The turbine rundata context for this request.context
- The velocity context for this request.
java.lang.Exception
public void doRemovecategories(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context) throws java.lang.Exception
rundata
- The turbine rundata context for this request.context
- The velocity context for this request.
java.lang.Exception
protected void resetForm(org.apache.turbine.util.RunData rundata)
resetForm
in class RegistryUpdateAction
rundata
- The turbine rundata context for this request.protected void clearUserData(org.apache.turbine.util.RunData rundata)
RegistryUpdateAction
clearUserData
in class RegistryUpdateAction
rundata
- RegistryUpdateAction.clearUserData(org.apache.turbine.util.RunData)
protected org.apache.turbine.util.DynamicURI redirect(org.apache.turbine.util.RunData rundata, java.lang.String mode, int reason) throws org.apache.turbine.util.TurbineException
RegistryUpdateAction
redirect
in class RegistryUpdateAction
rundata
- mode
- reason
-
org.apache.turbine.util.TurbineException
RegistryUpdateAction.redirect(org.apache.turbine.util.RunData, java.lang.String, int)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |