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

java.lang.Object
  extended by org.kuali.rice.krad.bo.DataObjectBase
      extended by org.kuali.rice.kim.impl.role.RoleBoLite
All Implemented Interfaces:
Serializable, Inactivatable, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, RoleContract, RoleEbo, BusinessObject, ExternalizableBusinessObject

@Entity
public class RoleBoLite
extends DataObjectBase
implements RoleEbo

This is a copy of the RoleBo except it doesn't load the member information. Most of the methods in the RoleServiceImpl do not require the member information so loading all of it adds a lot of extra overhead.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.DataObjectBase
objectId, versionNumber
 
Constructor Summary
RoleBoLite()
           
 
Method Summary
static RoleBo from(Role immutable)
           
 boolean getActive()
           
 String getDescription()
          A full textual description of this role.
 String getGroupName()
           
 String getGroupNamespaceCode()
           
 String getId()
          The unique identifier for an object.
 KimTypeBo getKimRoleType()
           
 String getKimTypeId()
          Provides the associated KimType identifier for this role.
 String getName()
          The human readable name for this role.
 String getNamespaceCode()
          A namespace for this role.
 String getPermName()
           
 String getPermNamespaceCode()
           
 String getPermTmplName()
           
 String getPermTmplNamespaceCode()
           
 String getPrincipalName()
           
 String getRespName()
           
 String getRespNamespaceCode()
           
 String getRespTmplName()
           
 String getRespTmplNamespaceCode()
           
protected  KimTypeInfoService getTypeInfoService()
           
 boolean isActive()
          The active indicator for an object.
 void refresh()
          Invoked to refresh business objects related to the parent based on their key field values
 void setActive(boolean active)
           
 void setDescription(String description)
           
 void setGroupName(String groupName)
           
 void setGroupNamespaceCode(String groupNamespaceCode)
           
 void setId(String id)
           
 void setKimTypeId(String kimTypeId)
           
 void setName(String name)
           
 void setNamespaceCode(String namespaceCode)
           
 void setPermName(String permName)
           
 void setPermNamespaceCode(String permNamespaceCode)
           
 void setPermTmplName(String permTmplName)
           
 void setPermTmplNamespaceCode(String permTmplNamespaceCode)
           
 void setPrincipalName(String principalName)
           
 void setRespName(String respName)
           
 void setRespNamespaceCode(String respNamespaceCode)
           
 void setRespTmplName(String respTmplName)
           
 void setRespTmplNamespaceCode(String respTmplNamespaceCode)
           
static Role to(RoleBoLite bo)
           
 
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.framework.role.RoleEbo
getObjectId, getVersionNumber
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Constructor Detail

RoleBoLite

public RoleBoLite()
Method Detail

getKimRoleType

public KimTypeBo getKimRoleType()

getTypeInfoService

protected KimTypeInfoService getTypeInfoService()

to

public static Role to(RoleBoLite bo)

from

public static RoleBo from(Role immutable)

getId

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

Specified by:
getId in interface Identifiable
Specified by:
getId in interface RoleEbo
Returns:
the id

setId

public void setId(String id)

getName

public String getName()
Description copied from interface: RoleEbo
The human readable name for this role.

Specified by:
getName in interface RoleContract
Specified by:
getName in interface RoleEbo
Returns:
Human readable role name.

setName

public void setName(String name)

getDescription

public String getDescription()
Description copied from interface: RoleEbo
A full textual description of this role. This String should provide a verbose description of the role, what it is meant to provide to principals assigned to it, and what permissions it implies.

Specified by:
getDescription in interface RoleContract
Specified by:
getDescription in interface RoleEbo
Returns:
Description of the role.

setDescription

public void setDescription(String description)

getActive

public boolean getActive()

isActive

public boolean isActive()
Description copied from interface: RoleEbo
The active indicator for an object.

Specified by:
isActive in interface Inactivatable
Specified by:
isActive in interface RoleEbo
Returns:
true if active false if not.

setActive

public void setActive(boolean active)

getKimTypeId

public String getKimTypeId()
Description copied from interface: RoleEbo
Provides the associated KimType identifier for this role. This controls what additional attributes are available.

Specified by:
getKimTypeId in interface RoleContract
Specified by:
getKimTypeId in interface RoleEbo
Returns:
KimType Id

setKimTypeId

public void setKimTypeId(String kimTypeId)

getNamespaceCode

public String getNamespaceCode()
Description copied from interface: RoleEbo
A namespace for this role. A namespace for a role identifies the system/module to which this role applies.

Specified by:
getNamespaceCode in interface RoleContract
Specified by:
getNamespaceCode in interface RoleEbo
Returns:
Namespace for the role.

setNamespaceCode

public void setNamespaceCode(String namespaceCode)

getPrincipalName

public String getPrincipalName()

setPrincipalName

public void setPrincipalName(String principalName)

getGroupNamespaceCode

public String getGroupNamespaceCode()

setGroupNamespaceCode

public void setGroupNamespaceCode(String groupNamespaceCode)

getGroupName

public String getGroupName()

setGroupName

public void setGroupName(String groupName)

getPermNamespaceCode

public String getPermNamespaceCode()

setPermNamespaceCode

public void setPermNamespaceCode(String permNamespaceCode)

getPermName

public String getPermName()

setPermName

public void setPermName(String permName)

getPermTmplNamespaceCode

public String getPermTmplNamespaceCode()

setPermTmplNamespaceCode

public void setPermTmplNamespaceCode(String permTmplNamespaceCode)

getPermTmplName

public String getPermTmplName()

setPermTmplName

public void setPermTmplName(String permTmplName)

getRespNamespaceCode

public String getRespNamespaceCode()

setRespNamespaceCode

public void setRespNamespaceCode(String respNamespaceCode)

getRespName

public String getRespName()

setRespName

public void setRespName(String respName)

getRespTmplNamespaceCode

public String getRespTmplNamespaceCode()

setRespTmplNamespaceCode

public void setRespTmplNamespaceCode(String respTmplNamespaceCode)

getRespTmplName

public String getRespTmplName()

setRespTmplName

public void setRespTmplName(String respTmplName)

refresh

public void refresh()
Description copied from interface: BusinessObject
Invoked to refresh business objects related to the parent based on their key field values

During processing (for example accepting user input) the field values that participate in relationships can become out of sync with the related business objects (for example: suppose our business object has a property name bookId with a related object of type Book that contains the id property. If the user changes the value for the bookId property, our id property on the related book and the associated information is still pointing to the previous book id). This method is invoked to indicate the related objects should be refreshed based on their related keys. For @{link PersistableBusinessObject} implementations, most refreshes can be handled by the ORM tool

Specified by:
refresh in interface BusinessObject


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