public abstract class AbstractRule extends Object implements Rule
| Constructor and Description |
|---|
AbstractRule() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(Object obj) |
String |
getAttribute(String strAttributeName)
Get the value of an attribute from its name
|
int |
getId()
Returns the IdRule
|
Locale |
getLocale()
Get the locale
|
String |
getRuleTypeId()
Returns the IdRuleType
|
fr.paris.lutece.portal.business.user.AdminUser |
getUser()
Gets the current user
|
void |
readAttributes(javax.servlet.http.HttpServletRequest request)
Read attributes from a request
|
void |
setAttribute(String strAttributeName,
String strAttributeValue)
Set an attribute
|
void |
setId(int nIdRule)
Sets the IdRule
|
void |
setLocale(Locale locale)
Sets the locale
|
void |
setRuleTypeId(String strIdRuleType)
Sets the IdRuleType
|
void |
setUser(fr.paris.lutece.portal.business.user.AdminUser user)
set the current user
|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, getAttributesList, getCreateForm, getNameKey, getRule, init, isAuthorized, validateRulepublic int getId()
public void setId(int nIdRule)
public String getRuleTypeId()
getRuleTypeId in interface Rulepublic void setRuleTypeId(String strIdRuleType)
setRuleTypeId in interface RulestrIdRuleType - The IdRuleTypepublic void setLocale(Locale locale)
setLocale in interface fr.paris.lutece.portal.service.i18n.Localizablelocale - The localepublic Locale getLocale()
public void setAttribute(String strAttributeName, String strAttributeValue)
setAttribute in interface RulestrAttributeName - the name of the attributestrAttributeValue - the value of the attributepublic String getAttribute(String strAttributeName)
getAttribute in interface RulestrAttributeNamethe - name of the attributepublic void readAttributes(javax.servlet.http.HttpServletRequest request)
readAttributes in interface Rulerequest - The requestpublic fr.paris.lutece.portal.business.user.AdminUser getUser()
Copyright © 2020 City of Paris. All rights reserved.