Class RightInfo


  • public class RightInfo
    extends java.lang.Object
    Provide information about right control.
    Since:
    jcms-7.1
    Version:
    $Revision: 135296 $
    • Constructor Detail

      • RightInfo

        public RightInfo()
    • 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)
      • 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 language
        userLocale - the user locale
        data - the checked data
        mbr - the checked member
        Returns:
        the explanation message.
        Since:
        jcms-7.1.0