|
|||||||||||
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.turbine.util.velocity.VelocityActionEvent org.apache.turbine.modules.actions.VelocityAction org.apache.jetspeed.modules.actions.controllers.VelocityControllerAction org.apache.jetspeed.modules.actions.controllers.RowColumnControllerAction
This action builds a context suitable for controllers handlings simple sorted lists of portlets
Field Summary |
Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
Constructor Summary | |
RowColumnControllerAction()
|
Method Summary | |
protected void |
buildCustomizeContext(PortletController controller,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
Adds a "pane" portlet object in the context which represents the currently selected pane |
protected void |
buildNormalContext(PortletController controller,
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 |
void |
doApply(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
|
void |
doCancel(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
Cancel the current customizations. |
void |
doDelete(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
Remove a pane from the current set This method expects the following parameters - paneid: the id a the pane to modify within the current profile - position: the position of the component to delete |
void |
doDown(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
Move a component down within the pane This method expects the following parameters - paneid: the id a the pane to modify within the current profile - position: move the component which occupies this position |
void |
doMove(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context,
boolean moveUp)
Move a component within the pane This method expects the following parameters - paneid: the id a the pane to modify within the current profile - position: move the component which occupies this position The moveUp boolean determines the direction of the move |
void |
doSave(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
|
void |
doUp(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
Move a component up within the pane This method expects the following parameters - paneid: the id a the pane to modify within the current profile - position: move the component which occupies this position |
static java.util.List |
getCellSizes(java.lang.String sizelist)
Parses the size config info and returns a list of size values for the current set |
Methods inherited from class org.apache.jetspeed.modules.actions.controllers.VelocityControllerAction |
doPerform, getContext, perform, setTemplate |
Methods inherited from class org.apache.turbine.modules.actions.VelocityAction |
doPerform |
Methods inherited from class org.apache.turbine.util.velocity.VelocityActionEvent |
executeEvents |
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 RowColumnControllerAction()
Method Detail |
protected void buildNormalContext(PortletController controller, org.apache.velocity.context.Context context, org.apache.turbine.util.RunData rundata)
buildNormalContext
in class VelocityControllerAction
public static java.util.List getCellSizes(java.lang.String sizelist)
protected void buildCustomizeContext(PortletController controller, org.apache.velocity.context.Context context, org.apache.turbine.util.RunData rundata)
buildCustomizeContext
in class VelocityControllerAction
public void doCancel(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
doCancel
in class VelocityControllerAction
public void doSave(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
public void doApply(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
public void doDelete(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context) throws java.lang.Exception
java.lang.Exception
public void doUp(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context) throws java.lang.Exception
java.lang.Exception
public void doDown(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context) throws java.lang.Exception
java.lang.Exception
public void doMove(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context, boolean moveUp) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |