Class ObjectStatus

java.lang.Object
org.irods.irods4j.high_level.vfs.ObjectStatus

public class ObjectStatus extends Object
Holds information describing the status of a filesystem object.
Since:
0.1.0
  • Constructor Details

    • ObjectStatus

      public ObjectStatus()
      Initializes an ObjectStatus instance with an object type of ObjectType.NONE, empty permissions list, and inheritance set to false.
      Since:
      0.1.0
    • ObjectStatus

      public ObjectStatus(ObjectStatus.ObjectType type, List<EntityPermission> perms)
      Initializes an ObjectStatus instance with a specific type and permission list. Inheritance is set to false.
      Parameters:
      type - The type of the filesystem object.
      perms - The permissions list of the filesystem object.
      Since:
      0.1.0
  • Method Details

    • getType

      public ObjectStatus.ObjectType getType()
      Returns the type of the filesystem object.
      Since:
      0.1.0
    • getPermissions

      public List<EntityPermission> getPermissions()
      Returns the list of permissions for the filesystem object.
      Since:
      0.1.0
    • isInheritanceEnabled

      public boolean isInheritanceEnabled()
      Checks whether the inheritance flag is enabled.
      Since:
      0.1.0
    • setType

      public void setType(ObjectStatus.ObjectType type)
      Sets the object type of this ObjectStatus instance. This operation does not update the catalog.
      Parameters:
      type - The new type of the filesystem object.
      Since:
      0.1.0
    • setPermissions

      public void setPermissions(List<EntityPermission> perms)
      Sets the permissions of this ObjectStatus instance. This operation does not update the catalog.
      Parameters:
      perms - The new permissions of the filesystem object.
      Since:
      0.1.0
    • setInheritance

      public void setInheritance(boolean value)
      Sets the inheritance flag of this ObjectStatus instance. This operation does not update the catalog.
      Parameters:
      value - The new inheritance value of the filesystem object.
      Since:
      0.1.0