Package org.irods.irods4j.high_level.vfs
Class ObjectStatus
java.lang.Object
org.irods.irods4j.high_level.vfs.ObjectStatus
Holds information describing the status of a filesystem object.
- Since:
- 0.1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumValues which define the type of a filesystem object. -
Constructor Summary
ConstructorsConstructorDescriptionInitializes anObjectStatusinstance with an object type ofObjectType.NONE, empty permissions list, and inheritance set to false.ObjectStatus(ObjectStatus.ObjectType type, List<EntityPermission> perms) Initializes anObjectStatusinstance with a specific type and permission list. -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of permissions for the filesystem object.getType()Returns the type of the filesystem object.booleanChecks whether the inheritance flag is enabled.voidsetInheritance(boolean value) Sets the inheritance flag of thisObjectStatusinstance.voidsetPermissions(List<EntityPermission> perms) Sets the permissions of thisObjectStatusinstance.voidSets the object type of thisObjectStatusinstance.
-
Constructor Details
-
ObjectStatus
public ObjectStatus()Initializes anObjectStatusinstance with an object type ofObjectType.NONE, empty permissions list, and inheritance set to false.- Since:
- 0.1.0
-
ObjectStatus
Initializes anObjectStatusinstance 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
Returns the type of the filesystem object.- Since:
- 0.1.0
-
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
Sets the object type of thisObjectStatusinstance. This operation does not update the catalog.- Parameters:
type- The new type of the filesystem object.- Since:
- 0.1.0
-
setPermissions
Sets the permissions of thisObjectStatusinstance. 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 thisObjectStatusinstance. This operation does not update the catalog.- Parameters:
value- The new inheritance value of the filesystem object.- Since:
- 0.1.0
-