|
||||||||||
| 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.DocumentSpaceHome
public final class DocumentSpaceHome
This class provides instances management methods (create, find, ...) for DocumentSpace objects
| Method Summary | |
|---|---|
static DocumentSpace |
create(DocumentSpace documentSpace)
Creation of an instance of documentSpace |
static java.util.Collection<DocumentSpace> |
findAll()
Select all spaces |
static DocumentSpace |
findByPrimaryKey(int nKey)
Returns an instance of a documentSpace whose identifier is specified in parameter |
static java.util.List<DocumentSpace> |
findChilds(int nParentSpaceId)
Returns a collection of documentSpaces objects |
static java.util.List<DocumentSpace> |
findChildsByTypeOfDocument(int nParentSpaceId,
java.lang.String strCodeType)
Returns a collection of documentSpaces objects by type of document |
static java.util.List<DocumentSpace> |
findSpacesAllowingDocumentCreationByDocumentType(java.lang.String strCodeType,
int createDocumentIsAllowed)
Returns a collection of documentSpaces objects by type of document |
static fr.paris.lutece.util.ReferenceList |
getAllowedDocumentTypes(int nSpaceId)
Returns all allowed document types for a given space |
static fr.paris.lutece.util.ReferenceList |
getDocumentSpaceList()
Returns a ReferenceList of documentSpaces objects |
static fr.paris.lutece.util.ReferenceList |
getIconsList()
Gets a list of icons available or space customization |
static fr.paris.lutece.util.ReferenceList |
getViewTypeList(java.util.Locale locale)
Returns a ReferenceList of documentSpaces objects |
static void |
remove(int nDocumentSpaceId)
Remove the DocumentSpace whose identifier is specified in parameter |
static DocumentSpace |
update(DocumentSpace documentSpace)
Update of the documentSpace which is specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DocumentSpace create(DocumentSpace documentSpace)
documentSpace - The instance of the documentSpace which contains the informations to store
public static DocumentSpace update(DocumentSpace documentSpace)
documentSpace - The instance of the documentSpace which contains the data to store
public static void remove(int nDocumentSpaceId)
nDocumentSpaceId - public static DocumentSpace findByPrimaryKey(int nKey)
nKey - The Primary key of the documentSpace
public static java.util.List<DocumentSpace> findChilds(int nParentSpaceId)
nParentSpaceId -
public static java.util.List<DocumentSpace> findChildsByTypeOfDocument(int nParentSpaceId,
java.lang.String strCodeType)
nParentSpaceId - strCodeType - the document type
public static java.util.List<DocumentSpace> findSpacesAllowingDocumentCreationByDocumentType(java.lang.String strCodeType,
int createDocumentIsAllowed)
strCodeType - the document type filtercreateDocumentIsAllowed - code to define if document creation is allowed or not
public static fr.paris.lutece.util.ReferenceList getDocumentSpaceList()
public static fr.paris.lutece.util.ReferenceList getViewTypeList(java.util.Locale locale)
locale -
public static fr.paris.lutece.util.ReferenceList getIconsList()
public static java.util.Collection<DocumentSpace> findAll()
public static fr.paris.lutece.util.ReferenceList getAllowedDocumentTypes(int nSpaceId)
nSpaceId - The space Id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||