org.kuali.rice.kns.service.impl
Class TransactionalDocumentDictionaryServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.service.impl.TransactionalDocumentDictionaryServiceImpl
All Implemented Interfaces:
TransactionalDocumentDictionaryService

public class TransactionalDocumentDictionaryServiceImpl
extends java.lang.Object
implements TransactionalDocumentDictionaryService

This class is the service implementation for the TransactionalDocumentDictionary structure. Defines the API for the interacting with Document-related entries in the data dictionary. This is the default implementation that gets delivered with Kuali.


Constructor Summary
TransactionalDocumentDictionaryServiceImpl()
           
 
Method Summary
 java.lang.Boolean getAllowsCopy(TransactionalDocument document)
          Returns whether or not this document's data dictionary file has flagged it to allow document copies.
 java.lang.Class getBusinessRulesClass(TransactionalDocument document)
           
 DataDictionary getDataDictionary()
          Retrieves the data dictionary instance.
 java.util.Collection getDefaultExistenceChecks(java.lang.String docTypeName)
          This overridden method ...
 java.util.Collection getDefaultExistenceChecks(TransactionalDocument document)
          This overridden method ...
 java.lang.String getDescription(java.lang.String transactionalDocumentTypeName)
          Retrieves the full description of the transactional document as described in its data dictionary entry.
 java.lang.Class getDocumentClassByName(java.lang.String documentTypeName)
          Retrieves a document instance by it's class name.
protected  org.kuali.rice.kew.dto.DocumentTypeDTO getDocumentType(java.lang.String documentTypeName)
          This method gets the workflow document type for the given documentTypeName
 java.lang.String getLabel(java.lang.String transactionalDocumentTypeName)
          Retrieves the label for the transactional document as described in its data dictionary entry.
 void setDataDictionaryService(DataDictionaryService dataDictionaryService)
          Sets the data dictionary instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionalDocumentDictionaryServiceImpl

public TransactionalDocumentDictionaryServiceImpl()
Method Detail

getAllowsCopy

public java.lang.Boolean getAllowsCopy(TransactionalDocument document)
Description copied from interface: TransactionalDocumentDictionaryService
Returns whether or not this document's data dictionary file has flagged it to allow document copies.

Specified by:
getAllowsCopy in interface TransactionalDocumentDictionaryService
Returns:
True if copies are allowed, false otherwise.
See Also:
org.kuali.rice.kns.service.TransactionalDocumentDictionaryService#getAllowsCopy(org.kuali.bo.TransactionalDocument)

getDocumentClassByName

public java.lang.Class getDocumentClassByName(java.lang.String documentTypeName)
Description copied from interface: TransactionalDocumentDictionaryService
Retrieves a document instance by it's class name.

Specified by:
getDocumentClassByName in interface TransactionalDocumentDictionaryService
Returns:
A document instance.
See Also:
TransactionalDocumentDictionaryService.getDocumentClassByName(java.lang.String)

getDescription

public java.lang.String getDescription(java.lang.String transactionalDocumentTypeName)
Description copied from interface: TransactionalDocumentDictionaryService
Retrieves the full description of the transactional document as described in its data dictionary entry.

Specified by:
getDescription in interface TransactionalDocumentDictionaryService
Returns:
The transactional document's full description.
See Also:
org.kuali.rice.kns.service.TransactionalDocumentDictionaryService#getDescription(org.kuali.bo.TransactionalDocument)

getLabel

public java.lang.String getLabel(java.lang.String transactionalDocumentTypeName)
Description copied from interface: TransactionalDocumentDictionaryService
Retrieves the label for the transactional document as described in its data dictionary entry.

Specified by:
getLabel in interface TransactionalDocumentDictionaryService
Returns:
The transactional document's label.
See Also:
org.kuali.rice.kns.service.TransactionalDocumentDictionaryService#getDescription(org.kuali.bo.TransactionalDocument)

getBusinessRulesClass

public java.lang.Class getBusinessRulesClass(TransactionalDocument document)
Specified by:
getBusinessRulesClass in interface TransactionalDocumentDictionaryService
Returns:
businessRulesClass associated with the given document's type
See Also:
org.kuali.rice.kns.service.TransactionalDocumentDictionaryService#getBusinessRulesClass(org.kuali.bo.TransactionalDocument)

setDataDictionaryService

public void setDataDictionaryService(DataDictionaryService dataDictionaryService)
Sets the data dictionary instance.

Parameters:
dataDictionaryService -

getDataDictionary

public DataDictionary getDataDictionary()
Retrieves the data dictionary instance.

Returns:

getDocumentType

protected org.kuali.rice.kew.dto.DocumentTypeDTO getDocumentType(java.lang.String documentTypeName)
This method gets the workflow document type for the given documentTypeName

Parameters:
documentTypeName -
Returns:

getDefaultExistenceChecks

public java.util.Collection getDefaultExistenceChecks(java.lang.String docTypeName)
This overridden method ...

Specified by:
getDefaultExistenceChecks in interface TransactionalDocumentDictionaryService
Returns:
A Collection of ReferenceDefinitions
See Also:
TransactionalDocumentDictionaryService.getDefaultExistenceChecks(java.lang.String)

getDefaultExistenceChecks

public java.util.Collection getDefaultExistenceChecks(TransactionalDocument document)
This overridden method ...

Specified by:
getDefaultExistenceChecks in interface TransactionalDocumentDictionaryService
Returns:
A Collection of ReferenceDefinitions
See Also:
TransactionalDocumentDictionaryService.getDefaultExistenceChecks(org.kuali.rice.kns.document.TransactionalDocument)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.