Interface IDocumentTypeDAO
-
- All Known Implementing Classes:
DocumentTypeDAO
public interface IDocumentTypeDAOInterface for DocumentType DAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckDocuments(String strCode)Check if type has documentvoiddelete(String strCode)Delete a record from the tablefr.paris.lutece.util.ReferenceListgetDocumentTypeList()Load the Referencelist of documentTypesvoidinsert(DocumentType documentType)Insert a new record in the table.DocumentTypeload(String strDocumentTypeCode)Load the data of DocumentType from the tablevoidreorderAttributes(int nIdAttribute1, int nOrderAttribute1, int nIdAttribute2, int nOrderAttribute2)Reorder attributesCollection<DocumentType>selectDocumentTypeList()Load the list of documentTypesvoidsetAdminStyleSheet(byte[] baXslAdmin, String strCodeType)Sets the admin stylesheetvoidsetContentStyleSheet(byte[] baXslContent, String strCodeType)Sets the content service stylesheetvoidstore(DocumentType documentType)Update the record in the table
-
-
-
Method Detail
-
checkDocuments
boolean checkDocuments(String strCode)
Check if type has document- Parameters:
strCode- The code type- Returns:
- bCheck the boolean
-
delete
void delete(String strCode)
Delete a record from the table- Parameters:
strCode- the code type
-
getDocumentTypeList
fr.paris.lutece.util.ReferenceList getDocumentTypeList()
Load the Referencelist of documentTypes- Returns:
- listDocumentTypes
-
insert
void insert(DocumentType documentType)
Insert a new record in the table.- Parameters:
documentType- The documentType object
-
load
DocumentType load(String strDocumentTypeCode)
Load the data of DocumentType from the table- Parameters:
strDocumentTypeCode- the code- Returns:
- the instance of the DocumentType
-
reorderAttributes
void reorderAttributes(int nIdAttribute1, int nOrderAttribute1, int nIdAttribute2, int nOrderAttribute2)Reorder attributes- Parameters:
nIdAttribute1- the attribute ordernOrderAttribute1- the attribute ordernIdAttribute2- the attribute ordernOrderAttribute2- the attribute order
-
selectDocumentTypeList
Collection<DocumentType> selectDocumentTypeList()
Load the list of documentTypes- Returns:
- The Collection of the DocumentTypes
-
store
void store(DocumentType documentType)
Update the record in the table- Parameters:
documentType- The reference of documentType
-
setAdminStyleSheet
void setAdminStyleSheet(byte[] baXslAdmin, String strCodeType)Sets the admin stylesheet- Parameters:
baXslAdmin- The stylesheetstrCodeType- The code type
-
setContentStyleSheet
void setContentStyleSheet(byte[] baXslContent, String strCodeType)Sets the content service stylesheet- Parameters:
baXslContent- The stylesheetstrCodeType- The code type
-
-