Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.spaces.api
Interface Space

All Superinterfaces:
java.lang.Comparable<Space>
All Known Implementing Classes:
DocSpaceImpl

public interface Space
extends java.lang.Comparable<Space>


Method Summary
 Space copyFrom(Space space)
           
 Gadget createGadget(java.lang.String gadgetName)
           
 Gadget createGadget(java.net.URL gadgetDefUrl)
           
 java.lang.String getCategory()
          Family/category of this space
 java.lang.String getDescription()
          description of the space
 Gadget getGadget(java.lang.String id)
           
 java.util.List<Gadget> getGadgets()
           
 java.lang.String getId()
          Unique identifier of a space instance
 java.lang.String getLayout()
          A key for displaying elements in this space
 java.lang.String getName()
          Name of the space
 java.lang.String getOwner()
          Name of the creator of this space
 java.util.Calendar getPublicationDate()
           
 java.lang.String getTheme()
          Space theme
 java.lang.String getTitle()
          Title of the space
 java.lang.String getViewer()
          Name of the viewer of this space
 boolean hasPermission(java.lang.String permissionName)
           
 boolean isReadOnly()
           
 void remove()
           
 void remove(Gadget gadget)
           
 void save()
           
 void save(Gadget gadget)
           
 void setCategory(java.lang.String category)
           
 void setDescription(java.lang.String description)
           
 void setLayout(java.lang.String name)
           
 void setPublicationDate(java.util.Calendar datePublication)
           
 void setTheme(java.lang.String theme)
           
 void setTitle(java.lang.String title)
           
 java.lang.Boolean validateGadgets(java.util.List<Gadget> gadgets)
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getId

java.lang.String getId()
Unique identifier of a space instance

Returns:

getName

java.lang.String getName()
Name of the space

Returns:

getTheme

java.lang.String getTheme()
                          throws ClientException
Space theme

Returns:
Throws:
ClientException

setTheme

void setTheme(java.lang.String theme)
              throws ClientException
Throws:
ClientException

getTitle

java.lang.String getTitle()
                          throws ClientException
Title of the space

Returns:
Throws:
ClientException

setTitle

void setTitle(java.lang.String title)
              throws ClientException
Throws:
ClientException

getDescription

java.lang.String getDescription()
                                throws ClientException
description of the space

Returns:
Throws:
ClientException

setDescription

void setDescription(java.lang.String description)
                    throws ClientException
Throws:
ClientException

getLayout

java.lang.String getLayout()
                           throws ClientException
A key for displaying elements in this space

Returns:
Throws:
ClientException

setLayout

void setLayout(java.lang.String name)
               throws ClientException
Throws:
ClientException

getCategory

java.lang.String getCategory()
                             throws ClientException
Family/category of this space

Returns:
Throws:
ClientException

setCategory

void setCategory(java.lang.String category)
                 throws ClientException
Throws:
ClientException

getOwner

java.lang.String getOwner()
                          throws ClientException
Name of the creator of this space

Returns:
Throws:
ClientException

getViewer

java.lang.String getViewer()
                           throws ClientException
Name of the viewer of this space

Returns:
Throws:
ClientException

isReadOnly

boolean isReadOnly()
                   throws ClientException
Throws:
ClientException

createGadget

Gadget createGadget(java.lang.String gadgetName)
                    throws ClientException
Throws:
ClientException

createGadget

Gadget createGadget(java.net.URL gadgetDefUrl)
                    throws ClientException
Throws:
ClientException

save

void save(Gadget gadget)
          throws ClientException
Throws:
ClientException

remove

void remove(Gadget gadget)
            throws ClientException
Throws:
ClientException

getGadgets

java.util.List<Gadget> getGadgets()
                                  throws ClientException
Throws:
ClientException

getGadget

Gadget getGadget(java.lang.String id)
                 throws ClientException
Throws:
ClientException

hasPermission

boolean hasPermission(java.lang.String permissionName)
                      throws ClientException
Throws:
ClientException

save

void save()
          throws ClientException
Throws:
ClientException

remove

void remove()
            throws ClientException
Throws:
ClientException

copyFrom

Space copyFrom(Space space)
               throws ClientException
Throws:
ClientException

getPublicationDate

java.util.Calendar getPublicationDate()
                                      throws ClientException
Throws:
ClientException

setPublicationDate

void setPublicationDate(java.util.Calendar datePublication)
                        throws ClientException
Throws:
ClientException

validateGadgets

java.lang.Boolean validateGadgets(java.util.List<Gadget> gadgets)
                                  throws ClientException
Throws:
ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.