public interface Subscription extends RepositoryObject, ActionConsumer
EventAction
and
Subscribable
objects,
which represent the event action and target object,
must exist before you can create a Subscription
object and persist it.
Subscription
is the base class for subclasses defined with specialized
behavior. You can create objects for the subclasses, but you
cannot create a base Subscription
object. You can, however,
instantiate one in the following ways:
getInstance
or fetchInstance
method on the
Factory.Subscription
class.get_Subscriptions
on an
ObjectStore
object
or an EventAction
object,
then iterating the SubscriptionSet
collection.get_WorkflowSourceSubscriptions
on a
WorkflowDefinition
object,
then interating the SubscriptionSet
collection.Modifier and Type | Method and Description |
---|---|
void |
changeClass(java.lang.String className)
Changes the class of a Content Engine object.
|
EventAction |
get_EventAction()
Returns the value of the EventAction property.
|
java.lang.String |
get_FilteredPropertyId()
Returns the value of the FilteredPropertyId property.
|
java.lang.String |
get_FilterExpression()
Returns the value of the FilterExpression property.
|
java.lang.Boolean |
get_IsEnabled()
Returns the value of the IsEnabled property.
|
java.lang.Boolean |
get_IsSynchronous()
Returns the value of the IsSynchronous property.
|
SubscribedEventList |
get_SubscribedEvents()
Returns the value of the SubscribedEvents property.
|
Subscribable |
get_SubscriptionTarget()
Returns the value of the SubscriptionTarget property.
|
java.lang.String |
get_UserString()
Returns the value of the UserString property.
|
void |
set_EventAction(EventAction value)
Sets the value of the EventAction property.
|
void |
set_FilteredPropertyId(java.lang.String value)
Sets the value of the FilteredPropertyId property.
|
void |
set_FilterExpression(java.lang.String value)
Sets the value of the FilterExpression property.
|
void |
set_IsEnabled(java.lang.Boolean value)
Sets the value of the IsEnabled property.
|
void |
set_IsSynchronous(java.lang.Boolean value)
Sets the value of the IsSynchronous property.
|
void |
set_SubscribedEvents(SubscribedEventList value)
Sets the value of the SubscribedEvents property.
|
void |
set_SubscriptionTarget(Subscribable value)
Sets the value of the SubscriptionTarget property.
|
void |
set_UserString(java.lang.String value)
Sets the value of the UserString property.
|
get_ActiveMarkings, get_AuditedEvents, get_Creator, get_DateCreated, get_DateLastModified, get_DescriptiveText, get_DisplayName, get_Id, get_LastModifier, get_Name, get_Owner, get_Permissions, set_Creator, set_DateCreated, set_DateLastModified, set_DescriptiveText, set_DisplayName, set_LastModifier, set_Owner, set_Permissions
getObjectStore
get_ExternalReplicaIdentities, get_ReplicationGroup, set_ExternalReplicaIdentities, set_ReplicationGroup
raiseEvent
addPendingAction, clearPendingActions, delete, getAccessAllowed, getPendingActions, getUpdateSequenceNumber, isCurrent, save, save, setUpdateSequenceNumber
fetchProperties, fetchProperties, fetchProperty, fetchProperty, getObjectReference, refresh, refresh, refresh
get_ClassDescription, getClassName, getConnection, getProperties, getSuperClasses
EventAction get_EventAction()
void set_EventAction(EventAction value)
Subscribable get_SubscriptionTarget()
void set_SubscriptionTarget(Subscribable value)
java.lang.Boolean get_IsEnabled()
void set_IsEnabled(java.lang.Boolean value)
java.lang.Boolean get_IsSynchronous()
void set_IsSynchronous(java.lang.Boolean value)
java.lang.String get_FilterExpression()
void set_FilterExpression(java.lang.String value)
java.lang.String get_FilteredPropertyId()
void set_FilteredPropertyId(java.lang.String value)
java.lang.String get_UserString()
void set_UserString(java.lang.String value)
SubscribedEventList get_SubscribedEvents()
void set_SubscribedEvents(SubscribedEventList value)
void changeClass(java.lang.String className)
changeClass
method does not modify the security for an object, even if the object's current security
is derived from the default security for its source class. For the object's user-defined properties,
the following rules apply:
null
if there is no default defined).null
) as the default value defined in the original class will be set
to the default value defined by the new class. However, any user-defined property that has had its value
modified from the default value will retain that modified value in the new class.When the class of a document object is changed, the default document lifecycle policy of the new class will only be applied to the document object's DocumentLifecyclePolicy property if both of the following scenarios occur:
Changing the document class of a document object has no effect on the storage location of the document’s content. For more information, see the Document Storage topic in the "Document Concepts" section of the Content Engine Java and .NET API Developer’s Guide.
className
- A String
specifying the symbolic name, ClassNames
constant, ID, or GUIDConstants
constant of the class to which this object is to be changed.E_NULL_OR_INVALID_PARAM_VALUE
- if className
is null
or has a length of zero.© Copyright IBM Corporation 2006, 2015. All rights reserved.