org.proteios.core.data
Class ItemKeyData
java.lang.Object
org.proteios.core.data.BasicData
org.proteios.core.data.KeyData
org.proteios.core.data.ItemKeyData
- All Implemented Interfaces:
- IdentifiableData
public class ItemKeyData
- extends KeyData
This class holds information access privileges for users and groups.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
ItemKey,
Authentication overview- Last modified
- $Date: 2009-04-09 08:48:11 +0200 (Thu, 09 Apr 2009) $
- Hibernate: subclass
- discriminator-value="1"
ItemKeyData
public ItemKeyData()
getUsers
public Map<UserData,Integer> 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="org.proteios.core.data.UserData"
- Hibernate: collection-key
- column="`key_id`"
- Hibernate: collection-element
- column="`permission`" type="int" not-null="true"
getGroups
public Map<GroupData,Integer> 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="org.proteios.core.data.GroupData"
- Hibernate: collection-key
- column="`key_id`"
- Hibernate: collection-element
- column="`permission`" type="int" not-null="true"