com.jalios.jcms
Class RightInfo

java.lang.Object
  extended by com.jalios.jcms.RightInfo

public class RightInfo
extends Object

Provide information about right control.

Since:
jcms-7.1
Version:
$Revision$

Nested Class Summary
static class RightInfo.Explanation
           
 
Field Summary
static String REVISION
           
 
Constructor Summary
RightInfo()
           
 
Method Summary
 RightInfo.Explanation getExplanation()
           
 String getExplanationMessage(String userLang, Locale userLocale, Data data, Member mbr)
          Returns the explanation message.
 Class<? extends RightPolicyFilter> getRightPolicyFilter()
           
 void setExplanation(RightInfo.Explanation explanation)
           
 void setRightPolicyFilter(Class<? extends RightPolicyFilter> rightPolicyFilter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

RightInfo

public RightInfo()
Method Detail

getRightPolicyFilter

public Class<? extends RightPolicyFilter> getRightPolicyFilter()

setRightPolicyFilter

public void setRightPolicyFilter(Class<? extends RightPolicyFilter> rightPolicyFilter)

getExplanation

public RightInfo.Explanation getExplanation()

setExplanation

public void setExplanation(RightInfo.Explanation explanation)

getExplanationMessage

public String getExplanationMessage(String userLang,
                                    Locale userLocale,
                                    Data data,
                                    Member mbr)
Returns the explanation message.

Parameters:
userLang - the user language
userLocale - the user locale
data - the checked data
mbr - the checked member
Returns:
the explanation message.
Since:
jcms-7.1.0


Copyright © 2001-2010 Jalios SA. All Rights Reserved.