Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.spaces.api
Interface Space

All Superinterfaces:
SimplePermissionMapper
All Known Implementing Classes:
DocSpaceImpl

public interface Space
extends SimplePermissionMapper


Method Summary
 Space copyFrom(Space space)
           
 WebContentData createWebContent(WebContentData data)
           
 void deleteWebContent(WebContentData data)
           
 String getCategory()
          Family/category of this space
 String getDescription()
           
 String getId()
           
 YUILayoutAdapter getLayout()
           
 String getName()
           
 String getOwner()
           
 String getTitle()
           
 String getViewer()
           
 WebContentData getWebContent(String webContentId)
           
 void initLayout(YUILayout layout)
          Initialize the layout be resetting it.
 boolean isReadOnly()
           
 void moveWebContent(WebContentData data, String unitId)
           
 List<WebContentData> readWebContents()
           
 void remove()
           
 void save()
           
 void setCategory(String category)
           
 void setDescription(String description)
           
 void setTitle(String title)
           
 WebContentData updateWebContent(WebContentData data)
           
 
Methods inherited from interface org.nuxeo.ecm.spaces.api.SimplePermissionMapper
getPermissions, getPermissions, getPermissions, hasPermission
 

Method Detail

getId

String getId()

getName

String getName()

getTitle

String getTitle()
                throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

setTitle

void setTitle(String title)
              throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getDescription

String getDescription()
                      throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

setDescription

void setDescription(String description)
                    throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getLayout

YUILayoutAdapter getLayout()
                           throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

initLayout

void initLayout(YUILayout layout)
                throws org.nuxeo.ecm.core.api.ClientException
Initialize the layout be resetting it. Implementations MAY although reset content (that will be lost)

Parameters:
layout -
Throws:
org.nuxeo.ecm.core.api.ClientException

getCategory

String getCategory()
                   throws org.nuxeo.ecm.core.api.ClientException
Family/category of this space

Returns:
Throws:
org.nuxeo.ecm.core.api.ClientException

setCategory

void setCategory(String category)
                 throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getOwner

String getOwner()
                throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getViewer

String getViewer()
                 throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

isReadOnly

boolean isReadOnly()
                   throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

createWebContent

WebContentData createWebContent(WebContentData data)
                                throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

readWebContents

List<WebContentData> readWebContents()
                                     throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

updateWebContent

WebContentData updateWebContent(WebContentData data)
                                throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

deleteWebContent

void deleteWebContent(WebContentData data)
                      throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

save

void save()
          throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

remove

void remove()
            throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

copyFrom

Space copyFrom(Space space)
               throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getWebContent

WebContentData getWebContent(String webContentId)
                             throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

moveWebContent

void moveWebContent(WebContentData data,
                    String unitId)
                    throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.