Last update: 2011-06-23

org.proteios.core.data
Class ProjectKeyData

java.lang.Object
  extended by org.proteios.core.data.BasicData
      extended by org.proteios.core.data.KeyData
          extended by org.proteios.core.data.ProjectKeyData
All Implemented Interfaces:
IdentifiableData

public class ProjectKeyData
extends KeyData

This class holds information access privileges for projects.

Version:
2.0
Author:
Nicklas
See Also:
ProjectKey, Authentication overview
Last modified
$Date: 2009-04-09 08:48:11 +0200 (Thu, 09 Apr 2009) $
Hibernate: subclass
discriminator-value="2"

Constructor Summary
ProjectKeyData()
           
 
Method Summary
 Map<ProjectData,Integer> getProjects()
          Get the map that manages which projects that have permissions for this key.
 
Methods inherited from class org.proteios.core.data.BasicData
equals, getId, getVersion, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProjectKeyData

public ProjectKeyData()
Method Detail

getProjects

public Map<ProjectData,Integer> getProjects()
Get the map that manages which projects that have permissions for this key.

Hibernate: map
table="`ProjectKeys`" lazy="true"
Hibernate: index-many-to-many
column="`project_id`" class="org.proteios.core.data.ProjectData"
Hibernate: collection-key
column="`key_id`"
Hibernate: collection-element
column="`permission`" type="int" not-null="true"

Last update: 2011-06-23