public interface SharedObjectsRetriever
| Modifier and Type | Method and Description |
|---|---|
<T> List<String> |
getAllCodes(Class<T> objectClass)
Gets all codes of shared objects.
|
<T> List<? extends Object> |
getAllObjectCodes(Class<T> objectClass)
Gets all codes of shared objects.
|
String |
getOwner()
Gets the owner of the shared object retriever.
|
<T> T |
getSpecifiedObject(Class<T> objectClass,
String code,
boolean schemaOnly)
Gets a specified object.
|
<T> T |
getSpecifiedObject(Class<T> objectClass,
String code1,
String code2,
boolean schemaOnly)
Gets a specified object.
|
String getOwner()
<T> List<String> getAllCodes(Class<T> objectClass)
T - the Class of the shared object to retrieve.objectClass - the Class of the object to retrieve.<T> List<? extends Object> getAllObjectCodes(Class<T> objectClass)
T - the Class of the shared object to retrieve.objectClass - the Class of the object to retrieve.<T> T getSpecifiedObject(Class<T> objectClass, 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(Class<T> objectClass, String code1, 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.