org.kuali.kfs.sec.service.impl
Class SecDocumentHelperServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.service.impl.DocumentHelperServiceImpl
      extended by org.kuali.kfs.sys.service.impl.DocumentHelperServiceImpl
          extended by org.kuali.kfs.sec.service.impl.SecDocumentHelperServiceImpl
All Implemented Interfaces:
org.kuali.rice.kns.service.DocumentHelperService

public class SecDocumentHelperServiceImpl
extends DocumentHelperServiceImpl

Override of document helper service to return a custom document authorizer for document types that have access security restrictions


Field Summary
protected  org.kuali.rice.kns.service.ParameterService parameterService
           
 
Constructor Summary
SecDocumentHelperServiceImpl()
           
 
Method Summary
 org.kuali.rice.kns.document.authorization.DocumentAuthorizer getDocumentAuthorizer(String documentType)
          Checks to see if the document type has access security restrictions and if so returns a new SecTransactionalDocumentAuthorizer instance, otherwise returns the document authorizer configured in the data dictionary
 void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
          Sets the parameterService attribute value.
 
Methods inherited from class org.kuali.kfs.sys.service.impl.DocumentHelperServiceImpl
getDocumentPresentationController
 
Methods inherited from class org.kuali.rice.kns.service.impl.DocumentHelperServiceImpl
getDataDictionaryService, getDocumentAuthorizer, getDocumentPresentationController, setDataDictionaryService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parameterService

protected org.kuali.rice.kns.service.ParameterService parameterService
Constructor Detail

SecDocumentHelperServiceImpl

public SecDocumentHelperServiceImpl()
Method Detail

getDocumentAuthorizer

public org.kuali.rice.kns.document.authorization.DocumentAuthorizer getDocumentAuthorizer(String documentType)
Checks to see if the document type has access security restrictions and if so returns a new SecTransactionalDocumentAuthorizer instance, otherwise returns the document authorizer configured in the data dictionary

Specified by:
getDocumentAuthorizer in interface org.kuali.rice.kns.service.DocumentHelperService
Overrides:
getDocumentAuthorizer in class DocumentHelperServiceImpl
See Also:
DocumentHelperServiceImpl.getDocumentAuthorizer(java.lang.String), SecTransactionalDocumentAuthorizer

setParameterService

public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value.

Parameters:
parameterService - The parameterService to set.


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