|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.document.service.attributes.DefaultManager
public abstract class DefaultManager
Default implementation of an attribute manager
| Constructor Summary | |
|---|---|
DefaultManager()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAttributeTypeCode()
Return the attribute Type code |
java.lang.String |
getAttributeXmlValue(Document document,
DocumentAttribute attribute)
Get the XML data corresponding to the attribute to build the document XML content |
java.lang.String |
getCreateFormHtml(DocumentAttribute attribute,
java.util.Locale locale)
Gets the part of an HTML form to enter attribute data |
java.lang.String |
getCreateParametersFormHtml(java.util.Locale locale)
Gets the part of an HTML form to enter parameters data |
java.util.List<AttributeTypeParameter> |
getExtraParameters(java.util.Locale locale)
Gets extra parameters for the attribute |
java.util.Collection<AttributeTypeParameter> |
getExtraParametersValues(java.util.Locale locale,
int nAttributeId)
Gets extra parameters values for the attribute |
java.lang.String |
getModifyFormHtml(DocumentAttribute attribute,
java.util.Locale locale)
Gets the part of an HTML form to modify attribute data |
java.lang.String |
getModifyParametersFormHtml(java.util.Locale locale,
int nAttributeId)
Gets the part of an HTML form to modify parameters data |
void |
setAttributeTypeCode(java.lang.String strCode)
Define the attribute Type code |
java.lang.String |
validateValue(byte[] baValue)
Validate the value for the attribute |
java.lang.String |
validateValue(java.lang.String strValue)
Validate the value for the attribute |
java.lang.String |
validateValueParameters(java.util.List<AttributeTypeParameter> listParameters)
Validate the value for the parameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultManager()
| Method Detail |
|---|
public java.lang.String getCreateFormHtml(DocumentAttribute attribute,
java.util.Locale locale)
getCreateFormHtml in interface AttributeManagerattribute - The attributelocale - The current Locale
public java.lang.String getModifyFormHtml(DocumentAttribute attribute,
java.util.Locale locale)
getModifyFormHtml in interface AttributeManagerattribute - The attributelocale - The current Locale
public java.lang.String getCreateParametersFormHtml(java.util.Locale locale)
getCreateParametersFormHtml in interface AttributeManagerlocale - The current Locale
public java.lang.String getModifyParametersFormHtml(java.util.Locale locale,
int nAttributeId)
getModifyParametersFormHtml in interface AttributeManagerlocale - The current LocalenAttributeId - Attribute Id
public java.util.List<AttributeTypeParameter> getExtraParameters(java.util.Locale locale)
getExtraParameters in interface AttributeManagerlocale - The current Locale
public java.util.Collection<AttributeTypeParameter> getExtraParametersValues(java.util.Locale locale,
int nAttributeId)
getExtraParametersValues in interface AttributeManagerlocale - The current LocalenAttributeId -
public void setAttributeTypeCode(java.lang.String strCode)
setAttributeTypeCode in interface AttributeManagerstrCode - The Attribute Type Codepublic java.lang.String getAttributeTypeCode()
getAttributeTypeCode in interface AttributeManagerpublic java.lang.String validateValue(java.lang.String strValue)
validateValue in interface AttributeManagerstrValue - The value to check
public java.lang.String validateValueParameters(java.util.List<AttributeTypeParameter> listParameters)
validateValueParameters in interface AttributeManagerlistParameters - The list of parameters to check
public java.lang.String validateValue(byte[] baValue)
validateValue in interface AttributeManagerbaValue - The value to check
public java.lang.String getAttributeXmlValue(Document document,
DocumentAttribute attribute)
getAttributeXmlValue in interface AttributeManagerdocument - The documentattribute - The attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||