org.kuali.kfs.module.ld.service.impl
Class LaborTransactionDescriptionServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.ld.service.impl.LaborTransactionDescriptionServiceImpl
All Implemented Interfaces:
LaborTransactionDescriptionService

public class LaborTransactionDescriptionServiceImpl
extends Object
implements LaborTransactionDescriptionService


Constructor Summary
LaborTransactionDescriptionServiceImpl()
           
 
Method Summary
 String getTransactionDescription(String descriptionKey)
          get the transaction description from the description map with the given key
 String getTransactionDescription(Transaction transaction)
          get the transaction description from the description map for the given transaction, where the description map can be defined and injected.
 void setTransactionDescriptionMap(Map<String,String> transactionDescriptionMap)
          Sets the transactionDescriptionMap attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaborTransactionDescriptionServiceImpl

public LaborTransactionDescriptionServiceImpl()
Method Detail

getTransactionDescription

public String getTransactionDescription(Transaction transaction)
Description copied from interface: LaborTransactionDescriptionService
get the transaction description from the description map for the given transaction, where the description map can be defined and injected.

Specified by:
getTransactionDescription in interface LaborTransactionDescriptionService
Parameters:
transaction - the given transaction
Returns:
the transaction description indexed by the document type of the given transaction
See Also:
LaborTransactionDescriptionService.getTransactionDescription(org.kuali.kfs.gl.businessobject.Transaction)

getTransactionDescription

public String getTransactionDescription(String descriptionKey)
Description copied from interface: LaborTransactionDescriptionService
get the transaction description from the description map with the given key

Specified by:
getTransactionDescription in interface LaborTransactionDescriptionService
Parameters:
descriptionKey - the given key that indexes a description in the description map, where the description map can be defined and injected.
Returns:
the transaction description indexed by the given key
See Also:
org.kuali.kfs.module.ld.service.LaborTransactionDescriptionService#getTransactionDescriptionByDocumentType(java.lang.String)

setTransactionDescriptionMap

public void setTransactionDescriptionMap(Map<String,String> transactionDescriptionMap)
Sets the transactionDescriptionMap attribute value.

Parameters:
transactionDescriptionMap - The transactionDescriptionMap to set.


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