java.lang.Object
fr.paris.lutece.plugins.myluteceaccessrules.business.Rule
All Implemented Interfaces:
Serializable

public class Rule extends Object implements Serializable
This is the business class for the object Rule.
See Also:
  • Constructor Details

    • Rule

      public Rule()
  • Method Details

    • 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 String getTitle()
      Returns the Title.
      Returns:
      The Title
    • setTitle

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

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

      public void setDescription(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 String getMessagetodisplay()
      Returns the Messagetodisplay.
      Returns:
      The Messagetodisplay
    • setMessagetodisplay

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

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

      public void setRedirecturl(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 String getBackUrl()
      Gets the back url.
      Returns:
      the back url
    • setBackUrl

      public void setBackUrl(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