se.kmr.scam.client.repository.mem.archive
Class Archive

java.lang.Object
  extended byse.kmr.scam.client.repository.mem.archive.Archive

public class Archive
extends Object


Field Summary
static Integer FULL
           
static Integer LOCAL
           
static Integer MAX_ROWS
           
static Integer SINGLE
           
 
Method Summary
 void createManifest(String identity, String manifestUri, String defaultUri)
           
 Boolean existManifest(String identity)
           
 void formatRepository()
           
 Model getHierarchy(String identity, Model buffer, Resource root, Integer itemDepth, Integer resDepth)
           
 Collection getManifestIdentities()
           
 Model getModel(String identity, Model buffer, Resource root, Integer resDepth)
           
static Archive getSingelton()
           
 void insert(String identity, Model model)
           
 void insert(String identity, Model model, Resource parent)
           
 void remove(String identity, Resource root)
           
 Model search(String identity, Model buffer, Collection queries, Integer maxRows)
           
 Model search(String identity, Model buffer, String query, Integer maxRows)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCAL

public static final Integer LOCAL

SINGLE

public static final Integer SINGLE

FULL

public static final Integer FULL

MAX_ROWS

public static final Integer MAX_ROWS
Method Detail

getSingelton

public static Archive getSingelton()
                            throws ArchiveException
Throws:
ArchiveException

formatRepository

public void formatRepository()
                      throws ArchiveException
Throws:
ArchiveException

createManifest

public void createManifest(String identity,
                           String manifestUri,
                           String defaultUri)
                    throws ArchiveException
Throws:
ArchiveException

remove

public void remove(String identity,
                   Resource root)
            throws ArchiveException
Throws:
ArchiveException

existManifest

public Boolean existManifest(String identity)
                      throws ArchiveException
Throws:
ArchiveException

getManifestIdentities

public Collection getManifestIdentities()
                                 throws ArchiveException
Throws:
ArchiveException

insert

public void insert(String identity,
                   Model model)
            throws ArchiveException
Throws:
ArchiveException

insert

public void insert(String identity,
                   Model model,
                   Resource parent)
            throws ArchiveException
Throws:
ArchiveException

search

public Model search(String identity,
                    Model buffer,
                    String query,
                    Integer maxRows)
             throws ArchiveException
Throws:
ArchiveException

search

public Model search(String identity,
                    Model buffer,
                    Collection queries,
                    Integer maxRows)
             throws ArchiveException
Throws:
ArchiveException

getHierarchy

public Model getHierarchy(String identity,
                          Model buffer,
                          Resource root,
                          Integer itemDepth,
                          Integer resDepth)
                   throws ArchiveException
Throws:
ArchiveException

getModel

public Model getModel(String identity,
                      Model buffer,
                      Resource root,
                      Integer resDepth)
               throws ArchiveException
Throws:
ArchiveException


Copyright © 2003 SCAM. All Rights Reserved.