|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.document.business.rules.AbstractRule
public abstract class AbstractRule
Default implementation of a rule
| Constructor Summary | |
|---|---|
AbstractRule()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fr.paris.lutece.plugins.document.business.rules.Rule |
|---|
apply, getAttributesList, getCreateForm, getNameKey, getRule, init, isAuthorized, validateRule |
| Constructor Detail |
|---|
public AbstractRule()
| Method Detail |
|---|
public int getId()
getId in interface Rulepublic void setId(int nIdRule)
setId in interface RulenIdRule - The IdRulepublic 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 attribute
public void readAttributes(javax.servlet.http.HttpServletRequest request)
readAttributes in interface Rulerequest - The requestpublic abstract boolean equals(Object obj)
equals in class Objectpublic fr.paris.lutece.portal.business.user.AdminUser getUser()
getUser in interface Rulepublic void setUser(fr.paris.lutece.portal.business.user.AdminUser user)
setUser in interface Ruleuser - the current user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||