Package com.redwood.scheduler.api.model
Interface NamedRootObject
- 
- All Superinterfaces:
- NamedRootObjectComp,- Root,- SchedulerEntity,- SchedulerEntityComp
 - All Known Subinterfaces:
- AdHocAlertSource,- AlertEscalation,- AlertGateway,- AlertSource,- Application,- ApplicationObject,- AuditRule,- BranchedUniqueNamedApplicationObject,- ConstraintDefinition,- CredentialProtocol,- Dashboard,- Database,- DatumDefinition,- Document,- EmailAlertGateway,- EventDefinition,- ExportRuleSet,- ExtensionPoint,- Format,- GlobalPrivilege,- ImportRuleDefinition,- ImportRuleSet,- ImportSource,- IsolationGroup,- JobDefinition,- JobDefinitionAlertSource,- JobDefinitionParameterSubType,- JobDefinitionType,- JobLock,- LDAPProfile,- Library,- LinkableMonitor,- MailConnector,- Monitor,- MonitorAlertSource,- MonitorCheck,- MonitorLink,- MonitorNode,- NavigationBar,- ObjectTagDefinition,- OraAppsSystem,- OraOhiSystem,- Partition,- PartitionableObject,- PeopleSoftSystem,- PeriodFunction,- ProcessMonitor,- ProcessMonitorDefinition,- ProcessServer,- ProcessServerAlertSource,- QueryCondition,- QueryFilter,- Queue,- QueueAlertSource,- R2WCatalog,- RegistryEntry,- RemoteSystem,- Resource,- SAPBAEConnector,- SAPSystem,- Service,- SoftwareGroup,- SubmitFrame,- Table,- TableDefinition,- TimeWindow,- TimeZone,- Trigger,- UniqueNamedApplicationObject,- Visualization,- VisualizationAlert,- VisualizationProcessServerQueue
 
 public interface NamedRootObject extends NamedRootObjectComp, Root An object which has a Name, comment and description.
- 
- 
Field Summary- 
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntityACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectReferencecreateObjectReference(NamedRootObject otherObject)Create an ObjectReference object.StringgetComment()Get the value for Comment.StringgetDescription()Get the value for Description.ObjectReferencegetLinkedObjectReferenceByLinkedObject(NamedRootObject searchObject)Retrieve the ObjectReference that points to given NamedRootObject, if there is one, returns null otherwise.ObjectReferencegetLinkedObjectReferenceByName(String searchName)Retrieve a linked object reference by it's search name.RWIterable<ObjectReference>getLinkedObjectReferences()Return all ObjectReferences this NamedRootObject is the source for.StringgetName()Get the value for Name.StringgetSearchName()Get the value for SearchName.RWIterable<ObjectReference>getSourceObjectReferences()Return all ObjectReferences this NamedRootObject is linked in.booleanisHidden()Get the value for Hidden.voidsetComment(String newComment)Set the value for Comment.voidsetDescription(String newDescription)Set the value for Description.voidsetName(String newName)Set the value for Name.- 
Methods inherited from interface com.redwood.scheduler.api.model.RootgetCreationTime, getLastModificationTime, getLastModifierSubject
 - 
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntitycanPerform, 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- 
getCommentString 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.
 
 - 
getDescriptionString 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.
 
 - 
getNameString getName() Get the value for Name. (The unique name of this object) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- 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.
 
 - 
getSearchNameString getSearchName() Get the value for SearchName. (The name of this object, normalized to allow for convenient database searching.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- 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.
 
 - 
isHiddenboolean isHidden() Get the value for Hidden. ( When a NamedRootObject is flagged as hidden, this object will become an 'Internal object', the name will forcefully be changed to System_Internal_<Object Type>_<Object Unique Id>. The renaming is done only, when the object does not start with System_Internal_. If it does, the name is left as such. Hidden objects are treated differently in the user interface. In normal overviews of NamedRootObjects such as a JobDefinition these hidden entities are not shown. Also in LOV's they will not be visible. )- 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.
 
 - 
setCommentvoid 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.
 
 - 
setDescriptionvoid 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.
 
 - 
setNamevoid setName(String newName) Set the value for Name. (The unique name of this object) This value is mandatory.- Parameters:
- newName- the new value for Name. If this is- null, then the object cannot be persisted.
- 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.
 
 - 
createObjectReferenceObjectReference createObjectReference(NamedRootObject otherObject) Create an ObjectReference object. This links the other object to this NamedRootObject such that it cannot be deleted, unless either the link is removed, or the NamedRootObject is also deleted. This is particularly useful if you want to ensure that promotion works correctly, when referring to other objects, as the import will fail unless the other object is also imported, or already exists.- Parameters:
- otherObject- The other object to create the link to
- Returns:
- The created ObjectReference
 
 - 
getLinkedObjectReferenceByNameObjectReference getLinkedObjectReferenceByName(String searchName) Retrieve a linked object reference by it's search name. If not found, returns null.- Parameters:
- searchName- The search name of the object reference
- Returns:
- The ObjectReference when found or null if not found
 
 - 
getLinkedObjectReferenceByLinkedObjectObjectReference getLinkedObjectReferenceByLinkedObject(NamedRootObject searchObject) Retrieve the ObjectReference that points to given NamedRootObject, if there is one, returns null otherwise.- Parameters:
- searchObject- The search object the ObjectReference must point to
- Returns:
- The ObjectReference when found or null if not found
 
 - 
getLinkedObjectReferencesRWIterable<ObjectReference> getLinkedObjectReferences() Return all ObjectReferences this NamedRootObject is the source for. Empty RWIterable if none.- Specified by:
- getLinkedObjectReferencesin interface- NamedRootObjectComp
- Returns:
- RWIterable with object references, or empty RWIterable if none.
 
 - 
getSourceObjectReferencesRWIterable<ObjectReference> getSourceObjectReferences() Return all ObjectReferences this NamedRootObject is linked in. Empty RWIterable if none.- Specified by:
- getSourceObjectReferencesin interface- NamedRootObjectComp
- Returns:
- RWIterable with object references, or empty RWIterable if none.
 
 
- 
 
-