Package | Description |
---|---|
com.caplin.transformer.module |
Provides the core interfaces and classes that are required to write a Java Transformer module.
|
com.caplin.transformer.module.datasrc |
Provides the classes used to represent the either an update received for a DataSource object, or
the cached data for a DataSource object.
|
Modifier and Type | Field and Description |
---|---|
static ObjectType |
ObjectType.CONTAINER
A container object.
|
static ObjectType |
ObjectType.GENERIC
The object does not exist in the Transformer cache.
|
static ObjectType |
ObjectType.NEWS
A news headline object.
|
static ObjectType |
ObjectType.PAGE
A page object.
|
static ObjectType |
ObjectType.PERMISSION
A permission object.
|
static ObjectType |
ObjectType.RECORD
A record object.
|
static ObjectType |
ObjectType.RECORD_TYPE2
A type 2 record object.
|
static ObjectType |
ObjectType.RECORD_TYPE3
A type 3 record object.
|
static ObjectType |
ObjectType.STORY
A news story object.
|
static ObjectType |
ObjectType.UNDEFINED
The object does not exist in the Transformer cache.
|
static ObjectType |
ObjectType.UNKNOWN
The object exists but Transformer does not know what type it is yet.
|
Modifier and Type | Method and Description |
---|---|
static ObjectType |
ObjectType.getObjectType(int typeCode)
Gets the ObjectType that represents the specified code.
|
ObjectType |
DataCache.getObjectType(String objectName)
Gets the type code for the object with the specified name from the Transformer
core cache.
|
Modifier and Type | Method and Description |
---|---|
void |
Subscriber.addSubscriptionListener(ObjectType objectType,
SubscriptionListener listener)
Adds the subscription listener for the specified object type
and returns the current data for that object to the listener.
|
void |
Subscriber.addSubscriptionListener(ObjectType objectType,
SubscriptionListener listener,
int subscriptionFlags)
Adds the subscription listener for the specified object type
and returns the current data for that object to the listener.
|
void |
Subscriber.removeSubscriptionListener(ObjectType objectType,
SubscriptionListener listener)
Removes the subscription listener for the specified object
type.
|
Modifier and Type | Method and Description |
---|---|
ObjectType |
TransformerDataImpl.getObjectType() |
ObjectType |
TransformerData.getObjectType()
Gets the update's object type.
|
Modifier and Type | Method and Description |
---|---|
static TransformerData |
DSFactory.createTransformerData(String subject,
ObjectType objectType)
Creates a TransformerData for the specified subject and object
type.
|
static TransformerData |
DSFactory.createTransformerData(String subject,
ObjectType objectType,
int flags)
Creates a TransformerData for the specified subject, object
type and data source flags.
|
void |
TransformerDataImpl.setType(ObjectType objectType) |
void |
TransformerData.setType(ObjectType objectType)
Sets the update's object type to the specified type.
|
Please send bug reports and comments to Caplin support