Package com.redwood.scheduler.api.model
Interface EventSourceDefinition
-
- All Superinterfaces:
Detail
,SchedulerEntity
,SchedulerEntityComp
- All Known Subinterfaces:
FileEventDefinition
public interface EventSourceDefinition extends Detail
Abstract class for definitions of event sources.
-
-
Field Summary
-
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getComment()
Get the value for Comment.String
getDescription()
Get the value for Description.EventDefinition
getEventDefinition()
Get the EventDefinition.String
getName()
Get the value for Name.String
getSearchName()
Get the value for SearchName.boolean
isEnabled()
Get the value for Enabled.void
setComment(String newComment)
Set the value for Comment.void
setDescription(String newDescription)
Set the value for Description.void
setEnabled(boolean newEnabled)
Set the value for Enabled.void
setName(String newName)
Set the value for Name.-
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
canPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
-
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
Get the value for Enabled. (Whether this event source definition is active or not.)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getComment
String getComment()
Get the value for Comment. (Optional comment)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getDescription
String getDescription()
Get the value for Description. (Optional description)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getName
String getName()
Get the value for Name. (The unique name of this object)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getSearchName
String getSearchName()
Get the value for SearchName. (The name of this object, normalized to allow for convenient database searching.)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setEnabled
void setEnabled(boolean newEnabled)
Set the value for Enabled. (Whether this event source definition is active or not.)- Parameters:
newEnabled
- the new value for Enabled.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setComment
void setComment(String newComment)
Set the value for Comment. (Optional comment) This value is optional.- Parameters:
newComment
- the new value for Comment.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setDescription
void setDescription(String newDescription)
Set the value for Description. (Optional description) This value is optional.- Parameters:
newDescription
- the new value for Description.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setName
void setName(String newName)
Set the value for Name. (The unique name of this object) This value is optional.- Parameters:
newName
- the new value for Name.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getEventDefinition
EventDefinition getEventDefinition()
Get the EventDefinition.- Returns:
- EventDefinition
- Throws:
com.redwood.scheduler.api.exception.ObjectDeletedException
- If this method is called when the object has been marked for deletion.com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- If this method is called when the object has been removed from it's session.
-
-