Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.spaces.webobject
Class SpaceWebObject

java.lang.Object
  extended by org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
      extended by org.nuxeo.ecm.webengine.model.impl.DefaultObject
          extended by org.nuxeo.opensocial.spaces.webobject.SpaceWebObject
All Implemented Interfaces:
Resource, Adaptable

public class SpaceWebObject
extends DefaultObject

Space ( Nuxeo-spaces-api concept ) web engine object


Constructor Summary
SpaceWebObject()
           
 
Method Summary
 java.lang.Object doGet()
           
 java.lang.Object doUpdate()
           
<A> A
getAdapter(java.lang.Class<A> adapter)
          Returns an object which is an instance of the given class associated with this object.
 java.lang.String getBaseUrl()
           
 DocumentModel getDocument()
           
 Space getSpace()
           
 Univers getUnivers()
           
 void initialize(java.lang.Object... args)
          Computes space data objects
 
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
 
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpaceWebObject

public SpaceWebObject()
Method Detail

getSpace

public Space getSpace()

doGet

public java.lang.Object doGet()

doUpdate

public java.lang.Object doUpdate()

getDocument

public DocumentModel getDocument()

getUnivers

public Univers getUnivers()

initialize

public void initialize(java.lang.Object... args)
Computes space data objects


getBaseUrl

public java.lang.String getBaseUrl()

getAdapter

public <A> A getAdapter(java.lang.Class<A> adapter)
Description copied from interface: Adaptable
Returns an object which is an instance of the given class associated with this object. Returns null if no such object can be found.

Specified by:
getAdapter in interface Adaptable
Overrides:
getAdapter in class AbstractResource<ResourceTypeImpl>
Parameters:
adapter - the adapter class to look up
Returns:
a object castable to the given class, or null if this object does not have an adapter for the given class

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.