public interface IEntityInformation
Help methods are available in the
PermissionsHelper class.
| Modifier and Type | Field and 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.
|
| Modifier and Type | Method and 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.
|
static final int PERMISSION_UNKNOWN
static final int PERMISSION_NONE
static final int PERMISSION_OWNER_READ
static final int PERMISSION_OWNER_WRITE
static final int PERMISSION_OWNER_UPDATE
static final int PERMISSION_GROUP_READ
static final int PERMISSION_GROUP_WRITE
static final int PERMISSION_GROUP_UPDATE
static final int PERMISSION_OTHERS_READ
static final int PERMISSION_OTHERS_WRITE
static final int PERMISSION_OTHERS_UPDATE
String getName()
If the implementation cannot find the requested information, then a value
of
null is returned.
IEntityString getPath()
If the implementation cannot find the requested information, then a value
of
null is returned.
IEntityint getPermissions()
If the implementation cannot find the requested information, then a value
of PERMISSION_UNKNOWN is returned.
PERMISSION_OWNER_READ,
PERMISSION_OWNER_WRITE,
PERMISSION_OWNER_UPDATE,
PERMISSION_GROUP_READ,
PERMISSION_GROUP_WRITE,
PERMISSION_GROUP_UPDATE,
PERMISSION_OTHERS_READ,
PERMISSION_OTHERS_WRITE,
PERMISSION_OTHERS_UPDATELong getSize()
If the implementation cannot find the requested information, then a value
of
null is returned.
IEntityString getCreatedBy()
IEntityDate getCreatedAt()
IEntityString getModifiedBy()
IEntityCopyright © 2010–2018 Eclipse Foundation. All rights reserved.