|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intland.codebeamer.persistence.dto.base.IdentifiableDto
com.intland.codebeamer.persistence.dto.base.NamedDto
com.intland.codebeamer.persistence.dto.GroupDto
public class GroupDto
The name GroupDto is misleading. A better name would be DomainDto, because it represents an access control domain for a codeBeamer entity, like a project, tracker, artifact, etc.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto |
---|
NamedDto.NameComparator |
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto |
---|
IdentifiableDto.IdComparator |
Field Summary | |
---|---|
static GroupDto |
ACCOUNT_GROUP
|
static java.lang.Integer |
UNSET_ID
|
Fields inherited from interface com.intland.codebeamer.persistence.dto.base.ReferenceHolderDto |
---|
Accessor |
Constructor Summary | |
---|---|
GroupDto()
|
|
GroupDto(GroupDto other)
|
|
GroupDto(int groupId)
|
|
GroupDto(java.lang.Integer groupId)
|
|
GroupDto(java.lang.Integer groupId,
java.lang.Integer typeId,
java.lang.Integer objectId,
java.lang.Integer projectId)
|
|
GroupDto(java.lang.Integer groupId,
java.lang.Integer typeId,
java.lang.Integer objectId,
java.lang.Integer projectId,
java.lang.Integer parentId)
|
|
GroupDto(java.lang.Integer groupId,
int typeId,
java.lang.Integer objectId)
|
|
GroupDto(int groupId,
java.lang.Integer typeId,
int objectId,
java.lang.Integer projectId)
|
|
GroupDto(int groupId,
int typeId,
int objectId)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object grp)
|
java.lang.Integer |
getObjectId()
Get the object id of the protected entity |
java.lang.Integer |
getParentId()
Get the id of the parent domain |
java.lang.Integer |
getProjectId()
Get the id of the project where the protected entity belongs to |
ReferenceDto |
getReference()
Get the reference to the protected entity |
java.lang.Integer |
getTypeId()
Get the type of the protected entity |
int |
hashCode()
|
void |
setObjectId(java.lang.Integer objectId)
Get the object id of the protected entity |
void |
setParentId(java.lang.Integer parentId)
Set the id of the parent domain |
void |
setProjectId(java.lang.Integer projectId)
Set the id of the project where the protected entity belongs to |
void |
setReference(ReferenceDto reference)
Set the reference to the protected entity |
void |
setTypeId(java.lang.Integer typeId)
Set the type of the protected entity |
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto |
---|
compareNames, compareString, compareStringIgnoreCase, compareTo, createLookupMap, getName, setName, toString |
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto |
---|
clone, compare, compareInteger, equals, getId, hashCode, setId |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Integer UNSET_ID
public static final GroupDto ACCOUNT_GROUP
Constructor Detail |
---|
public GroupDto()
public GroupDto(int groupId)
public GroupDto(java.lang.Integer groupId)
public GroupDto(int groupId, int typeId, int objectId)
public GroupDto(java.lang.Integer groupId, int typeId, java.lang.Integer objectId)
public GroupDto(int groupId, java.lang.Integer typeId, int objectId, java.lang.Integer projectId)
public GroupDto(java.lang.Integer groupId, java.lang.Integer typeId, java.lang.Integer objectId, java.lang.Integer projectId)
public GroupDto(java.lang.Integer groupId, java.lang.Integer typeId, java.lang.Integer objectId, java.lang.Integer projectId, java.lang.Integer parentId)
public GroupDto(GroupDto other)
Method Detail |
---|
public ReferenceDto getReference()
getReference
in interface ReferenceHolderDto
public void setReference(ReferenceDto reference)
reference
- identifies the protected entitypublic java.lang.Integer getParentId()
public void setParentId(java.lang.Integer parentId)
parentId
- is the id of the parent domain, or null if no parent existspublic java.lang.Integer getTypeId()
public void setTypeId(java.lang.Integer typeId)
typeId
- of the protected entitypublic java.lang.Integer getObjectId()
public void setObjectId(java.lang.Integer objectId)
objectId
- of the protected entity, or null if not setpublic java.lang.Integer getProjectId()
public void setProjectId(java.lang.Integer projectId)
projectId
- of the project the protected entity belongs to, or null if entity is project independentpublic boolean equals(java.lang.Object grp)
equals
in class NamedDto
public int hashCode()
hashCode
in class NamedDto
|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |