org.kuali.rice.edl.impl.dao.impl
Class EDocLiteDAOJpaImpl

java.lang.Object
  extended by org.kuali.rice.edl.impl.dao.impl.EDocLiteDAOJpaImpl
All Implemented Interfaces:
EDocLiteDAO

public class EDocLiteDAOJpaImpl
extends Object
implements EDocLiteDAO

JPA implementation of the EDOcLiteDAO

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

Constructor Summary
EDocLiteDAOJpaImpl()
           
 
Method Summary
 org.kuali.rice.krad.data.DataObjectService getDataObjectService()
          Returns the data object service.
 EDocLiteAssociation getEDocLiteAssociation(Long associationId)
          Returns a EDocLiteAssociation for the related association id
 EDocLiteAssociation getEDocLiteAssociation(String docTypeName)
          Returns a EDocLiteAssociation with the associated document type name.
 List<EDocLiteAssociation> getEDocLiteAssociations()
          Returns all active EDocLiteAssociation.
 EDocLiteDefinition getEDocLiteDefinition(String defName)
          Returns a EDocLiteDefinition with the given definition name.
 List<String> getEDocLiteDefinitions()
          Returns all active EDocLiteDefinition.
 EDocLiteAssociation saveEDocLiteAssociation(EDocLiteAssociation assoc)
          Persists the given EDocLiteAssociation to the datasource.
 EDocLiteDefinition saveEDocLiteDefinition(EDocLiteDefinition edocLiteData)
          Persists the given EDocLiteDefinition to the datasource.
 List<EDocLiteAssociation> search(EDocLiteAssociation edocLite)
          Returns a collection of EDocLiteAssociation with similar properties as the given object.
 void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EDocLiteDAOJpaImpl

public EDocLiteDAOJpaImpl()
Method Detail

getDataObjectService

public org.kuali.rice.krad.data.DataObjectService getDataObjectService()
Returns the data object service.

Returns:
the DataObjectService

setDataObjectService

public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)
See Also:
getDataObjectService()

saveEDocLiteDefinition

public EDocLiteDefinition saveEDocLiteDefinition(EDocLiteDefinition edocLiteData)
Persists the given EDocLiteDefinition to the datasource.

Specified by:
saveEDocLiteDefinition in interface EDocLiteDAO
Parameters:
edocLiteData - the item to save.
Returns:
the saved EDocLiteDefinition

saveEDocLiteAssociation

public EDocLiteAssociation saveEDocLiteAssociation(EDocLiteAssociation assoc)
Persists the given EDocLiteAssociation to the datasource.

Specified by:
saveEDocLiteAssociation in interface EDocLiteDAO
Parameters:
assoc - the EDocLiteAssociation to save
Returns:
the saved EDocLiteDefinition

getEDocLiteDefinition

public EDocLiteDefinition getEDocLiteDefinition(String defName)
Returns a EDocLiteDefinition with the given definition name.

Specified by:
getEDocLiteDefinition in interface EDocLiteDAO
Parameters:
defName - the definition name
Returns:
a EDocLiteDefinition with the given definition name.

getEDocLiteAssociation

public EDocLiteAssociation getEDocLiteAssociation(String docTypeName)
Returns a EDocLiteAssociation with the associated document type name.

Specified by:
getEDocLiteAssociation in interface EDocLiteDAO
Parameters:
docTypeName - the document type name
Returns:
a EDocLiteAssociation

getEDocLiteDefinitions

public List<String> getEDocLiteDefinitions()
Returns all active EDocLiteDefinition.

Specified by:
getEDocLiteDefinitions in interface EDocLiteDAO
Returns:
all active EDocLiteDefinition

getEDocLiteAssociations

public List<EDocLiteAssociation> getEDocLiteAssociations()
Returns all active EDocLiteAssociation.

Specified by:
getEDocLiteAssociations in interface EDocLiteDAO
Returns:
all active EDocLiteAssociation

search

public List<EDocLiteAssociation> search(EDocLiteAssociation edocLite)
Returns a collection of EDocLiteAssociation with similar properties as the given object.

Specified by:
search in interface EDocLiteDAO
Returns:
a List of EDocLiteAssociation

getEDocLiteAssociation

public EDocLiteAssociation getEDocLiteAssociation(Long associationId)
Returns a EDocLiteAssociation for the related association id

Specified by:
getEDocLiteAssociation in interface EDocLiteDAO
Parameters:
associationId - the association id
Returns:
a EDocLiteAssociation


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.