public interface IDocumentSpaceDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nSpaceId)
Delete a record from the table
|
fr.paris.lutece.util.ReferenceList |
getAllowedDocumentTypes(int nSpaceId)
Returns all allowed document types for a given space
|
fr.paris.lutece.util.ReferenceList |
getDocumentSpaceList()
Load the list of documentSpaces
|
fr.paris.lutece.util.ReferenceList |
getIconsList()
Gets a list of icons available or space customization
|
fr.paris.lutece.util.ReferenceList |
getViewTypeList(Locale locale)
Load the list of documentSpaces
|
void |
insert(DocumentSpace space)
Insert a new record in the table.
|
DocumentSpace |
load(int nDocumentSpaceId)
Load the data of DocumentSpace from the table
|
List<DocumentSpace> |
selectAll()
Select all spaces
|
List<DocumentSpace> |
selectChilds(int nSpaceId,
String strCodeType)
Load the list of documentSpaces childs
|
List<DocumentSpace> |
selectSpacesAllowingDocumentCreationByDocumentType(String strCodeType,
int createDocumentIsAllowed)
Load the list of documentSpaces authorizing the selected document type
|
void |
store(DocumentSpace space)
Update the record in the table
|
void delete(int nSpaceId)
nSpaceId
- The Id to deletefr.paris.lutece.util.ReferenceList getAllowedDocumentTypes(int nSpaceId)
nSpaceId
- The space Idfr.paris.lutece.util.ReferenceList getDocumentSpaceList()
fr.paris.lutece.util.ReferenceList getIconsList()
fr.paris.lutece.util.ReferenceList getViewTypeList(Locale locale)
locale
- The Localevoid insert(DocumentSpace space)
space
- The space objectDocumentSpace load(int nDocumentSpaceId)
nDocumentSpaceId
- The identifier of DocumentSpaceList<DocumentSpace> selectAll()
List<DocumentSpace> selectChilds(int nSpaceId, String strCodeType)
strCodeType
- the document type filter if needed (null if not)nSpaceId
- The space identifierList<DocumentSpace> selectSpacesAllowingDocumentCreationByDocumentType(String strCodeType, int createDocumentIsAllowed)
strCodeType
- the document type filtercreateDocumentIsAllowed
- code to define if document creation is allowed or notvoid store(DocumentSpace space)
space
- The reference of spaceCopyright © 2020 City of Paris. All rights reserved.