|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.document.service.spaces.DocumentSpacesService
public class DocumentSpacesService
Document Spaces management Service.
Method Summary | |
---|---|
static DocumentSpacesService |
getInstance()
Returns the unique instance of the service |
javax.xml.transform.Source |
getTreeXsl()
Gets the XSL to display user spaces tree |
java.util.List<DocumentSpace> |
getUserAllowedSpaces(fr.paris.lutece.portal.business.user.AdminUser user)
|
int |
getUserDefaultSpace(fr.paris.lutece.portal.business.user.AdminUser user)
Gets user default space |
java.lang.String |
getXmlSpacesList(fr.paris.lutece.portal.business.user.AdminUser user)
Gets allowed Spaces for a given user as an XML document |
boolean |
isAuthorizedView(int nIdSpace,
fr.paris.lutece.portal.business.user.AdminUser user)
Check if the user can view a space |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DocumentSpacesService getInstance()
public java.lang.String getXmlSpacesList(fr.paris.lutece.portal.business.user.AdminUser user)
user
- The current user
public int getUserDefaultSpace(fr.paris.lutece.portal.business.user.AdminUser user)
user
- The current user
public javax.xml.transform.Source getTreeXsl()
public boolean isAuthorizedView(int nIdSpace, fr.paris.lutece.portal.business.user.AdminUser user)
nIdSpace
- The Space Iduser
- The current user
public java.util.List<DocumentSpace> getUserAllowedSpaces(fr.paris.lutece.portal.business.user.AdminUser user)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |