public interface SharedObjectsRetriever
| Modifier and Type | Method and Description |
|---|---|
SharedObjectsRetriever |
cleanup()
Cleans potential cached objects and returns a SharedObjectsRetriever
|
<T> java.util.List<java.lang.String> |
getAllCodes(java.lang.Class<T> objectClass)
Gets all codes of shared objects.
|
<T> java.util.List<? extends java.lang.Object> |
getAllObjectCodes(java.lang.Class<T> objectClass)
Gets all codes of shared objects.
|
java.lang.String |
getOwner()
Gets the owner of the shared object retriever.
|
<T> T |
getSpecifiedObject(java.lang.Class<T> objectClass,
java.lang.String code,
boolean schemaOnly)
Gets a specified object.
|
<T> T |
getSpecifiedObject(java.lang.Class<T> objectClass,
java.lang.String code1,
java.lang.String code2,
boolean schemaOnly)
Gets a specified object.
|
java.lang.String getOwner()
<T> java.util.List<java.lang.String> getAllCodes(java.lang.Class<T> objectClass)
T - the Class of the shared object to retrieve.objectClass - the Class of the object to retrieve.<T> java.util.List<? extends java.lang.Object> getAllObjectCodes(java.lang.Class<T> objectClass)
T - the Class of the shared object to retrieve.objectClass - the Class of the object to retrieve.<T> T getSpecifiedObject(java.lang.Class<T> objectClass,
java.lang.String code,
boolean schemaOnly)
T - the Class of the object to retrieve.objectClass - the Class of the object to retrieve.code - the code of the object to retrieve.schemaOnly - True if only the schema (no instances) must be retrieved.<T> T getSpecifiedObject(java.lang.Class<T> objectClass,
java.lang.String code1,
java.lang.String code2,
boolean schemaOnly)
T - the Class of the object to retrieve.objectClass - the Class of the object to retrieve.code1 - the 1st part of the code of the object to retrieve.code2 - the 2nd part of the code of the object to retrieve.schemaOnly - True if only the schema (no instances) must be retrieved.SharedObjectsRetriever cleanup()