org.kuali.kfs.sec.businessobject
Class SecurityDefinition

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.SecurityDefinition
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.Inactivateable, org.kuali.rice.kns.bo.PersistableBusinessObject

public class SecurityDefinition
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements org.kuali.rice.kns.bo.Inactivateable

Defines a restriction that can be given to a model or principal. A restriction defines the attribute that is restricted on, and the action(s) that are being restricted. A KIM permission and role is created from a definition record

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
SecurityDefinition()
           
 
Method Summary
 org.kuali.rice.kns.util.KualiInteger getAttributeId()
          Gets the attributeId attribute.
 List<SecurityDefinitionDocumentType> getDefinitionDocumentTypes()
          Gets the definitionDocumentTypes attribute.
 String getDescription()
          Gets the description attribute.
 org.kuali.rice.kns.util.KualiInteger getId()
          Gets the id attribute.
 String getName()
          Gets the name attribute.
 String getRoleId()
          Gets the roleId attribute.
 SecurityAttribute getSecurityAttribute()
          Gets the securityAttribute attribute.
 boolean isActive()
          Gets the active attribute.
 boolean isRestrictEditAccountingLine()
          Gets the restrictEditAccountingLine attribute.
 boolean isRestrictEditDocument()
          Gets the restrictEditDocument attribute.
 boolean isRestrictGLInquiry()
          Gets the restrictGLInquiry attribute.
 boolean isRestrictLaborInquiry()
          Gets the restrictLaborInquiry attribute.
 boolean isRestrictLookup()
          Gets the restrictLookup attribute.
 boolean isRestrictViewAccountingLine()
          Gets the restrictViewAccountingLine attribute.
 boolean isRestrictViewDocument()
          Gets the restrictViewDocument attribute.
 boolean isRestrictViewNotesAndAttachments()
          Gets the restrictViewNotesAndAttachments attribute.
 void setActive(boolean active)
          Sets the active attribute value.
 void setAttributeId(org.kuali.rice.kns.util.KualiInteger attributeId)
          Sets the attributeId attribute value.
 void setDefinitionDocumentTypes(List<SecurityDefinitionDocumentType> definitionDocumentTypes)
          Sets the definitionDocumentTypes attribute value.
 void setDescription(String description)
          Sets the description attribute value.
 void setId(org.kuali.rice.kns.util.KualiInteger id)
          Sets the id attribute value.
 void setName(String name)
          Sets the name attribute value.
 void setRestrictEditAccountingLine(boolean restrictEditAccountingLine)
          Sets the restrictEditAccountingLine attribute value.
 void setRestrictEditDocument(boolean restrictEditDocument)
          Sets the restrictEditDocument attribute value.
 void setRestrictGLInquiry(boolean restrictGLInquiry)
          Sets the restrictGLInquiry attribute value.
 void setRestrictLaborInquiry(boolean restrictLaborInquiry)
          Sets the restrictLaborInquiry attribute value.
 void setRestrictLookup(boolean restrictLookup)
          Sets the restrictLookup attribute value.
 void setRestrictViewAccountingLine(boolean restrictViewAccountingLine)
          Sets the restrictViewAccountingLine attribute value.
 void setRestrictViewDocument(boolean restrictViewDocument)
          Sets the restrictViewDocument attribute value.
 void setRestrictViewNotesAndAttachments(boolean restrictViewNotesAndAttachments)
          Sets the restrictViewNotesAndAttachments attribute value.
 void setRoleId(String roleId)
          Sets the roleId attribute value.
 void setSecurityAttribute(SecurityAttribute securityAttribute)
          Sets the securityAttribute 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

SecurityDefinition

public SecurityDefinition()
Method Detail

getId

public org.kuali.rice.kns.util.KualiInteger getId()
Gets the id attribute.

Returns:
Returns the id.

setId

public void setId(org.kuali.rice.kns.util.KualiInteger id)
Sets the id attribute value.

Parameters:
id - The id to set.

getName

public String getName()
Gets the name attribute.

Returns:
Returns the name.

setName

public void setName(String name)
Sets the name attribute value.

Parameters:
name - The name to set.

getDescription

public String getDescription()
Gets the description attribute.

Returns:
Returns the description.

setDescription

public void setDescription(String description)
Sets the description attribute value.

Parameters:
description - The description to set.

getRoleId

public String getRoleId()
Gets the roleId attribute.

Returns:
Returns the roleId.

setRoleId

public void setRoleId(String roleId)
Sets the roleId attribute value.

Parameters:
roleId - The roleId to set.

getAttributeId

public org.kuali.rice.kns.util.KualiInteger getAttributeId()
Gets the attributeId attribute.

Returns:
Returns the attributeId.

setAttributeId

public void setAttributeId(org.kuali.rice.kns.util.KualiInteger attributeId)
Sets the attributeId attribute value.

Parameters:
attributeId - The attributeId to set.

isRestrictViewAccountingLine

public boolean isRestrictViewAccountingLine()
Gets the restrictViewAccountingLine attribute.

Returns:
Returns the restrictViewAccountingLine.

setRestrictViewAccountingLine

public void setRestrictViewAccountingLine(boolean restrictViewAccountingLine)
Sets the restrictViewAccountingLine attribute value.

Parameters:
restrictViewAccountingLine - The restrictViewAccountingLine to set.

isRestrictEditAccountingLine

public boolean isRestrictEditAccountingLine()
Gets the restrictEditAccountingLine attribute.

Returns:
Returns the restrictEditAccountingLine.

setRestrictEditAccountingLine

public void setRestrictEditAccountingLine(boolean restrictEditAccountingLine)
Sets the restrictEditAccountingLine attribute value.

Parameters:
restrictEditAccountingLine - The restrictEditAccountingLine to set.

isRestrictViewDocument

public boolean isRestrictViewDocument()
Gets the restrictViewDocument attribute.

Returns:
Returns the restrictViewDocument.

setRestrictViewDocument

public void setRestrictViewDocument(boolean restrictViewDocument)
Sets the restrictViewDocument attribute value.

Parameters:
restrictViewDocument - The restrictViewDocument to set.

isRestrictViewNotesAndAttachments

public boolean isRestrictViewNotesAndAttachments()
Gets the restrictViewNotesAndAttachments attribute.

Returns:
Returns the restrictViewNotesAndAttachments.

setRestrictViewNotesAndAttachments

public void setRestrictViewNotesAndAttachments(boolean restrictViewNotesAndAttachments)
Sets the restrictViewNotesAndAttachments attribute value.

Parameters:
restrictViewNotesAndAttachments - The restrictViewNotesAndAttachments to set.

isRestrictLookup

public boolean isRestrictLookup()
Gets the restrictLookup attribute.

Returns:
Returns the restrictLookup.

setRestrictLookup

public void setRestrictLookup(boolean restrictLookup)
Sets the restrictLookup attribute value.

Parameters:
restrictLookup - The restrictLookup to set.

isRestrictGLInquiry

public boolean isRestrictGLInquiry()
Gets the restrictGLInquiry attribute.

Returns:
Returns the restrictGLInquiry.

setRestrictGLInquiry

public void setRestrictGLInquiry(boolean restrictGLInquiry)
Sets the restrictGLInquiry attribute value.

Parameters:
restrictGLInquiry - The restrictGLInquiry to set.

isRestrictLaborInquiry

public boolean isRestrictLaborInquiry()
Gets the restrictLaborInquiry attribute.

Returns:
Returns the restrictLaborInquiry.

setRestrictLaborInquiry

public void setRestrictLaborInquiry(boolean restrictLaborInquiry)
Sets the restrictLaborInquiry attribute value.

Parameters:
restrictLaborInquiry - The restrictLaborInquiry to set.

isActive

public boolean isActive()
Gets the active attribute.

Specified by:
isActive in interface org.kuali.rice.kns.bo.Inactivateable
Returns:
Returns the active.

setActive

public void setActive(boolean active)
Sets the active attribute value.

Specified by:
setActive in interface org.kuali.rice.kns.bo.Inactivateable
Parameters:
active - The active to set.

getSecurityAttribute

public SecurityAttribute getSecurityAttribute()
Gets the securityAttribute attribute.

Returns:
Returns the securityAttribute.

setSecurityAttribute

public void setSecurityAttribute(SecurityAttribute securityAttribute)
Sets the securityAttribute attribute value.

Parameters:
securityAttribute - The securityAttribute to set.

isRestrictEditDocument

public boolean isRestrictEditDocument()
Gets the restrictEditDocument attribute.

Returns:
Returns the restrictEditDocument.

setRestrictEditDocument

public void setRestrictEditDocument(boolean restrictEditDocument)
Sets the restrictEditDocument attribute value.

Parameters:
restrictEditDocument - The restrictEditDocument to set.

getDefinitionDocumentTypes

public List<SecurityDefinitionDocumentType> getDefinitionDocumentTypes()
Gets the definitionDocumentTypes attribute.

Returns:
Returns the definitionDocumentTypes.

setDefinitionDocumentTypes

public void setDefinitionDocumentTypes(List<SecurityDefinitionDocumentType> definitionDocumentTypes)
Sets the definitionDocumentTypes attribute value.

Parameters:
definitionDocumentTypes - The definitionDocumentTypes to set.

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.