|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.ebxml.registry.repository.AbstractRepositoryManager
com.sun.ebxml.registry.repository.filesystem.FileSystemRepositoryManager
FileSystem based Repository Manager to control inserting, updating and deleting repository items.
Constructor Summary | |
protected |
FileSystemRepositoryManager()
|
Method Summary | |
void |
delete(java.lang.String id)
Delete the repository item. |
static RepositoryManager |
getInstance()
Singleton instance accessor. |
long |
getItemSize(java.lang.String itemId)
Get the size of a repository item in bytes. |
RepositoryItem |
getRepositoryItem(java.lang.String id)
Returns the RepositoryItem with the given unique ID. |
java.lang.String |
getRepositoryItemPath(java.lang.String id)
Gets the path for a RepositoryItem given its id. |
void |
insert(RepositoryItem item)
Insert the repository item. |
java.util.ArrayList |
itemsExist(java.util.ArrayList ids)
Return a ArrayList of non-existent repository items |
Methods inherited from class com.sun.ebxml.registry.repository.AbstractRepositoryManager |
delete, getItemsSize, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected FileSystemRepositoryManager()
Method Detail |
public java.lang.String getRepositoryItemPath(java.lang.String id) throws RegistryException
RegistryException
public static RepositoryManager getInstance()
public void insert(RepositoryItem item) throws RegistryException
item
- The repository item.
RegistryException
public RepositoryItem getRepositoryItem(java.lang.String id) throws RegistryException
id
- Unique id for repository item
RegistryException
public void delete(java.lang.String id) throws RegistryException
id
- It should be the UUID. It will remove "urn:uuid:".
RegistryException
- if the item does not existpublic java.util.ArrayList itemsExist(java.util.ArrayList ids) throws RegistryException
ids
- The ArrayList of repository items id. It will remove "urn:uuid:".
RegistryException
public long getItemSize(java.lang.String itemId) throws RegistryException
itemId
- The id of repository item, with "urn:uuid:".
RegistryException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |