Class ItemKeyData

    • Constructor Detail

      • ItemKeyData

        public ItemKeyData()
    • Method Detail

      • 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="net.sf.basedb.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="net.sf.basedb.core.data.GroupData"
        Hibernate: collection-key
        column="`key_id`"
        Hibernate: collection-element
        column="`permission`" type="int" not-null="true"