|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.toolkit.server.base.WcmDpContainer
com.filenet.wcm.toolkit.server.base.WcmModule
com.filenet.wcm.toolkit.server.base.GlobalEventModule
com.filenet.wcm.toolkit.server.base.WcmUiModule
com.filenet.wcm.apps.server.ui.WcmSecurityPolicyModule
Field Summary | |
static int |
HIDE
|
static int |
MODIFY
|
static int |
READ_ONLY
|
static com.filenet.wcm.toolkit.util.WcmString |
wsAssignPolicy
|
static com.filenet.wcm.toolkit.util.WcmString |
wsNotDefined
|
static com.filenet.wcm.toolkit.util.WcmString |
wsNotSelected
|
static com.filenet.wcm.toolkit.util.WcmString |
wsSecurityPolicy
|
static com.filenet.wcm.toolkit.util.WcmString |
wsUnAssignPolicy
|
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule |
locale, NAME_DELIMITER |
Constructor Summary | |
WcmSecurityPolicyModule()
Create a new WcmSecurityPolicyModule object for displaying the security policy. |
|
WcmSecurityPolicyModule(int mode)
Constructor sets the WcmSecurityPolicyModule mode to one of the static int mode values. |
|
WcmSecurityPolicyModule(int mode,
boolean multiAction,
java.lang.String objStoreName)
Constructor sets the WcmSecurityPolicyModule mode to one of the static int mode values. |
Method Summary | |
void |
cleanup()
Cleans up session data to reduce resource usage. |
int |
getMode()
Returns the WcmSecurityPolicyModule mode. |
java.lang.String |
getSecurityPolicyId()
Gets the selected Policy Id. |
java.lang.String |
getSecurityPolicyName()
Gets the selected Policy Name. |
void |
initialize()
Initializes the WcmSecurityPolicyModule class. |
void |
onSelectPolicy(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Select Policy event handler. |
void |
onStartPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
onUnAssignPolicy(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Unassign Policy event handler. |
void |
render(java.io.Writer w)
Renders the WcmSecurityPolicyModule in HTML. |
void |
setMode(int mode)
Sets the WcmSecurityPolicyModule mode to one of the static int mode values. |
void |
setSecurityPolicyId(java.lang.String securityPolicyId)
Sets the selected Policy Id into module properties. |
void |
setSecurityPolicyName(java.lang.String securityPolicyName)
Sets the selected Policy Name into module properties. |
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmUiModule |
getActive, getBasePath, getBaseUrl, getBaseURLBuilder, getControllerEventUrl, getControllerEventUrl, getEventFormFields, getEventFormFields, getEventFormTag, getEventFormTag, getEventUrl, getEventUrl, getEventUrl, getEventUrl, getFormName, getFormSubmitUrl, getFormSubmitUrl, getGlobalEventUrl, getGlobalEventUrl, getPageUrl, getPageUrl, getPageUrl, getPageUrl, getUiParent, peekEvent, renderJSP, routeEvent, routeEvent, serverSideInclude, serverSideInclude, setActive, setJSP |
Methods inherited from class com.filenet.wcm.toolkit.server.base.GlobalEventModule |
subscribeGlobalEvent |
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmModule |
addChild, addChild, addChild, debugTrace, getClassProperty, getClassProperty, getClassPropertyKeys, getConfiguration, getController, getDataStore, getModuleProperty, getModuleProperty, getModuleProperty, getModuleProperty, getModulePropertyKeys, getName, getParent, getWindowProperty, getWindowProperty, persist, queryDataProvider, setClassProperty, setClassProperty, setController, setModuleProperty, setModuleProperty, setName, setParent, setPortletParent, setWindowProperty |
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmDpContainer |
addDataProvider, addDataProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface |
addDataProvider, getDataStore, getModuleProperty, getName, getParent, persist, queryDataProvider, setController, setModuleProperty, setName, setParent |
Field Detail |
public static final com.filenet.wcm.toolkit.util.WcmString wsSecurityPolicy
public static final com.filenet.wcm.toolkit.util.WcmString wsNotDefined
public static final com.filenet.wcm.toolkit.util.WcmString wsNotSelected
public static final com.filenet.wcm.toolkit.util.WcmString wsAssignPolicy
public static final com.filenet.wcm.toolkit.util.WcmString wsUnAssignPolicy
public static final int MODIFY
public static final int READ_ONLY
public static final int HIDE
Constructor Detail |
public WcmSecurityPolicyModule() throws java.lang.Exception
public WcmSecurityPolicyModule(int mode) throws java.lang.Exception
mode
- int specifying the operation mode.public WcmSecurityPolicyModule(int mode, boolean multiAction, java.lang.String objStoreName) throws java.lang.Exception
mode
- int specifying the operation mode.multiAction
- boolean true to use it in a multi action setttings.Method Detail |
public void initialize() throws java.lang.Exception
java.lang.Exception
public void onStartPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.Exception
public void render(java.io.Writer w) throws java.lang.Exception
w
- Writer object to write the output to.
java.lang.Exception
- All errors.public void onSelectPolicy(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- Request object.response
- Response object.
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.public void onUnAssignPolicy(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- Request object.response
- Response object.
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.public void setSecurityPolicyId(java.lang.String securityPolicyId) throws java.lang.Exception
securityPolicyId
- String security policy id.
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.public java.lang.String getSecurityPolicyId() throws java.lang.Exception
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.public void setSecurityPolicyName(java.lang.String securityPolicyName) throws java.lang.Exception
securityPolicyName
- String security policy name.
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.public java.lang.String getSecurityPolicyName() throws java.lang.Exception
java.lang.Exception
- If there are problems retrieving data or an invalid parameter.public void cleanup() throws java.lang.Exception
java.lang.Exception
- All errors.public void setMode(int mode)
mode
- int specifying the operation mode.public int getMode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |