public class SecurityModelMaintainableImpl extends AbstractSecurityModuleMaintainable
businessObject, businessObjectAuthorizationService, businessObjectDictionaryService, businessObjectMetaDataService, documentHelperService, inactiveRecordDisplay, maintenanceDocumentDictionaryService, newCollectionLineNames, newCollectionLines, personService
Constructor and Description |
---|
SecurityModelMaintainableImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
assignOrUpdateModelMembers(org.kuali.rice.kim.api.role.Role modelRole,
SecurityModel securityModel)
Iterates through the model member list and assign members to the model role or updates the membership
|
protected void |
assignOrUpdateModelMembershipToDefinitionRoles(org.kuali.rice.kim.api.role.Role modelRole,
SecurityModel oldSecurityModel,
SecurityModel newSecurityModel,
boolean newMaintenanceAction)
Iterates through the model definition list and assigns the model role to the definition role if necessary or updates the
current member assignment
|
protected org.kuali.rice.kim.api.role.Role |
createOrUpdateModelRole(SecurityModel newSecurityModel)
Creates a new role for the model (if the model is new), otherwise updates the role
|
protected void |
createPrincipalSecurityRecords(String memberId,
String memberTypeCode)
Creates security principal records for model members (if necessary) so that they will appear on security principal lookup for
editing
|
void |
doRouteStatusChange(org.kuali.rice.krad.bo.DocumentHeader documentHeader) |
protected void |
inactivateModelRole(org.kuali.rice.kim.api.role.Role modelRole)
Saves the given security model setting the active indicator to false
|
protected boolean |
isDefinitionInModel(String definitionName,
SecurityModel securityModel)
Determines whether the given definition is part of the SecurityModel associated definitions
|
void |
processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument document,
Map<String,String[]> parameters)
Override to clear out KIM role id on copy
|
doMembershipQualificationsMatchValues, doQualificationsMatch, getDefaultRoleTypeId, getRoleMembershipForMemberType, getRoleQualifiersFromSecurityModelDefinition, refresh, updateSecurityModelRoleMember
answerSplitNodeQuestion, populateChartOfAccountsCodeFields, processAfterPost, processBeforeAddLine, refreshReferences, saveBusinessObject
addMultipleValueLookupResults, addNewLineToCollection, clearBusinessObjectOfRestrictedValues, clearCollectionRestrictedValues, clearFieldRestrictedValues, decryptEncryptedData, deleteBusinessObject, generateAllAffectedReferences, getAffectedReferencesFromLookup, getAllRefreshableReferences, getBoClass, getBusinessObject, getBusinessObjectAuthorizationService, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getCoreSections, getDocumentHelperService, getDocumentTitle, getDuplicateIdentifierFieldsFromDataDictionary, getInactiveRecordDisplay, getMaintainableTitle, getMaintenanceDocumentDictionaryService, getMultiValueIdentifierList, getNewCollectionLine, getPersonService, getSections, getShowInactiveRecords, hasBusinessObjectExisted, initNewCollectionLine, isBoNotesEnabled, isExternalBusinessObject, isNotesEnabled, isOldBusinessObjectInDocument, isRelationshipRefreshable, performCollectionForceUpperCase, performFieldForceUpperCase, performFieldForceUpperCase, performForceUpperCase, populateBusinessObject, populateNewCollectionLines, populateNewSubCollectionLines, prepareBusinessObject, prepareBusinessObjectForAdditionFromMultipleValueLookup, processAfterAddLine, processAfterEdit, processAfterNew, saveDataObject, setBoClass, setBusinessObject, setBusinessObjectAuthorizationService, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setDataObject, setDocumentHelperService, setGenerateBlankRequiredValues, setGenerateDefaultValues, setMaintenanceDocumentDictionaryService, setNewCollectionLineDefaultValues, setPersonService, setShowInactiveRecords, setupNewFromExisting, shouldFieldBeEncrypted
deleteDataObject, generateMaintenanceLocks, getCustomLockDescriptor, getDataObject, getDataObjectAuthorizationService, getDataObjectClass, getDataObjectMetaDataService, getDocumentDictionaryService, getDocumentNumber, getDocumentTitle, getDocumentTypeName, getEncryptionService, getLockingDocumentId, getLookupService, getMaintenanceAction, getMaintenanceDocumentService, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isLockable, isOldDataObjectInDocument, prepareExternalBusinessObject, prepareForSave, processAfterAddLine, processAfterCopy, processAfterDeleteLine, processAfterEdit, processAfterNew, processAfterPost, processAfterRetrieve, retrieveObjectForEditOrCopy, setDataObjectAuthorizationService, setDataObjectClass, setDataObjectMetaDataService, setDocumentDictionaryService, setDocumentNumber, setEncryptionService, setLookupService, setMaintenanceAction, setMaintenanceDocumentService, setupNewFromExisting, useCustomLockDescriptors
addCustomContainerComponents, addLine, adjustIdIfNecessary, applyAuthorizationAndPresentationLogic, applyDefaultValues, applyDefaultValuesForCollectionLine, buildClientSideStateScript, buildExportTableData, buildExportTableRow, buildGrowlScript, buildInquiryLink, cleanViewAfterRender, findNestedDictionaryAttribute, getBusinessObjectService, getCommonContext, getConfigurationService, getDataDictionaryService, getExportTableFormatOptions, getExpressionEvaluator, getPersistenceService, getPersistenceStructureService, getPreModelContext, getViewDictionaryService, initializeDataFieldFromDataDictionary, invokeMethodFinalizer, logAndThrowRuntime, performAddLineValidation, performApplyModel, performComponentApplyModel, performComponentFinalize, performComponentInitialization, performComponentLifecycle, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performDeleteLineValidation, performFinalize, performInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAfterSaveLine, processAnyRemoteFieldsHolder, processBeforeAddLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, refreshReferences, retrieveEditModesAndActionFlags, runComponentModifiers, setBusinessObjectService, setConfigurationService, setDataDictionaryService, setExpressionEvaluator, setPersistenceService, setPersistenceStructureService, setViewContext, setViewDictionaryService, spawnSubLifecyle, syncClientSideStateForComponent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deleteDataObject, generateMaintenanceLocks, getCustomLockDescriptor, getDataObject, getDataObjectClass, getDocumentTitle, getLockingDocumentId, getMaintenanceAction, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isLockable, isOldDataObjectInDocument, prepareExternalBusinessObject, prepareForSave, processAfterCopy, processAfterEdit, processAfterNew, processAfterPost, processAfterRetrieve, retrieveObjectForEditOrCopy, setDataObjectClass, setDocumentNumber, setMaintenanceAction, setupNewFromExisting, useCustomLockDescriptors
applyDefaultValuesForCollectionLine, buildExportTableData, buildInquiryLink, cleanViewAfterRender, getCommonContext, getExpressionEvaluator, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, performInitialization, populateViewFromRequestParameters, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, refreshReferences, spawnSubLifecyle
public SecurityModelMaintainableImpl()
public void doRouteStatusChange(org.kuali.rice.krad.bo.DocumentHeader documentHeader)
doRouteStatusChange
in interface org.kuali.rice.krad.maintenance.Maintainable
doRouteStatusChange
in class org.kuali.rice.krad.maintenance.MaintainableImpl
MaintainableImpl.doRouteStatusChange(org.kuali.rice.krad.bo.DocumentHeader)
protected org.kuali.rice.kim.api.role.Role createOrUpdateModelRole(SecurityModel newSecurityModel)
oldSecurityModel
- SecurityModel record before updatesnewSecurityModel
- SecurityModel after updatesprotected void inactivateModelRole(org.kuali.rice.kim.api.role.Role modelRole)
newSecurityModel
- SecurityModel to inactivateprotected void assignOrUpdateModelMembershipToDefinitionRoles(org.kuali.rice.kim.api.role.Role modelRole, SecurityModel oldSecurityModel, SecurityModel newSecurityModel, boolean newMaintenanceAction)
oldSecurityModel
- SecurityModel record before updatesnewSecurityModel
- SecurityModel whose membership should be updatednewMaintenanceAction
- boolean indicating whether this is a new record (old side will not contain data)protected void assignOrUpdateModelMembers(org.kuali.rice.kim.api.role.Role modelRole, SecurityModel securityModel)
securityModel
- SecurityModel whose member list should be updatedprotected void createPrincipalSecurityRecords(String memberId, String memberTypeCode)
memberId
- String member id of model rolememberTypeCode
- String member type code for memberprotected boolean isDefinitionInModel(String definitionName, SecurityModel securityModel)
definitionName
- name of definition to look forsecurityModel
- SecurityModel to checkpublic void processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument document, Map<String,String[]> parameters)
processAfterCopy
in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
KualiMaintainableImpl.processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument,
java.util.Map)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.