Class Rule
- java.lang.Object
-
- fr.paris.lutece.plugins.myluteceaccessrules.business.Rule
-
- All Implemented Interfaces:
java.io.Serializable
public class Rule extends java.lang.Object implements java.io.SerializableThis 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.StringgetBackUrl()Gets the back url.java.lang.StringgetDescription()Returns the Description.booleangetEnable()Returns the Enable.intgetId()Returns the Id.java.lang.StringgetMessagetodisplay()Returns the Messagetodisplay.intgetPriorityOrder()Gets the priority order.fr.paris.lutece.util.ReferenceListgetProtectedUrls()Gets the protected urls.fr.paris.lutece.util.ReferenceListgetPublicUrls()Gets the public urls.java.lang.StringgetRedirecturl()Returns the Redirecturl.fr.paris.lutece.util.ReferenceListgetRoles()Gets the roles.java.lang.StringgetTitle()Returns the Title.booleanisEncodeBackUrl()Checks if is encode back url.booleanisExternal()Returns the External.booleanisLogoutUser()Returns the true if the user muset be logout.voidsetBackUrl(java.lang.String _strBackUrlParameter)Sets the back url.voidsetDescription(java.lang.String strDescription)Sets the Description.voidsetEnable(boolean bEnable)Sets the Enable.voidsetEncodeBackUrl(boolean _bEncodeBackUrl)Sets the encode back url.voidsetExternal(boolean bExternal)Sets the External.voidsetId(int nId)Sets the Id.voidsetLogoutUser(boolean bLogoutUser)Sets Logout User.voidsetMessagetodisplay(java.lang.String strMessagetodisplay)Sets the Messagetodisplay.voidsetPriorityOrder(int _nPriorityOrder)Sets the priority order.voidsetProtectedUrls(fr.paris.lutece.util.ReferenceList listProtectedUrls)Sets the protected urls.voidsetPublicUrls(fr.paris.lutece.util.ReferenceList listPublicUrls)Sets the public urls.voidsetRedirecturl(java.lang.String strRedirecturl)Sets the Redirecturl.voidsetRoles(fr.paris.lutece.util.ReferenceList listRoles)Sets the roles.voidsetTitle(java.lang.String strTitle)Sets the Title.
-
-
-
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
-
-