Package com.redwood.scheduler.api.model
Interface RemoteSystem
- 
- All Superinterfaces:
- ApplicationObject,- BusinessKeyObject,- NamedRootObject,- NamedRootObjectComp,- PartitionableObject,- PartitionableObjectComp,- Readable,- Root,- SchedulerEntity,- SchedulerEntityComp,- UniqueNamedApplicationObject
 
 public interface RemoteSystem extends UniqueNamedApplicationObject, Readable Remote System describes another scheduler instance that this system cann connect to or receive connections from.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "RemoteSystem" objects.static StringSEC_PRIV_CREATEThis privilege can be granted at a group level.static StringSEC_PRIV_DELETEThis privilege can be granted at a group level.static StringSEC_PRIV_EDITThis privilege can be granted at a group level.static StringSEC_PRIV_USEThis privilege can be granted at an instance level.static StringSEC_PRIV_VIEWThis privilege can be granted at a group level.static StringSEC_RANK_ALLThis rank is made of the following privileges: create , view , use , edit , deletestatic StringSEC_RANK_CREATEThis rank is made of the following privileges: createstatic StringSEC_RANK_DELETEThis rank is made of the following privileges: create , view , deletestatic StringSEC_RANK_EDITThis rank is made of the following privileges: create , view , use , editstatic StringSEC_RANK_NONEThis rank has no privileges assigned to it.static StringSEC_RANK_USEThis rank is made of the following privileges: view , usestatic StringSEC_RANK_VIEWThis rank is made of the following privileges: viewstatic QueryObjectType<RemoteSystem>TYPEType that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).- 
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 RequiredPermissioncheckCreatePrivilege()Check whether or not the create action can be performed on this object.RequiredPermissioncheckDeletePrivilege()Check whether or not the delete action can be performed on this object.RequiredPermissioncheckEditPrivilege()Check whether or not the edit action can be performed on this object.RequiredPermissioncheckUsePrivilege()Check whether or not the use action can be performed on this object.RequiredPermissioncheckViewPrivilege()Check whether or not the view action can be performed on this object.ImportRuleSetgetImportRuleSet()Get the ImportRuleSet.StringgetLocation()Get the value for Location.StringgetOptions()Get the value for Options.StringgetPassword()Get the value for Password.JobDefinitiongetPromoteFurtherJobDefinition()Get the PromoteFurtherJobDefinition.JobDefinitiongetPushAcceptorJobDefinition()Get the PushAcceptorJobDefinition.JobDefinitiongetPusherJobDefinition()Get the PusherJobDefinition.RemoteSystemTypegetType()Get the value for Type.StringgetUsername()Get the value for Username.booleanisAllowRuleSetOverride()Get the value for AllowRuleSetOverride.voidsetAllowRuleSetOverride(boolean newAllowRuleSetOverride)Set the value for AllowRuleSetOverride.voidsetImportRuleSet(ImportRuleSet newImportRuleSet)Set the value for ImportRuleSet.voidsetLocation(String newLocation)Set the value for Location.voidsetOptions(String newOptions)Set the value for Options.voidsetPassword(String newPassword)Set the value for Password.voidsetPromoteFurtherJobDefinition(JobDefinition newPromoteFurtherJobDefinition)Set the value for PromoteFurtherJobDefinition.voidsetPushAcceptorJobDefinition(JobDefinition newPushAcceptorJobDefinition)Set the value for PushAcceptorJobDefinition.voidsetPusherJobDefinition(JobDefinition newPusherJobDefinition)Set the value for PusherJobDefinition.voidsetType(RemoteSystemType newType)Set the value for Type.voidsetUsername(String newUsername)Set the value for Username.- 
Methods inherited from interface com.redwood.scheduler.api.model.ApplicationObjectgetParentApplication, setParentApplication
 - 
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObjectgetBusinessKey
 - 
Methods inherited from interface com.redwood.scheduler.api.model.NamedRootObjectcreateObjectReference, getComment, getDescription, getLinkedObjectReferenceByLinkedObject, getLinkedObjectReferenceByName, getLinkedObjectReferences, getName, getSearchName, getSourceObjectReferences, isHidden, setComment, setDescription, setName
 - 
Methods inherited from interface com.redwood.scheduler.api.model.PartitionableObjectcreateObjectTag, getEditablePartitions, getObjectTagByObjectTagDefinition, getObjectTags, getPartition, setPartition
 - 
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
 
- 
 
- 
- 
- 
Field Detail- 
OBJECT_TYPEstatic final String OBJECT_TYPE String that will be returned fromSchedulerEntity.getObjectType()for "RemoteSystem" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<RemoteSystem> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
SEC_PRIV_CREATEstatic final String SEC_PRIV_CREATE This privilege can be granted at a group level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_VIEWstatic final String SEC_PRIV_VIEW This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_USEstatic final String SEC_PRIV_USE This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_EDITstatic final String SEC_PRIV_EDIT This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_DELETEstatic final String SEC_PRIV_DELETE This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_NONEstatic final String SEC_RANK_NONE This rank has no privileges assigned to it.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_CREATEstatic final String SEC_RANK_CREATE This rank is made of the following privileges: create- See Also:
- Constant Field Values
 
 - 
SEC_RANK_VIEWstatic final String SEC_RANK_VIEW This rank is made of the following privileges: view- See Also:
- Constant Field Values
 
 - 
SEC_RANK_USEstatic final String SEC_RANK_USE This rank is made of the following privileges: view , use- See Also:
- Constant Field Values
 
 - 
SEC_RANK_EDITstatic final String SEC_RANK_EDIT This rank is made of the following privileges: create , view , use , edit- See Also:
- Constant Field Values
 
 - 
SEC_RANK_DELETEstatic final String SEC_RANK_DELETE This rank is made of the following privileges: create , view , delete- See Also:
- Constant Field Values
 
 - 
SEC_RANK_ALLstatic final String SEC_RANK_ALL This rank is made of the following privileges: create , view , use , edit , delete- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getLocationString getLocation() Get the value for Location. (Location url where the remote system can be reached.)- 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.
 
 - 
getUsernameString getUsername() Get the value for Username. (Name of the user to use to login.)- 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.
 
 - 
getPasswordString getPassword() Get the value for Password. (Password of the user to use to login.)- 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.
 
 - 
getTypeRemoteSystemType getType() Get the value for Type. (What is the type of the remote system.) 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.
 
 - 
isAllowRuleSetOverrideboolean isAllowRuleSetOverride() Get the value for AllowRuleSetOverride. (Is it allowed for the import to override the Import Rule Set.)- 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.
 
 - 
getOptionsString getOptions() Get the value for Options. (This field is only valid when the Remote System type is Destination or Both, and would contain command line parameters in the same format as accepted by the command line tool.)- 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.
 
 - 
setLocationvoid setLocation(String newLocation) Set the value for Location. (Location url where the remote system can be reached.) This value is optional.- Parameters:
- newLocation- the new value for Location.
- 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.
 
 - 
setUsernamevoid setUsername(String newUsername) Set the value for Username. (Name of the user to use to login.) This value is optional.- Parameters:
- newUsername- the new value for Username.
- 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.
 
 - 
setPasswordvoid setPassword(String newPassword) Set the value for Password. (Password of the user to use to login.) This value is optional.- Parameters:
- newPassword- the new value for Password.
- 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.
 
 - 
setTypevoid setType(RemoteSystemType newType) Set the value for Type. (What is the type of the remote system.) This value is mandatory.- Parameters:
- newType- the new value for Type. 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.
 
 - 
setAllowRuleSetOverridevoid setAllowRuleSetOverride(boolean newAllowRuleSetOverride) Set the value for AllowRuleSetOverride. (Is it allowed for the import to override the Import Rule Set.)- Parameters:
- newAllowRuleSetOverride- the new value for AllowRuleSetOverride.
- 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.
 
 - 
setOptionsvoid setOptions(String newOptions) Set the value for Options. (This field is only valid when the Remote System type is Destination or Both, and would contain command line parameters in the same format as accepted by the command line tool.) This value is optional.- Parameters:
- newOptions- the new value for Options.
- 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.
 
 - 
getPushAcceptorJobDefinitionJobDefinition getPushAcceptorJobDefinition() Get the PushAcceptorJobDefinition.- Returns:
- PushAcceptorJobDefinition
- 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.
 
 - 
getPusherJobDefinitionJobDefinition getPusherJobDefinition() Get the PusherJobDefinition.- Returns:
- PusherJobDefinition
- 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.
 
 - 
getPromoteFurtherJobDefinitionJobDefinition getPromoteFurtherJobDefinition() Get the PromoteFurtherJobDefinition.- Returns:
- PromoteFurtherJobDefinition
- 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.
 
 - 
getImportRuleSetImportRuleSet getImportRuleSet() Get the ImportRuleSet.- Returns:
- ImportRuleSet
- 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.
 
 - 
setPushAcceptorJobDefinitionvoid setPushAcceptorJobDefinition(JobDefinition newPushAcceptorJobDefinition) Set the value for PushAcceptorJobDefinition. This value is optional.- Parameters:
- newPushAcceptorJobDefinition- is the object to set PushAcceptorJobDefinition to. The job definition that is used to import an archive when using promotion.
 
 - 
setPusherJobDefinitionvoid setPusherJobDefinition(JobDefinition newPusherJobDefinition) Set the value for PusherJobDefinition. This value is optional.- Parameters:
- newPusherJobDefinition- is the object to set PusherJobDefinition to. The jobdefinition that is used to export an archive when using promotion.
 
 - 
setPromoteFurtherJobDefinitionvoid setPromoteFurtherJobDefinition(JobDefinition newPromoteFurtherJobDefinition) Set the value for PromoteFurtherJobDefinition. This value is optional.- Parameters:
- newPromoteFurtherJobDefinition- is the object to set PromoteFurtherJobDefinition to. The jobdefinition that is used to promote an archive when using promote further.
 
 - 
setImportRuleSetvoid setImportRuleSet(ImportRuleSet newImportRuleSet) Set the value for ImportRuleSet. This value is optional.- Parameters:
- newImportRuleSet- is the object to set ImportRuleSet to. The Import Rule Set that is going to be applied when a remote system is pushing a car file.
 
 - 
checkCreatePrivilegeRequiredPermission checkCreatePrivilege() Check whether or not the create action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 - 
checkViewPrivilegeRequiredPermission checkViewPrivilege() Check whether or not the view action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 - 
checkUsePrivilegeRequiredPermission checkUsePrivilege() Check whether or not the use action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 - 
checkEditPrivilegeRequiredPermission checkEditPrivilege() Check whether or not the edit action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 - 
checkDeletePrivilegeRequiredPermission checkDeletePrivilege() Check whether or not the delete action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 
- 
 
-