Interface UserServiceObjectContext

    • Method Detail

      • getValueContext

        ValueContext getValueContext​(ObjectKey anObjectKey)
        Returns the value context for object ObjectKey.

        This method returns the same result as getValueContext(ObjectKey anObjectKey, Path.ROOT).

        Parameters:
        anObjectKey - the key of the object in the object context.
        Returns:
        The value context.
        Throws:
        RuntimeException - if anObjectKey is invalid.
      • getValueContext

        ValueContext getValueContext​(ObjectKey anObjectKey,
                                     Path aPath)
        Returns the value context for object ObjectKey and path aPath.
        Parameters:
        anObjectKey - the key of the object in the object context.
        aPath - a path to an attribute of the object.
        Returns:
        The value context.
        Throws:
        RuntimeException - if either anObjectKey or aPath are invalid.
      • isDataDeleted

        boolean isDataDeleted​(ObjectKey anObjectKey)
        Returns true if the underlying record or dataset has been deleted, possibly by another user.
        Parameters:
        anObjectKey - the key of the object in the object context.
        Returns:
        true if the underlying data was deleted. Will always return false if the object is not a dataset or a record or if it is a record being created.
        Throws:
        RuntimeException - if anObjectKey is invalid.
        Since:
        5.8.1