|
||||||||||
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
Constructor Summary | |
---|---|
AbstractRule()
|
Method Summary | |
---|---|
java.lang.String |
getAttribute(java.lang.String strAttributeName)
Gets a specific attribute by its name |
int |
getId()
Returns the IdRule |
java.util.Locale |
getLocale()
|
java.lang.String |
getRuleTypeId()
Returns the IdRuleType |
void |
readAttributes(javax.servlet.http.HttpServletRequest request)
Reads rule attributes |
void |
setAttribute(java.lang.String strAttributeName,
java.lang.String strAttributeValue)
Sets a specific rule attribute |
void |
setId(int nIdRule)
Sets the IdRule |
void |
setLocale(java.util.Locale locale)
Sets the locale |
void |
setRuleTypeId(java.lang.String strIdRuleType)
Sets the IdRuleType |
Methods inherited from class java.lang.Object |
---|
clone, equals, 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 |
Constructor Detail |
---|
public AbstractRule()
Method Detail |
---|
public int getId()
getId
in interface Rule
public void setId(int nIdRule)
setId
in interface Rule
nIdRule
- The IdRulepublic java.lang.String getRuleTypeId()
getRuleTypeId
in interface Rule
public void setRuleTypeId(java.lang.String strIdRuleType)
setRuleTypeId
in interface Rule
strIdRuleType
- The IdRuleTypepublic void setLocale(java.util.Locale locale)
setLocale
in interface fr.paris.lutece.portal.service.i18n.Localizable
locale
- The localepublic java.util.Locale getLocale()
public void setAttribute(java.lang.String strAttributeName, java.lang.String strAttributeValue)
Rule
setAttribute
in interface Rule
strAttributeName
- strAttributeValue
- public java.lang.String getAttribute(java.lang.String strAttributeName)
Rule
getAttribute
in interface Rule
strAttributeName
-
public void readAttributes(javax.servlet.http.HttpServletRequest request)
Rule
readAttributes
in interface Rule
request
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |