|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.document.business.spaces.DocumentSpaceDAO
public final class DocumentSpaceDAO
This class provides Data Access methods for DocumentSpace objects
| Constructor Summary | |
|---|---|
DocumentSpaceDAO()
|
|
| Method Summary | |
|---|---|
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(java.util.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 |
java.util.List<DocumentSpace> |
selectAll()
Select all spaces |
java.util.List<DocumentSpace> |
selectChilds(int nSpaceId)
Load the list of documentSpaces |
void |
store(DocumentSpace space)
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 |
|---|
public DocumentSpaceDAO()
| Method Detail |
|---|
public void insert(DocumentSpace space)
insert in interface IDocumentSpaceDAOspace - The space objectpublic DocumentSpace load(int nDocumentSpaceId)
load in interface IDocumentSpaceDAOnDocumentSpaceId - The identifier of DocumentSpace
public void delete(int nSpaceId)
delete in interface IDocumentSpaceDAOnSpaceId - The Id to deletepublic void store(DocumentSpace space)
store in interface IDocumentSpaceDAOspace - The reference of spacepublic java.util.List<DocumentSpace> selectChilds(int nSpaceId)
selectChilds in interface IDocumentSpaceDAOnSpaceId -
public fr.paris.lutece.util.ReferenceList getDocumentSpaceList()
getDocumentSpaceList in interface IDocumentSpaceDAOpublic fr.paris.lutece.util.ReferenceList getViewTypeList(java.util.Locale locale)
getViewTypeList in interface IDocumentSpaceDAOpublic fr.paris.lutece.util.ReferenceList getIconsList()
getIconsList in interface IDocumentSpaceDAOpublic java.util.List<DocumentSpace> selectAll()
selectAll in interface IDocumentSpaceDAOpublic fr.paris.lutece.util.ReferenceList getAllowedDocumentTypes(int nSpaceId)
getAllowedDocumentTypes in interface IDocumentSpaceDAOnSpaceId - The space Id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||