Class Rule
java.lang.Object
fr.paris.lutece.plugins.myluteceaccessrules.business.Rule
- All Implemented Interfaces:
Serializable
This is the business class for the object Rule.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the back url.Returns the Description.booleanReturns the Enable.intgetId()Returns the Id.Returns the Messagetodisplay.intGets the priority order.fr.paris.lutece.util.ReferenceListGets the protected urls.fr.paris.lutece.util.ReferenceListGets the public urls.Returns the Redirecturl.fr.paris.lutece.util.ReferenceListgetRoles()Gets the roles.getTitle()Returns the Title.booleanChecks if is encode back url.booleanReturns the External.booleanReturns the true if the user muset be logout.voidsetBackUrl(String _strBackUrlParameter) Sets the back url.voidsetDescription(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(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(String strRedirecturl) Sets the Redirecturl.voidsetRoles(fr.paris.lutece.util.ReferenceList listRoles) Sets the roles.voidSets the Title.
-
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
Returns the Title.- Returns:
- The Title
-
setTitle
Sets the Title.- Parameters:
strTitle- The Title
-
getDescription
Returns the Description.- Returns:
- The Description
-
setDescription
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
Returns the Messagetodisplay.- Returns:
- The Messagetodisplay
-
setMessagetodisplay
Sets the Messagetodisplay.- Parameters:
strMessagetodisplay- The Messagetodisplay
-
getRedirecturl
Returns the Redirecturl.- Returns:
- The Redirecturl
-
setRedirecturl
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
Gets the back url.- Returns:
- the back url
-
setBackUrl
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
-