@Entity(name="Role") @Indexed(index="search/index/role") @ClassBridge(name="documentFields", index=YES, analyze=YES, store=YES, impl=com.jamasoftware.contour.util.search.bridge.RoleClassBridge.class) public class RoleImpl extends DomainObjectSupport implements Role
Modifier and Type | Field and Description |
---|---|
static String |
ROLE_ADMIN |
static String |
ROLE_ANONYMOUS |
static String |
ROLE_ORGADMIN |
static String |
ROLE_WORKER |
MAP_DOMAIN_OBJECT_TO_ID_FUNCTION, ORGANIZATION_COLUMN_NAME
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getContent() |
String |
getDescription() |
Boolean |
getDisabled() |
String |
getDisplay() |
String |
getDisplayName() |
Integer |
getId() |
String |
getName() |
Integer |
getNumUsers() |
Integer |
getOrganizationId() |
Integer |
getProjectId() |
String |
getProjectName() |
String |
getRoleName() |
String |
getUid() |
Set<User> |
getUsers() |
String |
getXmlToString() |
int |
hashCode() |
boolean |
isProjectGroup() |
void |
setDescription(String description) |
void |
setDisplay(String display) |
void |
setId(Integer id) |
void |
setName(String name) |
void |
setNumUsers(Integer numUsers) |
void |
setOrganizationId(Integer organizationId) |
void |
setProjectId(Integer projectId) |
void |
setProjectName(String projectName) |
void |
setUsers(Set<User> users) |
String |
toString() |
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
isNewObject, obtainAclObjectIdentity
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, isNewObject, obtainAclObjectIdentity, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
public static final String ROLE_ADMIN
public static final String ROLE_ORGADMIN
public static final String ROLE_WORKER
public static final String ROLE_ANONYMOUS
public RoleImpl()
public RoleImpl(Integer id)
public Integer getId()
getId
in interface DomainObjectBase
public void setId(Integer id)
setId
in interface DomainObjectBase
@Field(name="uid") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.StringFieldBridge.class) public String getUid()
@Field(name="disabled") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.BooleanFieldBridge.class) public Boolean getDisabled()
public String getDescription()
getDescription
in interface Role
public void setDescription(String description)
setDescription
in interface Role
@Field(name="display") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.StringFieldBridge.class) public String getDisplay()
getDisplay
in interface Role
public void setDisplay(String display)
setDisplay
in interface Role
@Field(name="name") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.StringFieldBridge.class) public String getName()
@Field(name="displayName") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.StringFieldBridge.class) public String getDisplayName()
@Field(name="organization") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.IntegerFieldBridge.class) public Integer getOrganizationId()
getOrganizationId
in interface DomainObjectBase
getOrganizationId
in interface OrganizationAware
public void setOrganizationId(Integer organizationId)
setOrganizationId
in interface DomainObjectBase
@Field(name="projectId") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.IntegerFieldBridge.class) public Integer getProjectId()
getProjectId
in interface Role
public void setProjectId(Integer projectId)
setProjectId
in interface Role
@Field @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.UsersFieldBridge.class) public Set<User> getUsers()
public int hashCode()
hashCode
in class DomainObjectBaseSupport
public boolean equals(Object obj)
equals
in class DomainObjectBaseSupport
public String getRoleName()
getRoleName
in interface Role
public Integer getNumUsers()
getNumUsers
in interface Role
public void setNumUsers(Integer numUsers)
setNumUsers
in interface Role
public String getProjectName()
getProjectName
in interface Role
public void setProjectName(String projectName)
setProjectName
in interface Role
public boolean isProjectGroup()
isProjectGroup
in interface Role
public String getXmlToString()
getXmlToString
in interface DomainObject
public String getContent()
getContent
in interface Role
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.