public final class DocumentTypeDAO extends Object implements IDocumentTypeDAO
| Constructor and Description |
|---|
DocumentTypeDAO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkDocuments(String strCode)
Check if type has document
|
void |
delete(String strCode)
Delete a record from the table
|
fr.paris.lutece.util.ReferenceList |
getDocumentTypeList()
Load the Referencelist of documentTypes
|
void |
insert(DocumentType documentType)
Insert a new record in the table.
|
DocumentType |
load(String strDocumentTypeCode)
Load the data of DocumentType from the table
|
void |
reorderAttributes(int nIdAttribute1,
int nOrderAttribute1,
int nIdAttribute2,
int nOrderAttribute2)
Reorder attributes
|
Collection<DocumentType> |
selectDocumentTypeList()
Load the list of documentTypes
|
void |
setAdminStyleSheet(byte[] baXslAdmin,
String strCodeType)
Sets the admin stylesheet
|
void |
setContentStyleSheet(byte[] baXslContent,
String strCodeType)
Sets the content service stylesheet
|
void |
store(DocumentType documentType)
Update the record in the table
|
public void insert(DocumentType documentType)
insert in interface IDocumentTypeDAOdocumentType - The documentType objectpublic DocumentType load(String strDocumentTypeCode)
load in interface IDocumentTypeDAOstrDocumentTypeCode - the codepublic void delete(String strCode)
delete in interface IDocumentTypeDAOstrCode - the code typepublic void store(DocumentType documentType)
store in interface IDocumentTypeDAOdocumentType - The reference of documentTypepublic Collection<DocumentType> selectDocumentTypeList()
selectDocumentTypeList in interface IDocumentTypeDAOpublic fr.paris.lutece.util.ReferenceList getDocumentTypeList()
getDocumentTypeList in interface IDocumentTypeDAOpublic boolean checkDocuments(String strCode)
IDocumentTypeDAOcheckDocuments in interface IDocumentTypeDAOstrCode - The code typepublic void reorderAttributes(int nIdAttribute1,
int nOrderAttribute1,
int nIdAttribute2,
int nOrderAttribute2)
IDocumentTypeDAOreorderAttributes in interface IDocumentTypeDAOnIdAttribute1 - the attribute ordernOrderAttribute1 - the attribute ordernIdAttribute2 - the attribute ordernOrderAttribute2 - the attribute orderpublic void setAdminStyleSheet(byte[] baXslAdmin,
String strCodeType)
setAdminStyleSheet in interface IDocumentTypeDAObaXslAdmin - The stylesheetstrCodeType - The code typepublic void setContentStyleSheet(byte[] baXslContent,
String strCodeType)
setContentStyleSheet in interface IDocumentTypeDAObaXslContent - The stylesheetstrCodeType - The code typeCopyright © 2020 City of Paris. All rights reserved.