|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDocumentTypeDAO
Interface for DocumentType DAO
Method Summary | |
---|---|
boolean |
checkDocuments(java.lang.String strCode)
Check if type has document |
void |
delete(java.lang.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(java.lang.String strDocumentTypeCode)
Load the data of DocumentType from the table |
void |
reorderAttributes(int nIdAttribute1,
int nOrderAttribute1,
int nIdAttribute2,
int nOrderAttribute2)
Reorder attributes |
java.util.Collection<DocumentType> |
selectDocumentTypeList()
Load the list of documentTypes |
void |
setAdminStyleSheet(byte[] baXslAdmin,
java.lang.String strCodeType)
Sets the admin stylesheet |
void |
setContentStyleSheet(byte[] baXslContent,
java.lang.String strCodeType)
Sets the content service stylesheet |
void |
store(DocumentType documentType)
Update the record in the table |
Method Detail |
---|
boolean checkDocuments(java.lang.String strCode)
strCode
- The code type
void delete(java.lang.String strCode)
strCode
- the code typefr.paris.lutece.util.ReferenceList getDocumentTypeList()
void insert(DocumentType documentType)
documentType
- The documentType objectDocumentType load(java.lang.String strDocumentTypeCode)
strDocumentTypeCode
- the code
void reorderAttributes(int nIdAttribute1, int nOrderAttribute1, int nIdAttribute2, int nOrderAttribute2)
nIdAttribute1
- the attribute ordernOrderAttribute1
- the attribute ordernIdAttribute2
- the attribute ordernOrderAttribute2
- the attribute orderjava.util.Collection<DocumentType> selectDocumentTypeList()
void store(DocumentType documentType)
documentType
- The reference of documentTypevoid setAdminStyleSheet(byte[] baXslAdmin, java.lang.String strCodeType)
baXslAdmin
- The stylesheetstrCodeType
- The code typevoid setContentStyleSheet(byte[] baXslContent, java.lang.String strCodeType)
baXslContent
- The stylesheetstrCodeType
- The code type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |