Package | Description |
---|---|
ch.agent.crnickl.api |
Interfaces and classes for use by client applications.
|
ch.agent.crnickl.impl |
Generic implementation of the CrNiCKL API.
|
Modifier and Type | Method and Description |
---|---|
DBObjectType |
Surrogate.getDBObjectType()
Return a keyword identifying the type of database object of this surrogate.
|
DBObjectType |
UpdateEvent.getType()
Return the type of the database object source of the event.
|
static DBObjectType |
DBObjectType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DBObjectType[] |
DBObjectType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
UpdateEventPublisher.subscribe(UpdateEventSubscriber subscriber,
DBObjectType type,
boolean priority)
Add a subscriber to event for a given database object type.
|
Modifier and Type | Method and Description |
---|---|
DBObjectType |
SurrogateImpl.getDBObjectType() |
DBObjectType |
UpdateEventImpl.getType() |
Modifier and Type | Method and Description |
---|---|
protected void |
DatabaseBackendImpl.checkSurrogate(Surrogate surrogate,
DBObjectType required)
Check the validity of a surrogate for this database and a given database object type.
|
boolean |
UpdateEventPublisherImpl.Subscription.isSubscribed(DBObjectType type)
Return true if the event type is subscribed.
|
Surrogate |
DatabaseMethodsImpl.makeSurrogate(Database db,
DBObjectType dot,
DBObjectId id) |
Surrogate |
DatabaseMethods.makeSurrogate(Database db,
DBObjectType dot,
DBObjectId id)
Create a surrogate for a database object.
|
void |
UpdateEventPublisherImpl.Subscription.subscribe(DBObjectType type)
Subscribe to an event type.
|
void |
UpdateEventPublisherImpl.subscribe(UpdateEventSubscriber subscriber,
DBObjectType type,
boolean priority) |
void |
UpdateEventPublisherImpl.Subscription.unsubscribe(DBObjectType type)
Cancel the subscription to an event type.
|
Constructor and Description |
---|
SurrogateImpl(DatabaseBackend db,
DBObjectType dot,
DBObjectId id)
Construct a
Surrogate . |
Copyright © 2017. All rights reserved.