Package org.kuali.rice.edl.impl.dao.impl
Class EDocLiteDAOJpaImpl
- java.lang.Object
-
- org.kuali.rice.edl.impl.dao.impl.EDocLiteDAOJpaImpl
-
- All Implemented Interfaces:
EDocLiteDAO
public class EDocLiteDAOJpaImpl extends java.lang.Object implements EDocLiteDAO
JPA implementation of the EDOcLiteDAO- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
-
Constructor Summary
Constructors Constructor Description EDocLiteDAOJpaImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kuali.rice.krad.data.DataObjectServicegetDataObjectService()Returns the data object service.EDocLiteAssociationgetEDocLiteAssociation(java.lang.Long associationId)Returns aEDocLiteAssociationfor the related association idEDocLiteAssociationgetEDocLiteAssociation(java.lang.String docTypeName)Returns aEDocLiteAssociationwith the associated document type name.java.util.List<EDocLiteAssociation>getEDocLiteAssociations()Returns all activeEDocLiteAssociation.EDocLiteDefinitiongetEDocLiteDefinition(java.lang.String defName)Returns aEDocLiteDefinitionwith the given definition name.java.util.List<java.lang.String>getEDocLiteDefinitions()Returns all activeEDocLiteDefinition.EDocLiteAssociationsaveEDocLiteAssociation(EDocLiteAssociation assoc)Persists the givenEDocLiteAssociationto the datasource.EDocLiteDefinitionsaveEDocLiteDefinition(EDocLiteDefinition edocLiteData)Persists the givenEDocLiteDefinitionto the datasource.java.util.List<EDocLiteAssociation>search(EDocLiteAssociation edocLite)Returns a collection ofEDocLiteAssociationwith similar properties as the given object.voidsetDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)
-
-
-
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 givenEDocLiteDefinitionto the datasource.- Specified by:
saveEDocLiteDefinitionin interfaceEDocLiteDAO- Parameters:
edocLiteData- the item to save.- Returns:
- the saved
EDocLiteDefinition
-
saveEDocLiteAssociation
public EDocLiteAssociation saveEDocLiteAssociation(EDocLiteAssociation assoc)
Persists the givenEDocLiteAssociationto the datasource.- Specified by:
saveEDocLiteAssociationin interfaceEDocLiteDAO- Parameters:
assoc- theEDocLiteAssociationto save- Returns:
- the saved
EDocLiteDefinition
-
getEDocLiteDefinition
public EDocLiteDefinition getEDocLiteDefinition(java.lang.String defName)
Returns aEDocLiteDefinitionwith the given definition name.- Specified by:
getEDocLiteDefinitionin interfaceEDocLiteDAO- Parameters:
defName- the definition name- Returns:
- a
EDocLiteDefinitionwith the given definition name.
-
getEDocLiteAssociation
public EDocLiteAssociation getEDocLiteAssociation(java.lang.String docTypeName)
Returns aEDocLiteAssociationwith the associated document type name.- Specified by:
getEDocLiteAssociationin interfaceEDocLiteDAO- Parameters:
docTypeName- the document type name- Returns:
- a
EDocLiteAssociation
-
getEDocLiteDefinitions
public java.util.List<java.lang.String> getEDocLiteDefinitions()
Returns all activeEDocLiteDefinition.- Specified by:
getEDocLiteDefinitionsin interfaceEDocLiteDAO- Returns:
- all active
EDocLiteDefinition
-
getEDocLiteAssociations
public java.util.List<EDocLiteAssociation> getEDocLiteAssociations()
Returns all activeEDocLiteAssociation.- Specified by:
getEDocLiteAssociationsin interfaceEDocLiteDAO- Returns:
- all active
EDocLiteAssociation
-
search
public java.util.List<EDocLiteAssociation> search(EDocLiteAssociation edocLite)
Returns a collection ofEDocLiteAssociationwith similar properties as the given object.- Specified by:
searchin interfaceEDocLiteDAO- Returns:
- a
ListofEDocLiteAssociation
-
getEDocLiteAssociation
public EDocLiteAssociation getEDocLiteAssociation(java.lang.Long associationId)
Returns aEDocLiteAssociationfor the related association id- Specified by:
getEDocLiteAssociationin interfaceEDocLiteDAO- Parameters:
associationId- the association id- Returns:
- a
EDocLiteAssociation
-
-