Interface TimeZone

    • Method Detail

      • getOlsonName

        String getOlsonName()
        Get the value for OlsonName. (The name of the timezone in the Olson database) 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.
      • isShowInList

        boolean isShowInList()
        Get the value for ShowInList. (Should this timezone be used in the timezone list)
        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.
      • setShowInList

        void setShowInList​(boolean newShowInList)
        Set the value for ShowInList. (Should this timezone be used in the timezone list)
        Parameters:
        newShowInList - the new value for ShowInList.
        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.
      • getJavaTimeZone

        TimeZone getJavaTimeZone()
        Get the Java TimeZone object for this database object.
        Returns:
        The Java TimeZone
      • 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.