org.apache.jetspeed.modules.actions.portlets
Class MediaUpdateAction
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.MediaUpdateAction
- public class MediaUpdateAction
- extends RegistryUpdateAction
This action enables to update the media entries
- Version:
- $Id: MediaUpdateAction.java,v 1.2 2004/02/23 02:56:58 jford Exp $
- Author:
- Jeremy Ford
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)
Subclasses must override this method to provide default behavior
for the portlet action |
protected void |
clearUserData(org.apache.turbine.util.RunData rundata)
Clears the temporary storage of any data that was used |
protected void |
resetForm(org.apache.turbine.util.RunData rundata)
Populates the user's temp storage with form data |
protected void |
updateMediaTypeEntry(org.apache.turbine.util.RunData rundata,
MediaTypeEntry mediaTypeEntry)
|
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, doInsert, doRemovecapability, doRemovemediatypes, doRemoveparameters, doUpdate, doUpdateparameters, doUpdateparametervalues, hasChanged, iteratorToCollection, redirect |
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 |
MediaUpdateAction
public MediaUpdateAction()
buildNormalContext
protected void buildNormalContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
throws java.lang.Exception
- Description copied from class:
VelocityPortletAction
- Subclasses must override this method to provide default behavior
for the portlet action
- Overrides:
buildNormalContext
in class RegistryUpdateAction
- Throws:
java.lang.Exception
- See Also:
VelocityPortletAction.buildNormalContext(org.apache.jetspeed.portal.portlets.VelocityPortlet, org.apache.velocity.context.Context, org.apache.turbine.util.RunData)
updateRegistryEntry
protected void updateRegistryEntry(org.apache.turbine.util.RunData rundata,
RegistryEntry registryEntry)
throws java.lang.Exception
- Description copied from class:
RegistryUpdateAction
- Basic implementation of a method to update a registry entry. The fields that
are common to all registry entries can simply be added below.
- Overrides:
updateRegistryEntry
in class RegistryUpdateAction
- Parameters:
rundata
- The turbine rundata context for this request.registryEntry
- The registry entry to update
- Throws:
java.lang.Exception
- See Also:
RegistryUpdateAction.updateRegistryEntry(org.apache.turbine.util.RunData, org.apache.jetspeed.om.registry.RegistryEntry)
updateMediaTypeEntry
protected void updateMediaTypeEntry(org.apache.turbine.util.RunData rundata,
MediaTypeEntry mediaTypeEntry)
- Parameters:
rundata
-
resetForm
protected void resetForm(org.apache.turbine.util.RunData rundata)
- Populates the user's temp storage with form data
- Overrides:
resetForm
in class RegistryUpdateAction
- Parameters:
rundata
- The turbine rundata context for this request.
clearUserData
protected void clearUserData(org.apache.turbine.util.RunData rundata)
- Clears the temporary storage of any data that was used
- Overrides:
clearUserData
in class RegistryUpdateAction
- Parameters:
rundata
- The turbine rundata context for this request.
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.