|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.document.business.attributes.DocumentAttributeHome
public final class DocumentAttributeHome
This class provides instances management methods (create, find, ...) for DocumentAttribute objects
Method Summary | |
---|---|
static DocumentAttribute |
create(DocumentAttribute documentAttribute)
Creation of an instance of documentAttribute |
static void |
deleteRegularExpression(int nIdAttribute,
int nIdExpression)
Deletes a regular expression in the attribute |
static DocumentAttribute |
findByPrimaryKey(int nKey)
Returns an instance of a documentAttribute whose identifier is specified in parameter |
static java.util.Collection<AttributeTypeParameter> |
getAttributeParametersValues(int nAttributeId,
java.util.Locale locale)
|
static java.util.List<java.lang.String> |
getAttributeParameterValues(int nAttributeId,
java.lang.String strParameterName)
|
static java.util.Collection<java.lang.Integer> |
getListRegularExpressionKeyByIdAttribute(int nIdAttribute)
Loads all regular expression key associated to the attribute and returns them into a collection |
static void |
insertRegularExpression(int nIdAttribute,
int nIdExpression)
Inserts a regular expression in the attribute |
static void |
remove(int nAttributeId)
Remove the DocumentAttribute whose identifier is specified in parameter |
static void |
setDocumentTypeAttributes(DocumentType documentType)
Returns a collection of documentAttributes objects |
static DocumentAttribute |
update(DocumentAttribute documentAttribute)
Update of the documentAttribute which is specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DocumentAttribute create(DocumentAttribute documentAttribute)
documentAttribute
- The instance of the documentAttribute which contains the informations to store
public static DocumentAttribute update(DocumentAttribute documentAttribute)
documentAttribute
- The instance of the documentAttribute which contains the data to store
public static void remove(int nAttributeId)
nAttributeId
- public static DocumentAttribute findByPrimaryKey(int nKey)
nKey
- The Primary key of the documentAttribute
public static void setDocumentTypeAttributes(DocumentType documentType)
documentType
- public static java.util.Collection<AttributeTypeParameter> getAttributeParametersValues(int nAttributeId, java.util.Locale locale)
nAttributeId
- locale
-
public static java.util.List<java.lang.String> getAttributeParameterValues(int nAttributeId, java.lang.String strParameterName)
nAttributeId
- strParameterName
-
public static void insertRegularExpression(int nIdAttribute, int nIdExpression)
nIdAttribute
- The identifier of the document attributenIdExpression
- The identifier of the regular expressionpublic static void deleteRegularExpression(int nIdAttribute, int nIdExpression)
nIdAttribute
- The identifier of the document attributenIdExpression
- The identifier of the regular expressionpublic static java.util.Collection<java.lang.Integer> getListRegularExpressionKeyByIdAttribute(int nIdAttribute)
nIdAttribute
- The identifier of the document attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |