org.apache.abdera.protocol.server
Interface WorkspaceInfo

All Known Implementing Classes:
ManagedWorkspace

public interface WorkspaceInfo

Metadata interface used by WorkspaceManager and Provider implementations to construct Atompub Service Documents. The WorkspaceInfo interface provides information used to construct an app:workspace element


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 requsest)
          Return the value of the app:workspace element's atom:title.
 

Method Detail

getTitle

String getTitle(RequestContext requsest)
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


getCollections

Collection<CollectionInfo> getCollections(RequestContext request)
Return the listing of collections available as part of the workspace


asWorkspaceElement

Workspace asWorkspaceElement(RequestContext request)
Returns an instance of the FOM Workspace interface



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