public interface IDocumentAttributeDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nAttributeId)
Delete a record from the table
|
void |
deleteRegularExpression(int nIdAttribute,
int nIdExpression)
Deletes an association between an attribute and a regular expression
|
List<String> |
getAttributeParameterValues(int nAttributeId,
String strParameterName)
Returns the parameter values of an attribute
|
void |
insert(DocumentAttribute documentAttribute)
Insert a new record in the table.
|
void |
insertRegularExpression(int nIdAttribute,
int nIdExpression)
Inserts an association between an attribute and a regular expression
|
DocumentAttribute |
load(int nAttributeId)
Load the data of DocumentAttribute from the table
|
List<DocumentAttribute> |
selectAllAttributesOfDocumentType(String codeDocumentType)
Get all attributes of document type
|
List<AttributeTypeParameter> |
selectAttributeParametersValues(int nAttributeId)
Gets Attribute parameters values
|
void |
selectAttributesByDocumentType(DocumentType documentType)
Add attributes to a document
|
Collection<Integer> |
selectListRegularExpressionKeyByIdAttribute(int nIdAttribute)
Loads all regular expression key associated to the attribute and returns them into a collection
|
void |
store(DocumentAttribute documentAttribute)
Update the record in the table
|
void delete(int nAttributeId)
nAttributeId
- The DocumentAttribute IdList<String> getAttributeParameterValues(int nAttributeId, String strParameterName)
nAttributeId
- The attribute IdstrParameterName
- The parameter namevoid insert(DocumentAttribute documentAttribute)
documentAttribute
- The documentAttribute objectDocumentAttribute load(int nAttributeId)
nAttributeId
- The attribute IdList<AttributeTypeParameter> selectAttributeParametersValues(int nAttributeId)
nAttributeId
- The attribute Idvoid selectAttributesByDocumentType(DocumentType documentType)
documentType
- The document TypeList<DocumentAttribute> selectAllAttributesOfDocumentType(String codeDocumentType)
codeDocumentType
- The code document Typevoid store(DocumentAttribute documentAttribute)
documentAttribute
- The document attributevoid insertRegularExpression(int nIdAttribute, int nIdExpression)
nIdAttribute
- The identifier of the document attributenIdExpression
- The identifier of the regular expressionvoid deleteRegularExpression(int nIdAttribute, int nIdExpression)
nIdAttribute
- The identifier of the document attributenIdExpression
- The identifier of the regular expressionCollection<Integer> selectListRegularExpressionKeyByIdAttribute(int nIdAttribute)
nIdAttribute
- The identifier of the document attributeCopyright © 2020 City of Paris. All rights reserved.