Package net.sf.basedb.core.data
Class ItemKeyData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.KeyData
net.sf.basedb.core.data.ItemKeyData
- All Implemented Interfaces:
IdentifiableData
This class holds information access privileges for users and groups.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
- Hibernate: subclass
- discriminator-value="1"
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the map that manages which groups that have permissions for this key.getUsers()
Get the map that manages which users that have permissions for this key.(package private) void
(package private) void
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
-
Field Details
-
users
-
groups
-
-
Constructor Details
-
ItemKeyData
public ItemKeyData()
-
-
Method Details
-
getUsers
Get the map that manages which users that have permissions for this key.- Hibernate: map
- table="`UserKeys`" lazy="true"
- Hibernate: index-many-to-many
- column="`user_id`" class="net.sf.basedb.core.data.UserData"
- Hibernate: collection-key
- column="`key_id`"
- Hibernate: collection-element
- column="`permission`" type="int" not-null="true"
-
setUsers
-
getGroups
Get the map that manages which groups that have permissions for this key.- Hibernate: map
- table="`GroupKeys`" lazy="true"
- Hibernate: index-many-to-many
- column="`group_id`" class="net.sf.basedb.core.data.GroupData"
- Hibernate: collection-key
- column="`key_id`"
- Hibernate: collection-element
- column="`permission`" type="int" not-null="true"
-
setGroups
-