2.17.2: 2011-06-17

net.sf.basedb.core.data
Class PermissionTemplateData

java.lang.Object
  extended by net.sf.basedb.core.data.BasicData
      extended by net.sf.basedb.core.data.OwnedData
          extended by net.sf.basedb.core.data.SharedData
              extended by net.sf.basedb.core.data.CommonData
                  extended by net.sf.basedb.core.data.PermissionTemplateData
All Implemented Interfaces:
IdentifiableData, NameableData, OwnableData, RemovableData, ShareableData

public class PermissionTemplateData
extends CommonData

A permission template with permissions to users, groups and projects.

Since:
2.16
Author:
Nicklas
See Also:
PermissionTemplate
Last modified
$Date $
Hibernate: class
table="`PermissionTemplates`" lazy="true"

Field Summary
private  Set<ProjectData> projects
           
 
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
 
Constructor Summary
PermissionTemplateData()
           
 
Method Summary
(package private)  Set<ProjectData> getProjects()
          This is the inverse end.
(package private)  void setProjects(Set<ProjectData> projects)
           
 
Methods inherited from class net.sf.basedb.core.data.CommonData
getDescription, getName, isRemoved, setDescription, setName, setRemoved
 
Methods inherited from class net.sf.basedb.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
 
Methods inherited from class net.sf.basedb.core.data.OwnedData
getOwner, setOwner
 
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData
getId, getVersion
 
Methods inherited from interface net.sf.basedb.core.data.OwnableData
getOwner, setOwner
 

Field Detail

projects

private Set<ProjectData> projects
Constructor Detail

PermissionTemplateData

public PermissionTemplateData()
Method Detail

getProjects

Set<ProjectData> getProjects()
This is the inverse end.

See Also:
ProjectData.getPermissionTemplate()
Hibernate: set
inverse="true" lazy="true"
Hibernate: collection-key
column="`permissiontemplate_id`"
Hibernate: collection-one-to-many
class="net.sf.basedb.core.data.ProjectData"

setProjects

void setProjects(Set<ProjectData> projects)

2.17.2: 2011-06-17