Package com.jalios.jcms
Class RightInfo
- java.lang.Object
-
- com.jalios.jcms.RightInfo
-
public class RightInfo extends java.lang.Object
Provide information about right control.- Since:
- jcms-7.1
- Version:
- $Revision: 135296 $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RightInfo.Explanation
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
REVISION
-
Constructor Summary
Constructors Constructor Description RightInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RightInfo.Explanation
getExplanation()
java.lang.String
getExplanationMessage(java.lang.String userLang, java.util.Locale userLocale, Data data, Member mbr)
Returns the explanation message.java.lang.Class<? extends RightPolicyFilter>
getRightPolicyFilter()
void
setExplanation(RightInfo.Explanation explanation)
void
setRightPolicyFilter(java.lang.Class<? extends RightPolicyFilter> rightPolicyFilter)
void
setRightPolicyFilter(java.lang.Class<? extends RightPolicyFilter> rightPolicyFilter, boolean isAuthorized)
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRightPolicyFilter
public java.lang.Class<? extends RightPolicyFilter> getRightPolicyFilter()
-
setRightPolicyFilter
public void setRightPolicyFilter(java.lang.Class<? extends RightPolicyFilter> rightPolicyFilter)
-
setRightPolicyFilter
public void setRightPolicyFilter(java.lang.Class<? extends RightPolicyFilter> rightPolicyFilter, boolean isAuthorized)
-
getExplanation
public RightInfo.Explanation getExplanation()
-
setExplanation
public void setExplanation(RightInfo.Explanation explanation)
-
getExplanationMessage
public java.lang.String getExplanationMessage(java.lang.String userLang, java.util.Locale userLocale, Data data, Member mbr)
Returns the explanation message.- Parameters:
userLang
- the user languageuserLocale
- the user localedata
- the checked datambr
- the checked member- Returns:
- the explanation message.
- Since:
- jcms-7.1.0
-
-