|
|||||||||||
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.CustomizeSetAction
This action implements the default portletset behavior customizer
Don't call it from the URL, the Portlet and the Action are automatically associated through the registry PortletName
Field Summary | |
static java.lang.String |
FILTER_FIELDS
|
static java.lang.String |
FILTER_TYPE
|
static java.lang.String |
FILTER_VALUE
|
static java.lang.String |
FILTER_VALUES
|
Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
Constructor Summary | |
CustomizeSetAction()
|
Method Summary | |
static java.util.List |
buildCategoryList(org.apache.turbine.util.RunData data,
java.lang.String mediaType,
java.util.List portlets)
Builds a list of all portlet categories |
static java.util.List |
buildInfoList(org.apache.turbine.util.RunData data,
java.lang.String regName,
java.lang.String mediaType)
|
static java.util.List |
buildList(org.apache.turbine.util.RunData data,
java.lang.String regName)
|
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 |
static java.util.List |
buildPortletList(org.apache.turbine.util.RunData data,
PortletSet set,
java.lang.String mediaType,
java.util.List allPortlets)
|
void |
doAdd(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Add new portlets in the customized set |
void |
doAddref(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Add new Reference in the customized set |
void |
doAddset(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Add a new portlets element in the customized set |
void |
doApply(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Save customizations and get out of customization state |
void |
doCancel(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Clean up the customization state |
void |
doFilter(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Adds a filter over the available portlets list based on category |
void |
doFiltercategory(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Adds a filter over the available portlets list based on category |
void |
doLayout(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Updates the customized portlet entry |
void |
doMetainfo(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Sets the metainfo for this entry |
void |
doNext(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
|
void |
doPrevious(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
|
void |
doSave(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Save the general informations for this set |
void |
doSecurity(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Set the SecuirtyRef in the PSML and the current PortletConfig using the HTML parameter "securityRef". |
void |
doSkin(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Set the skin in the PSML and the current PortletConfig using the HTML parameter "skin". |
protected SecurityReference |
getSecurityReference(org.apache.turbine.util.RunData rundata,
java.lang.String path)
Get the security reference from the outer portlet set |
int |
getSize(VelocityPortlet portlet)
|
static java.util.Map |
getUserSelections(org.apache.turbine.util.RunData data)
|
protected void |
maintainUserSelections(org.apache.turbine.util.RunData rundata)
|
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 |
executeEvents, 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 |
Field Detail |
public static final java.lang.String FILTER_FIELDS
public static final java.lang.String FILTER_VALUES
public static final java.lang.String FILTER_TYPE
public static final java.lang.String FILTER_VALUE
Constructor Detail |
public CustomizeSetAction()
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 VelocityPortletAction
java.lang.Exception
public int getSize(VelocityPortlet portlet)
public void doCancel(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context)
public void doSave(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context)
public void doApply(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context)
public void doAddset(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context)
public void doPrevious(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context) throws java.lang.Exception
java.lang.Exception
public void doNext(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context) throws java.lang.Exception
java.lang.Exception
protected void maintainUserSelections(org.apache.turbine.util.RunData rundata) throws java.lang.Exception
java.lang.Exception
public void doAdd(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context) throws java.lang.Exception
java.lang.Exception
public void doAddref(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context) throws java.lang.Exception
java.lang.Exception
protected SecurityReference getSecurityReference(org.apache.turbine.util.RunData rundata, java.lang.String path)
path
- the psml locator path
public void doMetainfo(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context)
public void doLayout(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context)
public void doSkin(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context)
public void doSecurity(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context)
public static java.util.List buildPortletList(org.apache.turbine.util.RunData data, PortletSet set, java.lang.String mediaType, java.util.List allPortlets)
public static java.util.Map getUserSelections(org.apache.turbine.util.RunData data)
public static java.util.List buildInfoList(org.apache.turbine.util.RunData data, java.lang.String regName, java.lang.String mediaType)
public static java.util.List buildList(org.apache.turbine.util.RunData data, java.lang.String regName)
public static java.util.List buildCategoryList(org.apache.turbine.util.RunData data, java.lang.String mediaType, java.util.List portlets)
public void doFiltercategory(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context) throws java.lang.Exception
java.lang.Exception
public void doFilter(org.apache.turbine.util.RunData rundata, org.apache.velocity.context.Context context) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |