|
||||||||||
| 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 Collection<AttributeTypeParameter> |
getAttributeParametersValues(int nAttributeId,
Locale locale)
Get the attribute type parameters of an attribute |
static List<String> |
getAttributeParameterValues(int nAttributeId,
String strParameterName)
Get the list of values of a parameters of an attribute |
static Collection<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 List<DocumentAttribute> |
selectAllAttributesOfDocumentType(String codeDocumentType)
Get all attributes of document type |
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 - The id of the attributepublic static DocumentAttribute findByPrimaryKey(int nKey)
nKey - The Primary key of the documentAttribute
public static void setDocumentTypeAttributes(DocumentType documentType)
documentType - The document typepublic static List<DocumentAttribute> selectAllAttributesOfDocumentType(String codeDocumentType)
codeDocumentType - The code document Type
public static Collection<AttributeTypeParameter> getAttributeParametersValues(int nAttributeId,
Locale locale)
nAttributeId - The id of the attribute to get the parameter oflocale - The locale
public static List<String> getAttributeParameterValues(int nAttributeId,
String strParameterName)
nAttributeId - The id of the attributestrParameterName - The name of the parameter
public static void insertRegularExpression(int nIdAttribute,
int nIdExpression)
nIdAttribute - The identifier of the document attributenIdExpression - The identifier of the regular expression
public static void deleteRegularExpression(int nIdAttribute,
int nIdExpression)
nIdAttribute - The identifier of the document attributenIdExpression - The identifier of the regular expressionpublic static Collection<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 | |||||||||