public interface Identifiable extends AccessControlled
Identifiable
item is an item which has an
id
a type
and a version
.
The id value is always greater than 0 for an existing item, and 0 for
a new item that has not yet been saved to the database.
The type is an value selected from the constants
defined by the Item
enumeration.
Modifier and Type | Method and Description |
---|---|
int |
getId()
Get the id for the item.
|
Item |
getType()
Get the type of item represented by the object.
|
int |
getVersion()
Get the version number of the item.
|
checkPermission, getPermissions, hasPermission
int getId()
Item getType()
Item
enumeration.int getVersion()