org.nuxeo.ecm.spaces.impl.docwrapper
Class DocSpaceImpl
java.lang.Object
org.nuxeo.ecm.spaces.impl.docwrapper.DocSpaceImpl
- All Implemented Interfaces:
- SimplePermissionMapper, Space
public class DocSpaceImpl
- extends Object
- implements Space
getLayout
public YUILayoutAdapter getLayout()
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
getLayout in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
getCategory
public String getCategory()
throws org.nuxeo.ecm.core.api.ClientException
- Description copied from interface:
Space
- Family/category of this space
- Specified by:
getCategory in interface Space
- Returns:
-
- Throws:
org.nuxeo.ecm.core.api.ClientException
getDescription
public String getDescription()
- Specified by:
getDescription in interface Space
getId
public String getId()
- Specified by:
getId in interface Space
getName
public String getName()
- Specified by:
getName in interface Space
getOwner
public String getOwner()
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
getOwner in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
getViewer
public String getViewer()
- Specified by:
getViewer in interface Space
getTitle
public String getTitle()
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
getTitle in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
hasPermission
public Boolean hasPermission(String id,
String permissionName)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
hasPermission in interface SimplePermissionMapper
- Throws:
org.nuxeo.ecm.core.api.ClientException
getAvailableSecurityPermissions
public List<String> getAvailableSecurityPermissions()
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
isReadOnly
public boolean isReadOnly()
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
isReadOnly in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
getDocument
public org.nuxeo.ecm.core.api.DocumentModel getDocument()
copyFrom
public Space copyFrom(Space space)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
copyFrom in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
setDescription
public void setDescription(String description)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
setDescription in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
setTitle
public void setTitle(String title)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
setTitle in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
setCategory
public void setCategory(String category)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
setCategory in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
save
public void save()
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
save in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
remove
public void remove()
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
remove in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
createWebContent
public WebContentData createWebContent(WebContentData data)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
createWebContent in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
readWebContents
public List<WebContentData> readWebContents()
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
readWebContents in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
updateWebContent
public WebContentData updateWebContent(WebContentData data)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
updateWebContent in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
deleteWebContent
public void deleteWebContent(WebContentData data)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
deleteWebContent in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
initLayout
public void initLayout(YUILayout layout)
throws org.nuxeo.ecm.core.api.ClientException
- Description copied from interface:
Space
- Initialize the layout be resetting it. Implementations MAY although reset
content (that will be lost)
- Specified by:
initLayout in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
moveWebContent
public void moveWebContent(WebContentData data,
String dstUnitName)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
moveWebContent in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
getDocForData
public org.nuxeo.ecm.core.api.DocumentModel getDocForData(WebContentData data)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
getWebContent
public WebContentData getWebContent(String webContentId)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
getWebContent in interface Space
- Throws:
org.nuxeo.ecm.core.api.ClientException
getPublicationDate
public Calendar getPublicationDate()
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
setPublicationDate
public void setPublicationDate(Calendar datePublication)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
getPermissions
public Map<String,Map<String,Boolean>> getPermissions()
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
getPermissions in interface SimplePermissionMapper
- Throws:
org.nuxeo.ecm.core.api.ClientException
getPermissions
public Map<String,Map<String,Boolean>> getPermissions(List<WebContentData> list)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
getPermissions in interface SimplePermissionMapper
- Throws:
org.nuxeo.ecm.core.api.ClientException
getPermissions
public Map<String,Boolean> getPermissions(String id)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
getPermissions in interface SimplePermissionMapper
- Throws:
org.nuxeo.ecm.core.api.ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.