Package com.redwood.scheduler.api.model
Interface OracleConnection
- 
- All Superinterfaces:
- Root,- SchedulerEntity,- SchedulerEntityComp
 
 public interface OracleConnection extends Root Show all Oracle connections that are present.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "OracleConnection" objects.static QueryObjectType<OracleConnection>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 LonggetIdletime()Get the value for Idletime.LonggetOracleInstanceId()Get the value for OracleInstanceId.StringgetOracleSessionId()Get the value for OracleSessionId.StringgetOracleUsername()Get the value for OracleUsername.StringgetPipeNameIn()Get the value for PipeNameIn.StringgetPipeNameOut()Get the value for PipeNameOut.DateTimeZonegetPrivateLastAccesstime()Get the value for PrivateLastAccesstime.voidsetOracleInstanceId(Long newOracleInstanceId)Set the value for OracleInstanceId.voidsetOracleSessionId(String newOracleSessionId)Set the value for OracleSessionId.voidsetOracleUsername(String newOracleUsername)Set the value for OracleUsername.voidsetPipeNameIn(String newPipeNameIn)Set the value for PipeNameIn.voidsetPipeNameOut(String newPipeNameOut)Set the value for PipeNameOut.voidsetPrivateLastAccesstime(DateTimeZone newPrivateLastAccesstime)Set the value for PrivateLastAccesstime.voidStopConnection()Stops only the connection.voidStopEverything()Stops everything .- 
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 "OracleConnection" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<OracleConnection> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 
- 
 - 
Method Detail- 
getOracleSessionIdString getOracleSessionId() Get the value for OracleSessionId. (Unique oracle session ID.) 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.
 
 - 
getPipeNameInString getPipeNameIn() Get the value for PipeNameIn. (Unique incoming Pipe name.) 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.
 
 - 
getPipeNameOutString getPipeNameOut() Get the value for PipeNameOut. (Unique outgoing Pipe name.) 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.
 
 - 
getOracleUsernameString getOracleUsername() Get the value for OracleUsername. (Oracle username.) 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.
 
 - 
getPrivateLastAccesstimeDateTimeZone getPrivateLastAccesstime() Get the value for PrivateLastAccesstime. (This attribute is used to set the last access time from the oracle to cronacle.) 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.
 
 - 
getIdletimeLong getIdletime() Get the value for Idletime. (Calculated idletime) 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.
 
 - 
getOracleInstanceIdLong getOracleInstanceId() Get the value for OracleInstanceId. (The Oracle instance ID) 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.
 
 - 
setOracleSessionIdvoid setOracleSessionId(String newOracleSessionId) Set the value for OracleSessionId. (Unique oracle session ID.) This value is mandatory.- Parameters:
- newOracleSessionId- the new value for OracleSessionId. 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.
 
 - 
setPipeNameInvoid setPipeNameIn(String newPipeNameIn) Set the value for PipeNameIn. (Unique incoming Pipe name.) This value is mandatory.- Parameters:
- newPipeNameIn- the new value for PipeNameIn. 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.
 
 - 
setPipeNameOutvoid setPipeNameOut(String newPipeNameOut) Set the value for PipeNameOut. (Unique outgoing Pipe name.) This value is mandatory.- Parameters:
- newPipeNameOut- the new value for PipeNameOut. 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.
 
 - 
setOracleUsernamevoid setOracleUsername(String newOracleUsername) Set the value for OracleUsername. (Oracle username.) This value is mandatory.- Parameters:
- newOracleUsername- the new value for OracleUsername. 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.
 
 - 
setPrivateLastAccesstimevoid setPrivateLastAccesstime(DateTimeZone newPrivateLastAccesstime) Set the value for PrivateLastAccesstime. (This attribute is used to set the last access time from the oracle to cronacle.) This value is mandatory.- Parameters:
- newPrivateLastAccesstime- the new value for PrivateLastAccesstime. 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.
 
 - 
setOracleInstanceIdvoid setOracleInstanceId(Long newOracleInstanceId) Set the value for OracleInstanceId. (The Oracle instance ID) This value is mandatory.- Parameters:
- newOracleInstanceId- the new value for OracleInstanceId. 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.
 
 - 
StopEverythingvoid StopEverything() Stops everything .
 - 
StopConnectionvoid StopConnection() Stops only the connection.
 
- 
 
-