org.apache.abdera.protocol.server.provider.managed
Class ManagedWorkspace

java.lang.Object
  extended by org.apache.abdera.protocol.server.provider.managed.ManagedWorkspace
All Implemented Interfaces:
WorkspaceInfo

public class ManagedWorkspace
extends Object
implements WorkspaceInfo


Constructor Summary
ManagedWorkspace(ManagedProvider provider)
           
 
Method Summary
 Workspace asWorkspaceElement(RequestContext request)
          Returns an instance of the FOM Workspace interface
 Collection<CollectionInfo> getCollections(RequestContext request)
          Return the listing of collections available as part of the workspace
 String getTitle(RequestContext request)
          Return the value of the app:workspace element's atom:title.
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedWorkspace

public ManagedWorkspace(ManagedProvider provider)
Method Detail

getCollections

public Collection<CollectionInfo> getCollections(RequestContext request)
Description copied from interface: WorkspaceInfo
Return the listing of collections available as part of the workspace

Specified by:
getCollections in interface WorkspaceInfo

getTitle

public String getTitle(RequestContext request)
Description copied from interface: WorkspaceInfo
Return the value of the app:workspace element's atom:title. This assumes that the atom:title element uses type="text". This must not be null

Specified by:
getTitle in interface WorkspaceInfo

setTitle

public void setTitle(String title)

asWorkspaceElement

public Workspace asWorkspaceElement(RequestContext request)
Description copied from interface: WorkspaceInfo
Returns an instance of the FOM Workspace interface

Specified by:
asWorkspaceElement in interface WorkspaceInfo


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.