Interface RegistryEntry

    • Field Detail

      • VERSION_REGISTRYENTRY

        static final com.redwood.scheduler.infrastructure.logging.Versions VERSION_REGISTRYENTRY
      • PATH_SEPARATOR

        static final String PATH_SEPARATOR
        Separator used to separate the hierarchical parts of the path; this character cannot be used in the name of a RegistryEntry.
        See Also:
        Constant Field Values
      • P_A_MICROSOFT_WINDOWS_LOCAL_INTERPRETER_BITS_PATH

        static final String P_A_MICROSOFT_WINDOWS_LOCAL_INTERPRETER_BITS_PATH
        Whether the default CMD runs as 32 or as 64 bit process on a 64 bit server.
        See Also:
        Constant Field Values
      • P_A_MICROSOFT_WINDOWS_LOCAL_INTERPRETER_BITS_DEFAULT

        static final Long P_A_MICROSOFT_WINDOWS_LOCAL_INTERPRETER_BITS_DEFAULT
        Whether the default CMD runs as 32 or as 64 bit process on a 64 bit server.
      • SPOOL_RETRIEVAL_PROCESSSERVER_OPTION_PATH

        static final String SPOOL_RETRIEVAL_PROCESSSERVER_OPTION_PATH
        How should the spool retrieval process server option be treated.
        See Also:
        Constant Field Values
      • ALLOW_SUN_IMPORT_REGISTRY_ENTRY

        static final String ALLOW_SUN_IMPORT_REGISTRY_ENTRY
        If this entry is present and set to true, the import allows the classes that starts with sun.com or sun.
        See Also:
        Constant Field Values
      • SEC_PRIV_VIEW

        static 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_CREATECHILDREN

        static final String SEC_PRIV_CREATECHILDREN
        This privilege can be granted at an instance level.
        See Also:
        Constant Field Values
      • SEC_PRIV_EDIT

        static 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_DELETE

        static 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_OWNER

        static final String SEC_RANK_OWNER
        This rank is made of the following privileges: view , createChildren
        See Also:
        Constant Field Values
      • SEC_RANK_ALL

        static final String SEC_RANK_ALL
        This rank is made of the following privileges: view , create , createChildren , edit , delete
        See Also:
        Constant Field Values
    • Method Detail

      • isOverrideAllowed

        boolean isOverrideAllowed()
        Get the value for OverrideAllowed. (Whether users can modify the value of this entry themselves.)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getValue

        String getValue()
        Get the value for Value. (Value of this key stored as textual data.)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getNumExtraValueLines

        Long getNumExtraValueLines()
        Get the value for NumExtraValueLines. (The number of additional lines that are present for the value attribute.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setOverrideAllowed

        void setOverrideAllowed​(boolean newOverrideAllowed)
        Set the value for OverrideAllowed. (Whether users can modify the value of this entry themselves.)
        Parameters:
        newOverrideAllowed - the new value for OverrideAllowed.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setValue

        void setValue​(String newValue)
        Set the value for Value. (Value of this key stored as textual data.) This value is optional.
        Parameters:
        newValue - the new value for Value.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getFullParentPath

        String getFullParentPath()
        Query full path to this registry entry. This builds the full registry path that points to this entry by traversing the parent links.
        Returns:
        String containing the full registry path to this entry. Each registry key is seperated by the '/' character.
      • setParentRegistryEntry

        void setParentRegistryEntry​(RegistryEntry newParentRegistryEntry)
        Set the value for ParentRegistryEntry. This value is optional.
        Parameters:
        newParentRegistryEntry - is the object to set ParentRegistryEntry to. Parent-child relationship for registry entries.
      • getChildRegistryEntryByName

        RegistryEntry getChildRegistryEntryByName​(String name)
        Get the RegistryEntry by NameParent.
        Parameters:
        name -
        Returns:
        the RegistryEntry, or null if it could not be found
      • 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.
      • 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.
      • checkCreateChildrenPrivilege

        RequiredPermission checkCreateChildrenPrivilege()
        Check whether or not the createChildren 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.