Package com.redwood.scheduler.api.model
Interface SAPOutputDevice
- 
- All Superinterfaces:
- BusinessKeyObject,- Detail,- NamedDetailObject,- Readable,- SAPOutputDeviceComp,- SchedulerEntity,- SchedulerEntityComp
 
 public interface SAPOutputDevice extends SAPOutputDeviceComp, NamedDetailObject, BusinessKeyObject, Readable Output Device.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "SAPOutputDevice" objects.static StringSEC_RANK_ALLThis rank is made of the following privileges:static StringSEC_RANK_NONEThis rank has no privileges assigned to it.static QueryObjectType<SAPOutputDevice>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 SAPOutputFormatcreateSAPOutputFormat()Create a newSAPOutputFormatlinked to this object.StringgetAccessMethod()Get the value for AccessMethod.StringgetDeviceType()Get the value for DeviceType.StringgetHostPrinter()Get the value for HostPrinter.SAPOutputFormatgetSAPOutputFormatByName(String name)Get the SAPOutputFormat by NameSAPOutputDevice.RWIterable<SAPOutputFormat>getSAPOutputFormats()Get anRWIterableover an ordered collection ofSAPOutputFormats.SAPSystemgetSAPSystem()Get the SAPSystem.StringgetStatusMessage()Get the value for StatusMessage.booleanisLocked()Get the value for Locked.voidsetAccessMethod(String newAccessMethod)Set the value for AccessMethod.voidsetDeviceType(String newDeviceType)Set the value for DeviceType.voidsetHostPrinter(String newHostPrinter)Set the value for HostPrinter.voidsetLocked(boolean newLocked)Set the value for Locked.voidsetStatusMessage(String newStatusMessage)Set the value for StatusMessage.- 
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObjectgetBusinessKey
 - 
Methods inherited from interface com.redwood.scheduler.api.model.NamedDetailObjectgetComment, getDescription, getName, getSearchName, setComment, setDescription, setName
 - 
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 "SAPOutputDevice" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<SAPOutputDevice> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
SEC_RANK_NONEstatic final String SEC_RANK_NONE This rank has no privileges assigned to it.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_ALLstatic final String SEC_RANK_ALL This rank is made of the following privileges:- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getDeviceTypeString getDeviceType() Get the value for DeviceType. (Device type name)- 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.
 
 - 
getStatusMessageString getStatusMessage() Get the value for StatusMessage. (Status message (or copy of location))- 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.
 
 - 
getAccessMethodString getAccessMethod() Get the value for AccessMethod. (Host spool system access method)- 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.
 
 - 
getHostPrinterString getHostPrinter() Get the value for HostPrinter. (Long name of printers for host spooler)- 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.
 
 - 
isLockedboolean isLocked() Get the value for Locked. (Output device not released)- 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.
 
 - 
setDeviceTypevoid setDeviceType(String newDeviceType) Set the value for DeviceType. (Device type name) This value is optional.- Parameters:
- newDeviceType- the new value for DeviceType.
- 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.
 
 - 
setStatusMessagevoid setStatusMessage(String newStatusMessage) Set the value for StatusMessage. (Status message (or copy of location)) This value is optional.- Parameters:
- newStatusMessage- the new value for StatusMessage.
- 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.
 
 - 
setAccessMethodvoid setAccessMethod(String newAccessMethod) Set the value for AccessMethod. (Host spool system access method) This value is optional.- Parameters:
- newAccessMethod- the new value for AccessMethod.
- 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.
 
 - 
setHostPrintervoid setHostPrinter(String newHostPrinter) Set the value for HostPrinter. (Long name of printers for host spooler) This value is optional.- Parameters:
- newHostPrinter- the new value for HostPrinter.
- 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.
 
 - 
setLockedvoid setLocked(boolean newLocked) Set the value for Locked. (Output device not released)- Parameters:
- newLocked- the new value for Locked.
- 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.
 
 - 
getSAPSystemSAPSystem getSAPSystem() Get the SAPSystem.- Returns:
- SAPSystem
- 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.
 
 - 
getSAPOutputFormatsRWIterable<SAPOutputFormat> getSAPOutputFormats() Get anRWIterableover an ordered collection ofSAPOutputFormats. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. Format of a SAP output device.- Specified by:
- getSAPOutputFormatsin interface- SAPOutputDeviceComp
- Returns:
- An RWIterableover an ordered collection ofSAPOutputFormatobjects .
 
 - 
createSAPOutputFormatSAPOutputFormat createSAPOutputFormat() Create a newSAPOutputFormatlinked to this object.- Returns:
- a new SAPOutputFormat.
 
 - 
getSAPOutputFormatByNameSAPOutputFormat getSAPOutputFormatByName(String name) Get the SAPOutputFormat by NameSAPOutputDevice.- Parameters:
- name-
- Returns:
- the SAPOutputFormat, or nullif it could not be found
 
 
- 
 
-