org.kuali.kfs.sec.businessobject
Class SecurityPrincipal

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.sec.businessobject.SecurityPrincipal
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject

public class SecurityPrincipal
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase

Represents the assignment of one or more security definitions and one or more models to a principal

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
SecurityPrincipal()
           
 
Method Summary
 String getPrincipalDefinitionNames()
          Returns String of definition names assigned to principal
 List<SecurityPrincipalDefinition> getPrincipalDefinitions()
          Gets the principalDefinitions attribute.
 String getPrincipalId()
          Gets the principalId attribute.
 String getPrincipalModelNames()
          Returns String of model names assigned to principal
 List<SecurityModelMember> getPrincipalModels()
          Gets the principalModels attribute.
 org.kuali.rice.kim.bo.Person getSecurityPerson()
          Gets the securityPerson attribute.
 void setPrincipalDefinitions(List<SecurityPrincipalDefinition> principalDefinitions)
          Sets the principalDefinitions attribute value.
 void setPrincipalId(String principalId)
          Sets the principalId attribute value.
 void setPrincipalModels(List<SecurityModelMember> principalModels)
          Sets the principalModels attribute value.
 void setSecurityPerson(org.kuali.rice.kim.bo.Person securityPerson)
          Sets the securityPerson attribute value.
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow
 

Constructor Detail

SecurityPrincipal

public SecurityPrincipal()
Method Detail

getPrincipalId

public String getPrincipalId()
Gets the principalId attribute.

Returns:
Returns the principalId.

setPrincipalId

public void setPrincipalId(String principalId)
Sets the principalId attribute value.

Parameters:
principalId - The principalId to set.

getSecurityPerson

public org.kuali.rice.kim.bo.Person getSecurityPerson()
Gets the securityPerson attribute.

Returns:
Returns the securityPerson.

setSecurityPerson

public void setSecurityPerson(org.kuali.rice.kim.bo.Person securityPerson)
Sets the securityPerson attribute value.

Parameters:
securityPerson - The securityPerson to set.

getPrincipalDefinitions

public List<SecurityPrincipalDefinition> getPrincipalDefinitions()
Gets the principalDefinitions attribute.

Returns:
Returns the principalDefinitions.

setPrincipalDefinitions

public void setPrincipalDefinitions(List<SecurityPrincipalDefinition> principalDefinitions)
Sets the principalDefinitions attribute value.

Parameters:
principalDefinitions - The principalDefinitions to set.

getPrincipalModels

public List<SecurityModelMember> getPrincipalModels()
Gets the principalModels attribute.

Returns:
Returns the principalModels.

setPrincipalModels

public void setPrincipalModels(List<SecurityModelMember> principalModels)
Sets the principalModels attribute value.

Parameters:
principalModels - The principalModels to set.

getPrincipalDefinitionNames

public String getPrincipalDefinitionNames()
Returns String of definition names assigned to principal


getPrincipalModelNames

public String getPrincipalModelNames()
Returns String of model names assigned to principal


toStringMapper

protected LinkedHashMap toStringMapper()
Specified by:
toStringMapper in class org.kuali.rice.kns.bo.BusinessObjectBase
See Also:
BusinessObjectBase.toStringMapper()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.