Class Rule

  • All Implemented Interfaces:
    java.io.Serializable

    public class Rule
    extends java.lang.Object
    implements java.io.Serializable
    This is the business class for the object Rule.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Rule()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBackUrl()
      Gets the back url.
      java.lang.String getDescription()
      Returns the Description.
      boolean getEnable()
      Returns the Enable.
      int getId()
      Returns the Id.
      java.lang.String getMessagetodisplay()
      Returns the Messagetodisplay.
      int getPriorityOrder()
      Gets the priority order.
      fr.paris.lutece.util.ReferenceList getProtectedUrls()
      Gets the protected urls.
      fr.paris.lutece.util.ReferenceList getPublicUrls()
      Gets the public urls.
      java.lang.String getRedirecturl()
      Returns the Redirecturl.
      fr.paris.lutece.util.ReferenceList getRoles()
      Gets the roles.
      java.lang.String getTitle()
      Returns the Title.
      boolean isEncodeBackUrl()
      Checks if is encode back url.
      boolean isExternal()
      Returns the External.
      boolean isLogoutUser()
      Returns the true if the user muset be logout.
      void setBackUrl​(java.lang.String _strBackUrlParameter)
      Sets the back url.
      void setDescription​(java.lang.String strDescription)
      Sets the Description.
      void setEnable​(boolean bEnable)
      Sets the Enable.
      void setEncodeBackUrl​(boolean _bEncodeBackUrl)
      Sets the encode back url.
      void setExternal​(boolean bExternal)
      Sets the External.
      void setId​(int nId)
      Sets the Id.
      void setLogoutUser​(boolean bLogoutUser)
      Sets Logout User.
      void setMessagetodisplay​(java.lang.String strMessagetodisplay)
      Sets the Messagetodisplay.
      void setPriorityOrder​(int _nPriorityOrder)
      Sets the priority order.
      void setProtectedUrls​(fr.paris.lutece.util.ReferenceList listProtectedUrls)
      Sets the protected urls.
      void setPublicUrls​(fr.paris.lutece.util.ReferenceList listPublicUrls)
      Sets the public urls.
      void setRedirecturl​(java.lang.String strRedirecturl)
      Sets the Redirecturl.
      void setRoles​(fr.paris.lutece.util.ReferenceList listRoles)
      Sets the roles.
      void setTitle​(java.lang.String strTitle)
      Sets the Title.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Rule

        public Rule()
    • Method Detail

      • getId

        public int getId()
        Returns the Id.
        Returns:
        The Id
      • setId

        public void setId​(int nId)
        Sets the Id.
        Parameters:
        nId - The Id
      • getTitle

        public java.lang.String getTitle()
        Returns the Title.
        Returns:
        The Title
      • setTitle

        public void setTitle​(java.lang.String strTitle)
        Sets the Title.
        Parameters:
        strTitle - The Title
      • getDescription

        public java.lang.String getDescription()
        Returns the Description.
        Returns:
        The Description
      • setDescription

        public void setDescription​(java.lang.String strDescription)
        Sets the Description.
        Parameters:
        strDescription - The Description
      • getEnable

        public boolean getEnable()
        Returns the Enable.
        Returns:
        The Enable
      • setEnable

        public void setEnable​(boolean bEnable)
        Sets the Enable.
        Parameters:
        bEnable - The Enable
      • isExternal

        public boolean isExternal()
        Returns the External.
        Returns:
        The External
      • setExternal

        public void setExternal​(boolean bExternal)
        Sets the External.
        Parameters:
        bExternal - The External
      • getMessagetodisplay

        public java.lang.String getMessagetodisplay()
        Returns the Messagetodisplay.
        Returns:
        The Messagetodisplay
      • setMessagetodisplay

        public void setMessagetodisplay​(java.lang.String strMessagetodisplay)
        Sets the Messagetodisplay.
        Parameters:
        strMessagetodisplay - The Messagetodisplay
      • getRedirecturl

        public java.lang.String getRedirecturl()
        Returns the Redirecturl.
        Returns:
        The Redirecturl
      • setRedirecturl

        public void setRedirecturl​(java.lang.String strRedirecturl)
        Sets the Redirecturl.
        Parameters:
        strRedirecturl - The Redirecturl
      • getProtectedUrls

        public fr.paris.lutece.util.ReferenceList getProtectedUrls()
        Gets the protected urls.
        Returns:
        the protected urls
      • setProtectedUrls

        public void setProtectedUrls​(fr.paris.lutece.util.ReferenceList listProtectedUrls)
        Sets the protected urls.
        Parameters:
        listProtectedUrls - the new protected urls
      • getPublicUrls

        public fr.paris.lutece.util.ReferenceList getPublicUrls()
        Gets the public urls.
        Returns:
        the public urls
      • setPublicUrls

        public void setPublicUrls​(fr.paris.lutece.util.ReferenceList listPublicUrls)
        Sets the public urls.
        Parameters:
        listPublicUrls - the new public urls
      • getRoles

        public fr.paris.lutece.util.ReferenceList getRoles()
        Gets the roles.
        Returns:
        the roles
      • setRoles

        public void setRoles​(fr.paris.lutece.util.ReferenceList listRoles)
        Sets the roles.
        Parameters:
        listRoles - the new roles
      • getBackUrl

        public java.lang.String getBackUrl()
        Gets the back url.
        Returns:
        the back url
      • setBackUrl

        public void setBackUrl​(java.lang.String _strBackUrlParameter)
        Sets the back url.
        Parameters:
        _strBackUrlParameter - the new back url
      • setLogoutUser

        public void setLogoutUser​(boolean bLogoutUser)
        Sets Logout User.
        Parameters:
        bLogoutUser - logout user
      • isLogoutUser

        public boolean isLogoutUser()
        Returns the true if the user muset be logout.
        Returns:
        true if the user muset be logout
      • getPriorityOrder

        public int getPriorityOrder()
        Gets the priority order.
        Returns:
        the priority order of teh rule
      • setPriorityOrder

        public void setPriorityOrder​(int _nPriorityOrder)
        Sets the priority order.
        Parameters:
        _nPriorityOrder - set the priority o
      • isEncodeBackUrl

        public boolean isEncodeBackUrl()
        Checks if is encode back url.
        Returns:
        true, if is encode back url
      • setEncodeBackUrl

        public void setEncodeBackUrl​(boolean _bEncodeBackUrl)
        Sets the encode back url.
        Parameters:
        _bEncodeBackUrl - the new encode back url