public abstract class DescriptionObjectCache<D extends DescriptionObject> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DescriptionObjectCache.CacheEntry<E extends DescriptionObject> |
| Constructor and Description |
|---|
DescriptionObjectCache() |
| Modifier and Type | Method and Description |
|---|---|
abstract D |
buildObject(String name,
int version,
ItemPath path,
String data) |
protected ItemPath |
findItem(String name,
TransactionKey transactionKey) |
D |
get(String name,
int version) |
D |
get(String name,
int version,
TransactionKey transactionKey) |
abstract String |
getSchemaName() |
abstract String |
getTypeCode() |
abstract String |
getTypeRoot() |
protected boolean |
isBootResource(String filename,
String resName) |
D |
loadObject(String name,
int version,
ItemProxy proxy,
TransactionKey transactionKey) |
D |
loadObjectFromBootstrap(String name) |
void |
removeObject(String id,
String idName) |
public D loadObjectFromBootstrap(String name) throws InvalidDataException, ObjectNotFoundException
protected ItemPath findItem(String name, TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
public D get(String name, int version) throws ObjectNotFoundException, InvalidDataException
name - the Name or the UUID of the resource Itemversion - the Version of the resource ItemObjectNotFoundExceptionInvalidDataExceptionpublic D get(String name, int version, TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
name - the Name or the UUID of the resource Itemversion - the Version of the resource ItemtransactionKey - ObjectNotFoundExceptionInvalidDataExceptionpublic abstract String getTypeCode()
public abstract String getSchemaName()
public abstract String getTypeRoot()
public abstract D buildObject(String name, int version, ItemPath path, String data) throws InvalidDataException
InvalidDataExceptionpublic D loadObject(String name, int version, ItemProxy proxy, TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
Copyright © 1997–2022 CRISTAL-iSE. All rights reserved.