org.kuali.rice.krad.kim
Class DocumentTypePermissionTypeServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
      extended by org.kuali.rice.kns.kim.permission.PermissionTypeServiceBase
          extended by org.kuali.rice.krad.kim.DocumentTypePermissionTypeServiceImpl
All Implemented Interfaces:
PermissionTypeService, KimTypeService
Direct Known Subclasses:
AdhocReviewPermissionTypeServiceImpl, DocumentTypeAndAttachmentTypePermissionTypeService, DocumentTypeAndEditModePermissionTypeServiceImpl, DocumentTypeAndNodeAndFieldsPermissionTypeServiceImpl, DocumentTypeAndNodeOrStatePermissionTypeServiceImpl, DocumentTypeAndRelationshipToNoteAuthorPermissionTypeService

public class DocumentTypePermissionTypeServiceImpl
extends PermissionTypeServiceBase

This is a description of what this class does - mpham don't forget to fill this in.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
DataDictionaryTypeServiceBase.KimTypeAttributeException, DataDictionaryTypeServiceBase.KimTypeAttributeValidationException
 
Field Summary
protected  DocumentTypeService documentTypeService
           
 
Fields inherited from class org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
COMMA_SEPARATOR
 
Constructor Summary
DocumentTypePermissionTypeServiceImpl()
           
 
Method Summary
protected  DocumentTypeService getDocumentTypeService()
           
protected  List<String> getRequiredAttributes()
           
protected  boolean isCheckRequiredAttributes()
           
protected  List<Permission> performPermissionMatches(Map<String,String> requestedDetails, List<Permission> permissionsList)
          Loops over the given permissions and returns the most specific permission that matches.
 
Methods inherited from class org.kuali.rice.kns.kim.permission.PermissionTypeServiceBase
doesPropertyNameMatch, getMatchingPermissions
 
Methods inherited from class org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
areAttributesEqual, extractErrorsFromGlobalVariablesErrorMap, getAttributeDefinitions, getAttributeFormatter, getAttributeMaxValue, getAttributeMinValue, getAttributeValidatingExpression, getAttributeValue, getBusinessObjectService, getClosestParentDocumentTypeName, getDataDictionaryAttributeDefinition, getDataDictionaryService, getDictionaryValidationService, getNonDataDictionaryAttributeDefinition, getTypeInfoService, getUniqueAttributes, getWorkflowDocumentTypeName, getWorkflowRoutingAttributes, performMatch, translateInputAttributes, validateAttributeFormat, validateAttributeRequired, validateAttributes, validateAttributesAgainstExisting, validateDataDictionaryAttribute, validateDataDictionaryAttribute, validateNonDataDictionaryAttribute, validatePrimitiveFromDescriptor, validateReferencesExistAndActive, validateRequiredAttributesAgainstReceived, validateUniqueAttributes, validateUnmodifiableAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kim.framework.type.KimTypeService
getAttributeDefinitions, getWorkflowDocumentTypeName, getWorkflowRoutingAttributes, validateAttributes, validateAttributesAgainstExisting, validateUniqueAttributes, validateUnmodifiableAttributes
 

Field Detail

documentTypeService

protected transient DocumentTypeService documentTypeService
Constructor Detail

DocumentTypePermissionTypeServiceImpl

public DocumentTypePermissionTypeServiceImpl()
Method Detail

getRequiredAttributes

protected List<String> getRequiredAttributes()
Overrides:
getRequiredAttributes in class DataDictionaryTypeServiceBase

isCheckRequiredAttributes

protected boolean isCheckRequiredAttributes()
Overrides:
isCheckRequiredAttributes in class DataDictionaryTypeServiceBase

performPermissionMatches

protected List<Permission> performPermissionMatches(Map<String,String> requestedDetails,
                                                    List<Permission> permissionsList)
Loops over the given permissions and returns the most specific permission that matches. That is, if a permission exists for the document type, then the permission for any parent document will not be considered/returned.

Overrides:
performPermissionMatches in class PermissionTypeServiceBase

getDocumentTypeService

protected DocumentTypeService getDocumentTypeService()
Overrides:
getDocumentTypeService in class DataDictionaryTypeServiceBase


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