|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.ebxml.registry.persistence.PersistenceManagerImpl
Class Declaration for Class1
Constructor Summary | |
protected |
PersistenceManagerImpl()
|
Method Summary | |
void |
addSlots(java.lang.String objectId,
java.util.ArrayList slots)
Adds specified slots to specified object. |
void |
delete(org.oasis.ebxml.registry.bindings.rim.User user,
java.util.ArrayList registryObjectIds)
Does a bulk delete of a heterogeneous Collection of RegistrObjects. |
java.util.ArrayList |
executeSQLQuery(java.lang.String sqlQuery,
org.oasis.ebxml.registry.bindings.query.ResponseOption responseOption,
java.lang.String tableName,
java.util.ArrayList objectRefs)
Executes and SQL query using specified parameters. |
static PersistenceManagerImpl |
getInstance()
|
java.util.HashMap |
getOwnersMap(java.util.ArrayList ids)
Get a HashMap with registry object id as key and owner id as value |
org.oasis.ebxml.registry.bindings.rim.RegistryObjectType |
getRegistryObject(java.lang.String id,
java.lang.String className)
Gets the specified object using specified id and className |
void |
insert(org.oasis.ebxml.registry.bindings.rim.User user,
java.util.ArrayList registryObjects)
Does a bulk insert of a heterogeneous Collection of RegistrObjects. |
static void |
main(java.lang.String[] args)
|
java.lang.String |
mapColumnName(java.lang.String name)
|
java.lang.String |
mapTableName(java.lang.String name)
|
java.util.ArrayList |
registryObjectsExist(java.util.ArrayList ids)
Returns ArrayList of ids of non-existent RegistryObject |
void |
removeSlots(java.lang.String objectId,
java.util.ArrayList slots)
Removes specified slots from specified object. |
void |
update(org.oasis.ebxml.registry.bindings.rim.User user,
java.util.ArrayList registryObjects)
Does a bulk update of a heterogeneous Collection of RegistrObjects. |
void |
updateStatus(org.oasis.ebxml.registry.bindings.rim.User user,
java.util.ArrayList registryObjectsIds,
org.oasis.ebxml.registry.bindings.rim.types.StatusType status,
org.oasis.ebxml.registry.bindings.rs.RegistryErrorList el)
Update the status of specified objects to the specified status. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected PersistenceManagerImpl()
Method Detail |
public static PersistenceManagerImpl getInstance()
public void insert(org.oasis.ebxml.registry.bindings.rim.User user, java.util.ArrayList registryObjects) throws RegistryException
insert
in interface PersistenceManager
RegistryException
public void update(org.oasis.ebxml.registry.bindings.rim.User user, java.util.ArrayList registryObjects) throws RegistryException
update
in interface PersistenceManager
RegistryException
public void updateStatus(org.oasis.ebxml.registry.bindings.rim.User user, java.util.ArrayList registryObjectsIds, org.oasis.ebxml.registry.bindings.rim.types.StatusType status, org.oasis.ebxml.registry.bindings.rs.RegistryErrorList el) throws RegistryException
updateStatus
in interface PersistenceManager
RegistryException
public void delete(org.oasis.ebxml.registry.bindings.rim.User user, java.util.ArrayList registryObjectIds) throws RegistryException
delete
in interface PersistenceManager
RegistryException
public void addSlots(java.lang.String objectId, java.util.ArrayList slots) throws RegistryException
addSlots
in interface PersistenceManager
RegistryException
public void removeSlots(java.lang.String objectId, java.util.ArrayList slots) throws RegistryException
removeSlots
in interface PersistenceManager
RegistryException
public java.util.ArrayList registryObjectsExist(java.util.ArrayList ids) throws RegistryException
registryObjectsExist
in interface PersistenceManager
RegistryException
public org.oasis.ebxml.registry.bindings.rim.RegistryObjectType getRegistryObject(java.lang.String id, java.lang.String className) throws RegistryException
getRegistryObject
in interface PersistenceManager
RegistryException
public java.util.ArrayList executeSQLQuery(java.lang.String sqlQuery, org.oasis.ebxml.registry.bindings.query.ResponseOption responseOption, java.lang.String tableName, java.util.ArrayList objectRefs) throws RegistryException
executeSQLQuery
in interface PersistenceManager
RegistryException
public java.util.HashMap getOwnersMap(java.util.ArrayList ids) throws RegistryException
getOwnersMap
in interface PersistenceManager
RegistryException
public java.lang.String mapTableName(java.lang.String name)
public java.lang.String mapColumnName(java.lang.String name)
public static void main(java.lang.String[] args) throws RegistryException
RegistryException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |