|
||||||||||
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.DocumentAttributeDAO
public final class DocumentAttributeDAO
This class provides Data Access methods for DocumentAttribute objects
Constructor Summary | |
---|---|
DocumentAttributeDAO()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentAttributeDAO()
Method Detail |
---|
public void insert(DocumentAttribute documentAttribute)
insert
in interface IDocumentAttributeDAO
documentAttribute
- The documentAttribute objectpublic DocumentAttribute load(int nAttributeId)
load
in interface IDocumentAttributeDAO
nAttributeId
- The attribute Id
public void delete(int nAttributeId)
delete
in interface IDocumentAttributeDAO
nAttributeId
- The DocumentAttribute Idpublic void store(DocumentAttribute documentAttribute)
store
in interface IDocumentAttributeDAO
documentAttribute
- The document attributepublic void selectAttributesByDocumentType(DocumentType documentType)
selectAttributesByDocumentType
in interface IDocumentAttributeDAO
documentType
- The document Typepublic java.util.List<AttributeTypeParameter> selectAttributeParametersValues(int nAttributeId)
selectAttributeParametersValues
in interface IDocumentAttributeDAO
nAttributeId
- The attribute Id
public java.lang.String getAttributeParameterValue(int nAttributeId, java.lang.String strParameterName)
getAttributeParameterValue
in interface IDocumentAttributeDAO
nAttributeId
- The attribute IdstrParameterName
- The parameter name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |