org.xiruss.xirussrepository.server.jetty.apiserver
Class SnapshotListResource

java.lang.Object
  extended by org.mortbay.util.Resource
      extended by org.xiruss.xirussrepository.server.jetty.viewer.XirussResourceBase
          extended by org.xiruss.xirussrepository.server.jetty.apiserver.HttpApiResourceBase
              extended by org.xiruss.xirussrepository.server.jetty.apiserver.SnapshotListResource
All Implemented Interfaces:
java.io.Serializable

public class SnapshotListResource
extends HttpApiResourceBase

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.xiruss.xirussrepository.server.jetty.apiserver.HttpApiResourceBase
dataBuffer
 
Fields inherited from class org.xiruss.xirussrepository.server.jetty.viewer.XirussResourceBase
_associate, _context, logger, mimeType, pathTokens, pathToMe, rep, repositoryObject, request, resourceType, url
 
Constructor Summary
SnapshotListResource(Repository rep, org.mortbay.http.HttpRequest request, Branch branch, long startIndex, long count)
           
SnapshotListResource(Repository rep, org.mortbay.http.HttpRequest request, SnapshotMap map, long startIndex, long count)
           
 
Method Summary
static XmlStringBuffer constructSnapshotListResult(Branch branch, long startIndex, long count)
           
static XmlStringBuffer constructSnapshotListResult(SnapshotMap snapShots, long startIndex, long count)
           
 
Methods inherited from class org.xiruss.xirussrepository.server.jetty.apiserver.HttpApiResourceBase
getCharacterEncoding, getInputStream, getMimeType, getResult, isDirectory, length
 
Methods inherited from class org.xiruss.xirussrepository.server.jetty.viewer.XirussResourceBase
addPath, delete, exists, getAssociate, getFile, getHttpContext, getName, getOutputStream, getPathToMe, getRepositoryObject, getResourceType, getURL, lastModified, list, release, renameTo, setAssociate, writeTo
 
Methods inherited from class org.mortbay.util.Resource
cache, encode, finalize, getAlias, getListHTML, newResource, newResource, newSystemResource
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotListResource

public SnapshotListResource(Repository rep,
                            org.mortbay.http.HttpRequest request,
                            Branch branch,
                            long startIndex,
                            long count)

SnapshotListResource

public SnapshotListResource(Repository rep,
                            org.mortbay.http.HttpRequest request,
                            SnapshotMap map,
                            long startIndex,
                            long count)
Method Detail

constructSnapshotListResult

public static XmlStringBuffer constructSnapshotListResult(SnapshotMap snapShots,
                                                          long startIndex,
                                                          long count)

constructSnapshotListResult

public static XmlStringBuffer constructSnapshotListResult(Branch branch,
                                                          long startIndex,
                                                          long count)