|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AttributeManager
Define the interface for attribute's specific behavior
| 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 docuemnt 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 |
getExtraParametersValues(java.util.Locale locale,
int nAttributeId)
Gets extra parameters values for the attribute |
java.lang.String |
getModifyFormHtml(DocumentAttribute attribute,
Document document,
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,
java.util.Locale locale)
Validate the value for the attribute |
java.lang.String |
validateValueParameters(java.util.List<AttributeTypeParameter> listParameters,
java.util.Locale locale)
Validate the value for the parameters |
| Method Detail |
|---|
void setAttributeTypeCode(java.lang.String strCode)
strCode - The Attribute Type Codejava.lang.String getAttributeTypeCode()
java.lang.String getCreateFormHtml(DocumentAttribute attribute,
java.util.Locale locale)
attribute - The attributelocale - The current Locale
java.lang.String getModifyFormHtml(DocumentAttribute attribute,
Document document,
java.util.Locale locale)
attribute - The attributedocument - The attribute documentlocale - The current Locale
java.lang.String getCreateParametersFormHtml(java.util.Locale locale)
locale - The current Locale
java.lang.String getModifyParametersFormHtml(java.util.Locale locale,
int nAttributeId)
locale - The current LocalenAttributeId - Attribute Id
java.util.List<AttributeTypeParameter> getExtraParameters(java.util.Locale locale)
locale - The current Locale
java.util.Collection getExtraParametersValues(java.util.Locale locale,
int nAttributeId)
locale - The current LocalenAttributeId -
java.lang.String validateValue(java.lang.String strValue,
java.util.Locale locale)
strValue - The value to checklocale - The current Locale
java.lang.String validateValueParameters(java.util.List<AttributeTypeParameter> listParameters,
java.util.Locale locale)
listParameters - The list of parameters to checklocale - The locale
java.lang.String validateValue(byte[] baValue)
baValue - The value to check
java.lang.String getAttributeXmlValue(Document document,
DocumentAttribute attribute)
document - The documentattribute - The attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||