|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jalios.jcms.context.JcmsContext
com.jalios.jcms.context.JcmsJspContext
com.jalios.jcms.handler.JcmsFormHandler
com.jalios.jcms.handler.CheckRightsHandler
public class CheckRightsHandler
Field Summary | |
---|---|
static String |
CAN_DELETE_OTHER
|
static String |
CAN_READ
|
static String |
CAN_WORK_ON
|
static String |
REVISION
|
Fields inherited from class com.jalios.jcms.handler.JcmsFormHandler |
---|
contextMap, editFieldSet, noRedirect, noSendRedirect, popupEdition, redirect, redirectOnClosePopup, workspaceForced |
Fields inherited from class com.jalios.jcms.context.JcmsJspContext |
---|
AJAX_REQUEST_ATTRIBUTES, BODY_HEADER, CSS_HEADER, cssboMap, cssfoMap, CUSTOM_HEADER, editIcon, HTTPEQUIV_HEADER, httpequivMap, HTTPNAME_HEADER, httpnameMap, initEditIcon, JAVASCRIPT_CODE_SET_ATTRIBUTE, JAVASCRIPT_SET_ATTRIBUTE, jsboSet, jsfoSet, out, pageContext, SHOW_EDIT_ICON, STYLE_HEADER |
Fields inherited from class com.jalios.jcms.context.JcmsContext |
---|
browser, caddy, channel, inFO, initDone, initWorkspace, isAdmin, isAjaxRequest, isDBMember, isDebug, isLogged, loggedMember, request, response, userCountry, userLang, userLocale, workspace |
Fields inherited from interface com.jalios.util.JaliosConstants |
---|
CRLF, MILLIS_IN_ONE_DAY, MILLIS_IN_ONE_HOUR, MILLIS_IN_ONE_MINUTE, MILLIS_IN_ONE_MONTH, MILLIS_IN_ONE_SECOND, MILLIS_IN_ONE_WEEK, MILLIS_IN_ONE_YEAR |
Constructor Summary | |
---|---|
CheckRightsHandler()
|
Method Summary | |
---|---|
Data |
getAvailableData()
|
Member |
getAvailableMember()
|
String |
getAvailableRight()
|
RightInfo |
getRightInfo()
|
String |
getRightLabel(String rc)
|
List<String> |
getRightList()
|
protected void |
init()
Method to implement if you need to initialize your handler from parameter received, prior to all security validation. |
boolean |
isAuthorized()
|
boolean |
processAction()
Method to be implemented to check/validate action to be performed and process them. |
void |
setData(String v)
|
void |
setMember(String v)
|
void |
setOpCheck(boolean opCheck)
|
void |
setRight(String v)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
public static final String CAN_READ
public static final String CAN_WORK_ON
public static final String CAN_DELETE_OTHER
Constructor Detail |
---|
public CheckRightsHandler()
Method Detail |
---|
public boolean processAction() throws IOException
JcmsFormHandler
Default implementation is to return false. No need to call super method.
This method may NOT be invoked at all if security validation are not met.
You must ensure your handler and JSP can work properly without any code invoked
in this method.
processAction
in class JcmsFormHandler
IOException
protected void init()
JcmsFormHandler
You must absolutely not perform any action which modify data or site configuration.
Therefore it is strongly recommend NOT TO implement this method, or use very wisely.
init
in class JcmsFormHandler
public List<String> getRightList()
public String getRightLabel(String rc)
public boolean isAuthorized()
public RightInfo getRightInfo()
public void setOpCheck(boolean opCheck)
public void setMember(String v)
public Member getAvailableMember()
public void setData(String v)
public Data getAvailableData()
public void setRight(String v)
public String getAvailableRight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |