Interface DatumDefinition

    • Method Detail

      • isCopiedToNewJob

        boolean isCopiedToNewJob()
        Get the value for CopiedToNewJob. (When set to true, the JobDatum will be copied when the Job is duplicated (pre-submit, resubmit, duplicateJob).)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setCopiedToNewJob

        void setCopiedToNewJob​(boolean newCopiedToNewJob)
        Set the value for CopiedToNewJob. (When set to true, the JobDatum will be copied when the Job is duplicated (pre-submit, resubmit, duplicateJob).)
        Parameters:
        newCopiedToNewJob - the new value for CopiedToNewJob.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • 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.