Interface OraOhiSystem

    • Method Detail

      • getJobHandlingEnabled

        JobHandlingType getJobHandlingEnabled()
        Get the value for JobHandlingEnabled. (Should the job interception and synchronization for this Oracle Health Insurance System be enabled?) This value is mandatory, and therefore will not be null if 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.
      • setJobHandlingEnabled

        void setJobHandlingEnabled​(JobHandlingType newJobHandlingEnabled)
        Set the value for JobHandlingEnabled. (Should the job interception and synchronization for this Oracle Health Insurance System be enabled?) This value is mandatory.
        Parameters:
        newJobHandlingEnabled - the new value for JobHandlingEnabled. 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.
      • changeDatabasePassword

        String changeDatabasePassword()
        Change the password for the current connection user.
        Returns:
        Change the password in Cronacle and the external system for the current connection user.
      • getDatabaseConnectString

        String getDatabaseConnectString()
        Get the connection string for connecting to the Oracle Health Insurance System. This connection string is persisted to the Database object associated with the Oracle Health Insurance System.
        Returns:
        The connection string for connecting to the Oracle Health Insurance System.
      • getDatabaseUserName

        String getDatabaseUserName()
        Get the username for connecting to the Oracle Health Insurance System. This username is persisted to the Database object associated with the Oracle Health Insurance System.
        Returns:
        The username for connecting to the Oracle Health Insurance System.
      • init

        void init()
        Perform initialization tasks for the Oracle Health Insurance System.
      • getProcessServer

        ProcessServer getProcessServer()
        Get the ProcessServer.
        Returns:
        ProcessServer
        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.
      • getQueue

        Queue getQueue()
        Get the Queue.
        Returns:
        Queue
        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.
      • getDefaultJobTimeZone

        TimeZone getDefaultJobTimeZone()
        Get the DefaultJobTimeZone.
        Returns:
        DefaultJobTimeZone
        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.
      • getDatabase

        Database getDatabase()
        Get the Database.
        Returns:
        Database
        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.
      • setProcessServer

        void setProcessServer​(ProcessServer newProcessServer)
        Set the value for ProcessServer. This value is mandatory.
        Parameters:
        newProcessServer - is the object to set ProcessServer to. Link the Oracle Health Insurance system to its corresponding process server. If this is null, then the object cannot be persisted.
      • setQueue

        void setQueue​(Queue newQueue)
        Set the value for Queue. This value is mandatory.
        Parameters:
        newQueue - is the object to set Queue to. Link the Oracle Health Insurance system to its corresponding default queue. If this is null, then the object cannot be persisted.
      • setDefaultJobTimeZone

        void setDefaultJobTimeZone​(TimeZone newDefaultJobTimeZone)
        Set the value for DefaultJobTimeZone. This value is mandatory.
        Parameters:
        newDefaultJobTimeZone - is the object to set DefaultJobTimeZone to. Which TimeZone will be ascribed to the Jobs DateTimeZone fields by default. If this is null, then the object cannot be persisted.
      • setDatabase

        void setDatabase​(Database newDatabase)
        Set the value for Database. This value is optional.
        Parameters:
        newDatabase - is the object to set Database to. Link the Oracle Health Insurance system to its corresponding database object.
      • checkCreatePrivilege

        RequiredPermission checkCreatePrivilege()
        Check whether or not the create action can be performed on this object.
        Returns:
        a RequiredPermission instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
      • checkViewPrivilege

        RequiredPermission checkViewPrivilege()
        Check whether or not the view action can be performed on this object.
        Returns:
        a RequiredPermission instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
      • checkEditPrivilege

        RequiredPermission checkEditPrivilege()
        Check whether or not the edit action can be performed on this object.
        Returns:
        a RequiredPermission instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
      • checkDeletePrivilege

        RequiredPermission checkDeletePrivilege()
        Check whether or not the delete action can be performed on this object.
        Returns:
        a RequiredPermission instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.