Interface IEntityInformation


public interface IEntityInformation
Through this interface the user can obtain information on a particular repository entity.

Help methods are available in the PermissionsHelper class.

  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int PERMISSION_GROUP_READ
    This flag indicates that users, part of the owner's group, are allowed to read this entity.
    static int PERMISSION_GROUP_UPDATE
    This flag indicates that users, part of the owner's group, are allowed to update the content of this entity.
    static int PERMISSION_GROUP_WRITE
    This flag indicates that users, part of the owner's group, are allowed to write or delete this entity.
    static int PERMISSION_NONE
    This flag indicates that no one has any rights to this entity.
    static int PERMISSION_OTHERS_READ
    This flag indicates that all other users are allowed to read this entity.
    static int PERMISSION_OTHERS_UPDATE
    This flag indicates that all other users are allowed to update this entity's contents.
    static int PERMISSION_OTHERS_WRITE
    This flag indicates that all other users are allowed to write or delete this entity.
    static int PERMISSION_OWNER_READ
    This flag indicates that the owner of this entity is allowed to read its content.
    static int PERMISSION_OWNER_UPDATE
    This flag indicates that the owner of this entity is allowed to update its content.
    static int PERMISSION_OWNER_WRITE
    This flag indicates that the owner of this entity is allowed to write or delete it.
    static int PERMISSION_UNKNOWN
    This flag indicates that a permission status for this entity could not be evaluated.
  • Method Summary

    Modifier and Type Method Description
    Date getCreatedAt()
    Timestamp of the creation of the entity.
    String getCreatedBy()
    The creator of the entity.
    Date getModifiedAt()
    Timestamp of the last modification of the entity.
    String getModifiedBy()
    The last modifier of the entity.
    String getName()
    Returns the name of the entity.
    String getPath()
    Returns the path of the entity within the repository.
    int getPermissions()
    Returns a flag mask indicating the permissions of this entity.
    Long getSize()
    Returns the size of this resource.