public class ItemProxy extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Object |
mIOR |
protected Item |
mItem |
protected ItemPath |
mItemPath |
| Modifier | Constructor and Description |
|---|---|
protected |
ItemProxy(Object ior,
ItemPath itemPath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkContent(ClusterType cluster,
String name)
Check the root content of the given ClusterType
|
boolean |
checkContent(String path,
String name)
Check if the data of the Item located by the ClusterStorage path is exist
|
boolean |
checkContent(String path,
String name,
Object locker)
Check if the data of the Item located by the ClusterStorage path is exist.
|
boolean |
checkOutcome(Schema schema,
int eventId)
Check if the given Outcome exists
|
boolean |
checkOutcome(Schema schema,
int eventId,
Object locker)
Check if the given Outcome exists.
|
boolean |
checkOutcome(String schemaName,
int schemaVersion,
int eventId)
Check if the given Outcome exists
|
boolean |
checkOutcome(String schemaName,
int schemaVersion,
int eventId,
Object locker)
Check if the given Outcome exists.
|
boolean |
checkOutcomeAttachment(Schema schema,
int eventId)
Check if the given OutcomeAttachment exists
|
boolean |
checkOutcomeAttachment(Schema schema,
int eventId,
Object locker)
Check if the given OutcomeAttachment exists.
|
boolean |
checkProperty(String name)
Check if the given Property exists
|
boolean |
checkProperty(String name,
Object locker)
Check if the given Property exists.
|
boolean |
checkViewpoint(String schemaName,
String viewName)
Check if the given Viewpoint exists
|
boolean |
checkViewpoint(String schemaName,
String viewName,
Object locker)
Check if the given Viewpoint exists.
|
void |
dumpSubscriptions(int logLevel) |
String |
executeQuery(Query query)
Executes the Query in the target database.
|
protected void |
finalize()
If this is reaped, clear out the cache for it too.
|
Script |
getAggregateScript()
Returns the so called Aggregate Script which can be used to construct master outcome.
|
Script |
getAggregateScript(String scriptName,
Integer scriptVersion)
Returns the so called Aggregate Script which can be used to construct master outcome.
|
Collection<?> |
getCollection(BuiltInCollections collection)
Gets the current version of the named Collection
|
Collection<?> |
getCollection(BuiltInCollections collection,
Integer version)
Gets a numbered version (snapshot) of a collection
|
Collection<?> |
getCollection(BuiltInCollections collection,
Integer version,
Object locker)
Gets a numbered version (snapshot) of a collection
|
Collection<?> |
getCollection(BuiltInCollections collection,
Object locker)
Gets the current version of the named Collection.
|
Collection<?> |
getCollection(String collName)
Gets the last version of the named collection
|
Collection<?> |
getCollection(String collName,
Integer version)
Gets a numbered version (snapshot) of a collection
|
Collection<?> |
getCollection(String collName,
Integer version,
Object locker)
Gets a numbered version (snapshot) of a collection.
|
Collection<?> |
getCollection(String collName,
Object locker)
Gets the last version of the named collection.
|
String[] |
getContents(ClusterType type)
List the root content of the given ClusterType.
|
String[] |
getContents(ClusterType type,
Object locker)
List the root content of the given ClusterType.
|
String[] |
getContents(String path)
List the content of the cluster located by the cluster path
|
String[] |
getContents(String path,
Object locker)
List the content of the cluster located by the cluster path.
|
Event |
getEvent(int eventId)
Retrieves the Event of the given id.
|
Event |
getEvent(int eventId,
Object locker)
Retrieves the Event of the given id.
|
protected Item |
getItem()
Returns the CORBA Item this proxy is linked with
|
Job |
getJobByName(String actName,
AgentProxy agent)
Finds the first finishing job with the given name for the given Agent in the workflow.
|
Job |
getJobByTransitionName(String actName,
String transName,
AgentPath agentPath)
Finds the Job with the given Activity and Transition name for the Agent in the Items Workflow
|
Job |
getJobByTransitionName(String actName,
String transName,
AgentProxy agent)
Finds the Job with the given Activity and Transition name for the Agent in the Items Workflow
|
ArrayList<Job> |
getJobList(AgentPath agentPath)
Get the list of active Jobs of the Item that can be executed by the Agent
|
ArrayList<Job> |
getJobList(AgentProxy agent)
Get the list of active Jobs of the Item that can be executed by the Agent
|
Schema |
getMasterSchema()
Returns the so called Master Schema which can be used to construct master outcome.
|
Schema |
getMasterSchema(String schemaName,
Integer schemaVersion)
Returns the so called Master Schema which can be used to construct master outcome.
|
String |
getName()
Get the name of the Item from its Property called Name
|
C2KLocalObject |
getObject(ClusterType type)
Retrieve the C2KLocalObject for the ClusterType
|
C2KLocalObject |
getObject(String path)
Retrieve the C2KLocalObject for the Cluster path
|
C2KLocalObject |
getObject(String path,
Object locker)
Retrieve the C2KLocalObject for the Cluster path.
|
Outcome |
getOutcome(Event event)
Gets the Outcome associated with the Event.
|
Outcome |
getOutcome(Event event,
Object locker)
Gets the Outcome associated with the Event.
|
Outcome |
getOutcome(Schema schema,
int eventId)
Gets the selected Outcome,
|
Outcome |
getOutcome(Schema schema,
int eventId,
Object locker)
Gets the selected Outcome.
|
Outcome |
getOutcome(String schemaName,
int schemaVersion,
int eventId)
Gets the selected Outcome.
|
Outcome |
getOutcome(String schemaName,
int schemaVersion,
int eventId,
Object locker)
Gets the selected Outcome.
|
Outcome |
getOutcome(Viewpoint view)
Gets the Outcome selected by the Viewpoint
|
Outcome |
getOutcome(Viewpoint view,
Object locker)
Gets the Outcome selected by the Viewpoint.
|
OutcomeAttachment |
getOutcomeAttachment(Schema schema,
int eventId)
Gets the selected OutcomeAttachment
|
OutcomeAttachment |
getOutcomeAttachment(Schema schema,
int eventId,
Object locker)
Gets the selected OutcomeAttachment.
|
OutcomeAttachment |
getOutcomeAttachment(String schemaName,
int schemaVersion,
int eventId)
Gets the selected OutcomeAttachment
|
OutcomeAttachment |
getOutcomeAttachment(String schemaName,
int schemaVersion,
int eventId,
Object locker)
Gets the selected OutcomeAttachment.
|
ItemPath |
getPath()
Return the ItemPath object of the Item this proxy is linked with
|
String |
getProperty(BuiltInItemProperties prop)
Retrieves the values of a BuiltInItemProperty
|
String |
getProperty(BuiltInItemProperties prop,
String defaultValue)
Retrieves the values of a BuiltInItemProperty or returns the defaulValue if no Property was found
|
String |
getProperty(String name)
Retrieves the value of a named property
|
String |
getProperty(String name,
Object locker) |
String |
getProperty(String name,
String defaultValue)
Retrieves the values of a named property or returns the defaulValue if no Property was found
|
String |
getProperty(String name,
String defaultValue,
Object locker)
Retrieves the value of a named property.
|
String |
getType()
Get the type of the Item from its Property called Type
|
Viewpoint |
getViewpoint(String schemaName,
String viewName)
Gets the named Viewpoint
|
Viewpoint |
getViewpoint(String schemaName,
String viewName,
Object locker)
Gets the named Viewpoint.
|
String[] |
getViewpoints(String schemaName)
Reads the list of existing Viewpoint names for the given schema
|
String[] |
getViewpoints(String schemaName,
Object locker)
Reads the list of existing Viewpoint names for the given schema.
|
Workflow |
getWorkflow()
Gets the Workflow object of this Item
|
Workflow |
getWorkflow(Object locker)
Gets the Workflow object of this Item.
|
void |
initialise(AgentPath agentId,
PropertyArrayList itemProps,
CompositeActivity workflow,
CollectionArrayList colls)
Initialise the new Item with instance data which was normally created from descriptions
|
void |
initialise(AgentPath agentId,
PropertyArrayList itemProps,
CompositeActivity workflow,
CollectionArrayList colls,
Viewpoint viewpoint,
Outcome outcome)
Initialise the new Item with instance data which was normally created from descriptions
|
Item |
narrow()
Narrows the CORBA Item this proxy is linked with
|
void |
notify(ProxyMessage message) |
String |
queryData(String path)
Query data of the Item located by the ClusterStorage path
|
String |
queryData(String path,
Object locker)
Query data of the Item located by the ClusterStorage path
|
String |
requestAction(Job thisJob)
Executes the given Job
|
void |
setProperty(AgentProxy agent,
String name,
String value)
Sets the value of the given Property
|
void |
subscribe(MemberSubscription<?> newSub) |
String |
toString() |
void |
unsubscribe(ProxyObserver<?> observer) |
protected Item mItem
protected ItemPath mItemPath
protected Object mIOR
public ItemPath getPath()
protected Item getItem() throws ObjectNotFoundException
ObjectNotFoundException - there was a problem connecting with the Itempublic Item narrow() throws ObjectNotFoundException
ObjectNotFoundException - there was a problem connecting with the Itempublic void initialise(AgentPath agentId, PropertyArrayList itemProps, CompositeActivity workflow, CollectionArrayList colls) throws AccessRightsException, InvalidDataException, PersistencyException, ObjectNotFoundException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException, IOException, org.exolab.castor.mapping.MappingException, InvalidCollectionModification
agentId - the Agent who is creating the ItemitemProps - initial list of Properties of the Itemworkflow - new Lifecycle of the Itemcolls - the initial state of the Item's collectionsAccessRightsException - Agent does not have the rights to create an ItemInvalidDataException - data was invalidPersistencyException - there was a database problem during Item initialisationObjectNotFoundException - Object not foundorg.exolab.castor.xml.MarshalException - there was a problem converting those objects to XMLorg.exolab.castor.xml.ValidationException - XML was not validIOException - IO errorsorg.exolab.castor.mapping.MappingException - errors in XML marshall/unmarshall mappingInvalidCollectionModification - invalid Collectionpublic void initialise(AgentPath agentId, PropertyArrayList itemProps, CompositeActivity workflow, CollectionArrayList colls, Viewpoint viewpoint, Outcome outcome) throws AccessRightsException, InvalidDataException, PersistencyException, ObjectNotFoundException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException, IOException, org.exolab.castor.mapping.MappingException, InvalidCollectionModification
agentId - the Agent who is creating the ItemitemProps - initial list of Properties of the Itemworkflow - new Lifecycle of the Itemcolls - the initial state of the Item's collectionsviewpoint - the provide viewpoint to be stored for the Outcomeoutcome - the Outcome to be used (like the parameters of the class constructor)AccessRightsException - Agent does not have the rights to create an ItemInvalidDataException - data was invalidPersistencyException - there was a database problem during Item initialisationObjectNotFoundException - Object not foundorg.exolab.castor.xml.MarshalException - there was a problem converting those objects to XMLorg.exolab.castor.xml.ValidationException - XML was not validIOException - IO errorsorg.exolab.castor.mapping.MappingException - errors in XML marshall/unmarshall mappingInvalidCollectionModification - invalid Collectionpublic void setProperty(AgentProxy agent, String name, String value) throws AccessRightsException, PersistencyException, InvalidDataException
agent - the Agent who is setting the Propertyname - the name of the Propertyvalue - the value of the PropertyAccessRightsException - Agent does not the rights to execute this operationPersistencyException - there was a database problems during this operationsInvalidDataException - data was invalidpublic String requestAction(Job thisJob) throws AccessRightsException, InvalidTransitionException, ObjectNotFoundException, InvalidDataException, PersistencyException, ObjectAlreadyExistsException, InvalidCollectionModification
thisJob - the Job to be executedAccessRightsException - Agent does not the rights to execute this operationPersistencyException - there was a database problems during this operationsInvalidDataException - data was invalidInvalidTransitionException - the Transition cannot be executedObjectNotFoundException - Object not foundObjectAlreadyExistsException - Object already existsInvalidCollectionModification - Invalid collectionpublic ArrayList<Job> getJobList(AgentPath agentPath) throws AccessRightsException, ObjectNotFoundException, PersistencyException
agentPath - the Agent requesting the jobAccessRightsException - Agent does not the rights to execute this operationPersistencyException - there was a database problems during this operationsObjectNotFoundException - data was invalidpublic ArrayList<Job> getJobList(AgentProxy agent) throws AccessRightsException, ObjectNotFoundException, PersistencyException
agent - the Agent requesting the jobAccessRightsException - Agent does not the rights to execute this operationPersistencyException - there was a database problems during this operationsObjectNotFoundException - data was invalidpublic Collection<?> getCollection(BuiltInCollections collection) throws ObjectNotFoundException
collection - The built-in collectionObjectNotFoundException - objects were not foundpublic Collection<?> getCollection(BuiltInCollections collection, Object locker) throws ObjectNotFoundException
collection - The built-in collectionlocker - the transaction keyObjectNotFoundException - objects were not foundpublic Collection<?> getCollection(BuiltInCollections collection, Integer version) throws ObjectNotFoundException
collection - The built-in Collectionversion - The collection number. Use null to get the 'last' version.ObjectNotFoundException - objects were not foundpublic Collection<?> getCollection(BuiltInCollections collection, Integer version, Object locker) throws ObjectNotFoundException
collection - The built-in Collectionversion - The collection number. Use null to get the 'last' version.locker - the transaction keyObjectNotFoundException - objects were not foundpublic Collection<?> getCollection(String collName) throws ObjectNotFoundException
collName - The collection nameObjectNotFoundException - objects were not foundpublic Collection<?> getCollection(String collName, Object locker) throws ObjectNotFoundException
collName - The collection namelocker - the transaction keyObjectNotFoundException - objects were not foundpublic Collection<?> getCollection(String collName, Integer version) throws ObjectNotFoundException
collName - The collection nameversion - The collection number. Use null to get the 'last' version.ObjectNotFoundException - objects were not foundpublic Collection<?> getCollection(String collName, Integer version, Object locker) throws ObjectNotFoundException
collName - The collection nameversion - The collection number. Use null to get the 'last' version.locker - the transaction keyObjectNotFoundException - objects were not foundpublic Workflow getWorkflow() throws ObjectNotFoundException
ObjectNotFoundException - objects were not foundpublic Workflow getWorkflow(Object locker) throws ObjectNotFoundException
locker - the transaction keyObjectNotFoundException - objects were not foundpublic boolean checkViewpoint(String schemaName, String viewName) throws ObjectNotFoundException
schemaName - the name of the Schema associated with the ViewpointviewName - the name of the ViewObjectNotFoundException - Object not foundpublic boolean checkViewpoint(String schemaName, String viewName, Object locker) throws ObjectNotFoundException
schemaName - the name of the Schema associated with the ViewpointviewName - the name of the Viewlocker - the transaction keyObjectNotFoundException - Object not foundpublic String[] getViewpoints(String schemaName) throws ObjectNotFoundException
schemaName - the name of the schemaObjectNotFoundException - Object not foundpublic String[] getViewpoints(String schemaName, Object locker) throws ObjectNotFoundException
schemaName - the name of the schemalocker - the transaction keyObjectNotFoundException - Object not foundpublic Viewpoint getViewpoint(String schemaName, String viewName) throws ObjectNotFoundException
schemaName - the name of the Schema associated with the ViewpointviewName - name if the ViewObjectNotFoundException - objects were not foundpublic Viewpoint getViewpoint(String schemaName, String viewName, Object locker) throws ObjectNotFoundException
schemaName - the name of the Schema associated with the ViewpointviewName - name if the Viewlocker - the transaction keyObjectNotFoundException - objects were not foundpublic boolean checkOutcome(String schemaName, int schemaVersion, int eventId) throws ObjectNotFoundException
schemaName - the name of the Schema used to create the OutcomeschemaVersion - the version of the Schema used to create the OutcomeeventId - the id of the Event created when the Outcome was storedObjectNotFoundException - Object not foundpublic boolean checkOutcome(String schemaName, int schemaVersion, int eventId, Object locker) throws ObjectNotFoundException
schemaName - the name of the Schema used to create the OutcomeschemaVersion - the version of the Schema used to create the OutcomeeventId - the id of the Event created when the Outcome was storedlocker - the transaction keyObjectNotFoundException - Object not foundpublic boolean checkOutcome(Schema schema, int eventId) throws ObjectNotFoundException
schema - the Schema used to create the OutcomeeventId - the id of the Event created when the Outcome was storedObjectNotFoundException - Object not foundpublic boolean checkOutcome(Schema schema, int eventId, Object locker) throws ObjectNotFoundException
schema - the Schema used to create the OutcomeeventId - the id of the Event created when the Outcome was storedlocker - transaction keyObjectNotFoundException - Object not foundpublic Outcome getOutcome(String schemaName, int schemaVersion, int eventId) throws ObjectNotFoundException
schemaName - the name of the Schema of the OutcomeschemaVersion - the version of the Schema of the OutcomeeventId - the event idObjectNotFoundException - object was not foundpublic Outcome getOutcome(String schemaName, int schemaVersion, int eventId, Object locker) throws ObjectNotFoundException
schemaName - the name of the Schema of the OutcomeschemaVersion - the version of the Schema of the OutcomeeventId - the event idlocker - the transaction keyObjectNotFoundException - object was not foundpublic Outcome getOutcome(Schema schema, int eventId) throws ObjectNotFoundException
schema - the Schema used to create the OutcomeeventId - the id of the Event created when the Outcome was storedObjectNotFoundException - object was not foundpublic Outcome getOutcome(Schema schema, int eventId, Object locker) throws ObjectNotFoundException
schema - the Schema used to create the OutcomeeventId - the id of the Event created when the Outcome was storedlocker - the transaction keyObjectNotFoundException - object was not foundpublic Outcome getOutcome(Viewpoint view) throws ObjectNotFoundException
view - the Viewpoint to be usedObjectNotFoundException - object was not foundpublic Outcome getOutcome(Viewpoint view, Object locker) throws ObjectNotFoundException
view - the Viewpoint to be usedlocker - the transaction keyObjectNotFoundException - object was not foundpublic Outcome getOutcome(Event event) throws ObjectNotFoundException
event - the Event to be usedObjectNotFoundExceptionpublic Outcome getOutcome(Event event, Object locker) throws ObjectNotFoundException
event - the Event to be usedlocker - the transaction keyObjectNotFoundException - object was not foundpublic boolean checkOutcomeAttachment(Schema schema, int eventId) throws ObjectNotFoundException
schema - the Schema used to create the Outcome and its OutcomeAttachmenteventId - the id of the Event created when the Outcome and its OutcomeAttachment was storedObjectNotFoundException - Object not foundpublic boolean checkOutcomeAttachment(Schema schema, int eventId, Object locker) throws ObjectNotFoundException
schema - the Schema used to create the Outcome and its OutcomeAttachmenteventId - the id of the Event created when the Outcome and its OutcomeAttachment was storedlocker - the transaction keyObjectNotFoundException - Object not foundpublic OutcomeAttachment getOutcomeAttachment(String schemaName, int schemaVersion, int eventId) throws ObjectNotFoundException
schemaName - the name of the Schema used to create the Outcome and its OutcomeAttachmentschemaVersion - the version of the Schema of the OutcomeeventId - the event idObjectNotFoundException - object was not foundpublic OutcomeAttachment getOutcomeAttachment(String schemaName, int schemaVersion, int eventId, Object locker) throws ObjectNotFoundException
schemaName - the name of the Schema used to create the Outcome and its OutcomeAttachmentschemaVersion - the version of the Schema of the OutcomeeventId - the event idlocker - the transaction keyObjectNotFoundException - object was not foundpublic OutcomeAttachment getOutcomeAttachment(Schema schema, int eventId) throws ObjectNotFoundException
schema - the Schema used to create the Outcome and its OutcomeAttachmenteventId - the id of the Event created when the Outcome and the OutcomeAttachment was storedObjectNotFoundException - object was not foundpublic OutcomeAttachment getOutcomeAttachment(Schema schema, int eventId, Object locker) throws ObjectNotFoundException
schema - the Schema used to create the Outcome and its OutcomeAttachmenteventId - the id of the Event created when the Outcome and the OutcomeAttachment was storedlocker - the transaction keyObjectNotFoundException - object was not foundpublic Job getJobByName(String actName, AgentProxy agent) throws AccessRightsException, ObjectNotFoundException, PersistencyException
actName - the name of the Activity to look foragent - The agent to fetch jobs forAccessRightsException - Agent has not rightsObjectNotFoundException - objects were not foundPersistencyException - Error loading the relevant objectspublic Job getJobByTransitionName(String actName, String transName, AgentProxy agent) throws AccessRightsException, ObjectNotFoundException, PersistencyException
actName - the name of the Activity to look fortransName - the name of the Transition to look foragent - The AgentProxy to fetch jobs forAccessRightsException - Agent has not rightsObjectNotFoundException - objects were not foundPersistencyException - Error loading the relevant objectspublic Job getJobByTransitionName(String actName, String transName, AgentPath agentPath) throws AccessRightsException, ObjectNotFoundException, PersistencyException
actName - the name of the Activity to look fortransName - the name of the Transition to look foragentPath - The agent to fetch jobs forAccessRightsException - Agent has not rightsObjectNotFoundException - objects were not foundPersistencyException - Error loading the relevant objectsprotected void finalize()
throws Throwable
public String queryData(String path) throws ObjectNotFoundException
path - the ClusterStorage pathObjectNotFoundException - path was not correctpublic String queryData(String path, Object locker) throws ObjectNotFoundException
path - the ClusterStorage pathlocker - the transaction keyObjectNotFoundException - path was not correctpublic boolean checkContent(String path, String name) throws ObjectNotFoundException
path - the ClusterStorage pathname - the name of the content to be checkedObjectNotFoundException - path was not correctpublic boolean checkContent(ClusterType cluster, String name) throws ObjectNotFoundException
cluster - the type of the clustername - the name of the content to be checkedObjectNotFoundException - path was not correctpublic boolean checkContent(String path, String name, Object locker) throws ObjectNotFoundException
cluster - the type of the clustername - the name of the content to be checkedlocker - the transaction keyObjectNotFoundException - path was not correctpublic String[] getContents(ClusterType type) throws ObjectNotFoundException
type - the type of the clusterObjectNotFoundException - Object nt foundpublic String[] getContents(ClusterType type, Object locker) throws ObjectNotFoundException
type - the type of the clusterlocker - the transaction keyObjectNotFoundException - Object nt foundpublic String[] getContents(String path) throws ObjectNotFoundException
path - the ClusterStorage pathObjectNotFoundException - Object not foundpublic String[] getContents(String path, Object locker) throws ObjectNotFoundException
path - the ClusterStorage pathlocker - the transaction keyObjectNotFoundException - Object not foundpublic String executeQuery(Query query) throws PersistencyException
query - the query to be executedPersistencyException - there was a fundamental DB issuepublic C2KLocalObject getObject(ClusterType type) throws ObjectNotFoundException
type - the ClusterTyoeObjectNotFoundException - the type did not result in a C2KLocalObjectpublic C2KLocalObject getObject(String path) throws ObjectNotFoundException
path - the path to the cluster contentObjectNotFoundException - the path did not result in a C2KLocalObjectpublic C2KLocalObject getObject(String path, Object locker) throws ObjectNotFoundException
path - the path to the cluster objectlocker - the transaction keyObjectNotFoundException - the path did not result in a C2KLocalObjectpublic String getProperty(BuiltInItemProperties prop) throws ObjectNotFoundException
prop - one of the Built-In Item PropertyObjectNotFoundException - property was not foundpublic String getProperty(BuiltInItemProperties prop, String defaultValue)
prop - one of the Built-In Item PropertydefaultValue - the value to be used if no Property was foundpublic String getProperty(String name, String defaultValue)
name - of the Item PropertydefaultValue - the value to be used if no Property was foundpublic String getProperty(String name, String defaultValue, Object locker)
name - of the Item PropertydefaultValue - the value to be used if no Property was foundlocker - the transaction keypublic String getProperty(String name) throws ObjectNotFoundException
name - of the Item PropertyObjectNotFoundException - property was not foundpublic String getProperty(String name, Object locker) throws ObjectNotFoundException
name - locker - ObjectNotFoundExceptionpublic boolean checkProperty(String name) throws ObjectNotFoundException
name - of the PropertyObjectNotFoundException - Item does not have any properties at allpublic boolean checkProperty(String name, Object locker) throws ObjectNotFoundException
name - of the Propertylocker - the transaction keyObjectNotFoundException - Item does not have any properties at allpublic String getName()
public String getType()
public Event getEvent(int eventId) throws ObjectNotFoundException
eventId - the id of the EventObjectNotFoundException - there is no event for the given idpublic Event getEvent(int eventId, Object locker) throws ObjectNotFoundException
eventId - the id of the Eventlocker - the transaction keyObjectNotFoundException - there is no event for the given idpublic Schema getMasterSchema() throws InvalidDataException, ObjectNotFoundException
InvalidDataException - the Schema could not be constructedObjectNotFoundException - no Schema was found for the name and versionpublic Schema getMasterSchema(String schemaName, Integer schemaVersion) throws InvalidDataException, ObjectNotFoundException
schemaName - the name or UUID of the Schema or can be blank. It overwrites the master schema settings in the PropertiesschemaVersion - the version of the schema or can be null. It overwrites the master schema settings in the PropertiesInvalidDataException - the Schema could not be constructedObjectNotFoundException - no Schema was found for the name and versionpublic Script getAggregateScript() throws InvalidDataException, ObjectNotFoundException
InvalidDataExceptionObjectNotFoundExceptionpublic Script getAggregateScript(String scriptName, Integer scriptVersion) throws InvalidDataException, ObjectNotFoundException
scriptName - the name of the script received in the rest call (can be null)scriptVersion - the version of the script received in the rest call (can be null)InvalidDataExceptionObjectNotFoundExceptionpublic void subscribe(MemberSubscription<?> newSub)
public void unsubscribe(ProxyObserver<?> observer)
public void dumpSubscriptions(int logLevel)
public void notify(ProxyMessage message)
Copyright © 1997–2020 CRISTAL-iSE. All rights reserved.