org.kuali.rice.kim.impl.role
Class RoleMemberBo

java.lang.Object
  extended by org.kuali.rice.krad.bo.DataObjectBase
      extended by org.kuali.rice.kim.impl.common.active.ActiveFromToBo
          extended by org.kuali.rice.kim.impl.membership.AbstractMemberBo
              extended by org.kuali.rice.kim.impl.role.RoleMemberBo
All Implemented Interfaces:
Serializable, Inactivatable, InactivatableFromTo, GloballyUnique, Identifiable, Versioned, RoleMemberContract

@Entity
public class RoleMemberBo
extends AbstractMemberBo
implements RoleMemberContract

The column names have been used in a native query in RoleDaoOjb and will need to be modified if any changes to the column names are made here.

See Also:
Serialized Form

Field Summary
protected  String memberName
           
protected  String memberNamespaceCode
           
 
Fields inherited from class org.kuali.rice.krad.bo.DataObjectBase
objectId, versionNumber
 
Constructor Summary
RoleMemberBo()
           
 
Method Summary
 boolean equals(RoleMemberBo targetMbrBo)
          This method compares role member passed with this role member object and returns true if no differences or returns false.
static RoleMemberBo from(RoleMember immutable)
           
 List<RoleMemberAttributeDataBo> getAttributeDetails()
           
 Map<String,String> getAttributes()
          This returns specific attributes to be set on a Role Member in order to match permission and responsibilitys.
 String getId()
          The unique identifier for an object.
protected  Object getMember(MemberType memberType, String memberId)
           
 String getMemberName()
           
 String getMemberNamespaceCode()
           
 String getRoleId()
          This is the id for the Role.
 String getRoleMemberName(MemberType memberType, Object member)
           
 List<RoleResponsibilityActionBo> getRoleRspActions()
          This returns a list of role responsibility actions assigned to a role member
 void setAttributeDetails(List<RoleMemberAttributeDataBo> attributeDetails)
           
 void setAttributes(Map<String,String> attributes)
           
 void setId(String id)
           
 void setRoleId(String roleId)
           
 void setRoleRspActions(List<RoleResponsibilityActionBo> roleRspActions)
           
static RoleMember to(RoleMemberBo bo)
           
 
Methods inherited from class org.kuali.rice.kim.impl.membership.AbstractMemberBo
getMemberId, getType, setMemberId, setType, setTypeCode
 
Methods inherited from class org.kuali.rice.kim.impl.common.active.ActiveFromToBo
getActiveFromDate, getActiveFromDateValue, getActiveToDate, getActiveToDateValue, isActive, isActive, isActive, setActiveFromDateValue, setActiveToDateValue
 
Methods inherited from class org.kuali.rice.krad.bo.DataObjectBase
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kim.api.role.RoleMemberContract
getMemberId, getType
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectId
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.active.InactivatableFromTo
getActiveFromDate, getActiveToDate, isActive
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.active.Inactivatable
isActive
 

Field Detail

memberName

protected String memberName

memberNamespaceCode

protected String memberNamespaceCode
Constructor Detail

RoleMemberBo

public RoleMemberBo()
Method Detail

getAttributeDetails

public List<RoleMemberAttributeDataBo> getAttributeDetails()

setAttributeDetails

public void setAttributeDetails(List<RoleMemberAttributeDataBo> attributeDetails)

getAttributes

public Map<String,String> getAttributes()
Description copied from interface: RoleMemberContract
This returns specific attributes to be set on a Role Member in order to match permission and responsibilitys. These attributes match the attributes set to a KimType

Specified by:
getAttributes in interface RoleMemberContract
Returns:
attributes

to

public static RoleMember to(RoleMemberBo bo)

from

public static RoleMemberBo from(RoleMember immutable)

getMember

protected Object getMember(MemberType memberType,
                           String memberId)

getMemberName

public String getMemberName()
Specified by:
getMemberName in interface RoleMemberContract

getRoleMemberName

public String getRoleMemberName(MemberType memberType,
                                Object member)

getMemberNamespaceCode

public String getMemberNamespaceCode()
Specified by:
getMemberNamespaceCode in interface RoleMemberContract

equals

public boolean equals(RoleMemberBo targetMbrBo)
This method compares role member passed with this role member object and returns true if no differences or returns false.

Parameters:
targetMbrBo -
Returns:
boolean true if the member has not changed, false if the member has changed

getId

public String getId()
Description copied from interface: Identifiable
The unique identifier for an object. This can be null.

Specified by:
getId in interface Identifiable
Returns:
the id

setId

public void setId(String id)

getRoleId

public String getRoleId()
Description copied from interface: RoleMemberContract
This is the id for the Role.

This is a id assigned to a Role. It defines the role this role member belongs to.

Specified by:
getRoleId in interface RoleMemberContract
Returns:
roleId

setRoleId

public void setRoleId(String roleId)

getRoleRspActions

public List<RoleResponsibilityActionBo> getRoleRspActions()
Description copied from interface: RoleMemberContract
This returns a list of role responsibility actions assigned to a role member

Specified by:
getRoleRspActions in interface RoleMemberContract
Returns:
roleRspActions

setRoleRspActions

public void setRoleRspActions(List<RoleResponsibilityActionBo> roleRspActions)

setAttributes

public void setAttributes(Map<String,String> attributes)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.