fr.paris.lutece.plugins.document.business.attributes
Class AttributeTypeDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.document.business.attributes.AttributeTypeDAO
All Implemented Interfaces:
IAttributeTypeDAO

public final class AttributeTypeDAO
extends java.lang.Object
implements IAttributeTypeDAO

This class provides Data Access methods for DocumentAttributeType objects


Constructor Summary
AttributeTypeDAO()
           
 
Method Summary
 void delete(AttributeType documentAttributeType)
          Delete a record from the table
 fr.paris.lutece.util.ReferenceList getAttributeManagersList()
          Gets attributes managers list
 void insert(AttributeType documentAttributeType)
          Insert a new record in the table.
 AttributeType load(int nDocumentAttributeTypeId)
          Load the data of DocumentAttributeType from the table
 fr.paris.lutece.util.ReferenceList selectAttributeTypeList(java.util.Locale locale)
          Load the list of Attribute Types
 java.util.List<AttributeTypeParameter> selectAttributeTypeParameterList(java.lang.String strAttributeTypeCode)
          Load the list of attributeTypeParameters
 java.util.Collection<AttributeType> selectDocumentAttributeTypeList()
          Load the list of documentAttributeTypes
 void store(AttributeType documentAttributeType)
          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

AttributeTypeDAO

public AttributeTypeDAO()
Method Detail

insert

public void insert(AttributeType documentAttributeType)
Insert a new record in the table.

Specified by:
insert in interface IAttributeTypeDAO
Parameters:
documentAttributeType - The documentAttributeType object

load

public AttributeType load(int nDocumentAttributeTypeId)
Load the data of DocumentAttributeType from the table

Specified by:
load in interface IAttributeTypeDAO
Parameters:
nDocumentAttributeTypeId - The identifier of DocumentAttributeType
Returns:
the instance of the DocumentAttributeType

delete

public void delete(AttributeType documentAttributeType)
Delete a record from the table

Specified by:
delete in interface IAttributeTypeDAO
Parameters:
documentAttributeType - The DocumentAttributeType object

store

public void store(AttributeType documentAttributeType)
Update the record in the table

Specified by:
store in interface IAttributeTypeDAO
Parameters:
documentAttributeType - The reference of documentAttributeType

selectDocumentAttributeTypeList

public java.util.Collection<AttributeType> selectDocumentAttributeTypeList()
Load the list of documentAttributeTypes

Specified by:
selectDocumentAttributeTypeList in interface IAttributeTypeDAO
Returns:
The Collection of the DocumentAttributeTypes

selectAttributeTypeList

public fr.paris.lutece.util.ReferenceList selectAttributeTypeList(java.util.Locale locale)
Load the list of Attribute Types

Specified by:
selectAttributeTypeList in interface IAttributeTypeDAO
Parameters:
locale -
Returns:
The Collection of the DocumentAttributeTypes

getAttributeManagersList

public fr.paris.lutece.util.ReferenceList getAttributeManagersList()
Gets attributes managers list

Specified by:
getAttributeManagersList in interface IAttributeTypeDAO
Returns:
The list of attribute managers

selectAttributeTypeParameterList

public java.util.List<AttributeTypeParameter> selectAttributeTypeParameterList(java.lang.String strAttributeTypeCode)
Load the list of attributeTypeParameters

Specified by:
selectAttributeTypeParameterList in interface IAttributeTypeDAO
Parameters:
strAttributeTypeCode -
Returns:
The Collection of the AttributeTypeParameters


Copyright © 2010 Mairie de Paris. All Rights Reserved.