fr.paris.lutece.plugins.document.business.attributes
Interface IDocumentAttributeDAO

All Known Implementing Classes:
DocumentAttributeDAO

public interface IDocumentAttributeDAO

DocumentAttribute Interface


Method Summary
 void delete(int nAttributeId)
          Delete a record from the table
 java.lang.String getAttributeParameterValue(int nAttributeId, java.lang.String strParameterName)
          Returns the parameter value of an attribute
 void insert(DocumentAttribute documentAttribute)
          Insert a new record in the table.
 DocumentAttribute load(int nAttributeId)
          Load the data of DocumentAttribute from the table
 java.util.List<AttributeTypeParameter> selectAttributeParametersValues(int nAttributeId)
          Gets Attribute parameters values
 void selectAttributesByDocumentType(DocumentType documentType)
          Add attributes to a document
 void store(DocumentAttribute documentAttribute)
          Update the record in the table
 

Method Detail

delete

void delete(int nAttributeId)
Delete a record from the table

Parameters:
nAttributeId - The DocumentAttribute Id

getAttributeParameterValue

java.lang.String getAttributeParameterValue(int nAttributeId,
                                            java.lang.String strParameterName)
Returns the parameter value of an attribute

Parameters:
nAttributeId - The attribute Id
strParameterName - The parameter name
Returns:
The parameter value of an attribute

insert

void insert(DocumentAttribute documentAttribute)
Insert a new record in the table.

Parameters:
documentAttribute - The documentAttribute object

load

DocumentAttribute load(int nAttributeId)
Load the data of DocumentAttribute from the table

Parameters:
nAttributeId - The attribute Id
Returns:
the instance of the DocumentAttribute

selectAttributeParametersValues

java.util.List<AttributeTypeParameter> selectAttributeParametersValues(int nAttributeId)
Gets Attribute parameters values

Parameters:
nAttributeId - The attribute Id
Returns:
List of attribute parameters values

selectAttributesByDocumentType

void selectAttributesByDocumentType(DocumentType documentType)
Add attributes to a document

Parameters:
documentType - The document Type

store

void store(DocumentAttribute documentAttribute)
Update the record in the table

Parameters:
documentAttribute - The document attribute


Copyright © 2007 Mairie de Paris. All Rights Reserved.