org.kuali.rice.krms.impl.repository
Class ReferenceObjectBindingBoServiceImpl

java.lang.Object
  extended by org.kuali.rice.krms.impl.repository.ReferenceObjectBindingBoServiceImpl
All Implemented Interfaces:
ReferenceObjectBindingBoService

public final class ReferenceObjectBindingBoServiceImpl
extends Object
implements ReferenceObjectBindingBoService

Implementation of the @{link ReferenceObjectBindingBoService} interface for accessing ReferenceObjectBindingBo related business objects.

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

Constructor Summary
ReferenceObjectBindingBoServiceImpl()
           
 
Method Summary
 List<ReferenceObjectBinding> convertBosToImmutables(Collection<ReferenceObjectBindingBo> referenceObjectBindingBos)
           
 ReferenceObjectBinding createReferenceObjectBinding(ReferenceObjectBinding referenceObjectBinding)
          This will create a ReferenceObjectBinding exactly like the parameter passed in.
 void deleteReferenceObjectBinding(String referenceObjectBindingId)
          Delete the ReferenceObjectBinding with the given id.
 List<String> findReferenceObjectBindingIds(QueryByCriteria queryByCriteria)
           
 ReferenceObjectBindingQueryResults findReferenceObjectBindings(QueryByCriteria queryByCriteria)
           
 List<ReferenceObjectBinding> findReferenceObjectBindingsByCollectionName(String collectionName)
           
 List<ReferenceObjectBinding> findReferenceObjectBindingsByKrmsDiscriminatorType(String krmsDiscriminatorType)
           
 List<ReferenceObjectBinding> findReferenceObjectBindingsByKrmsObject(String krmsObjectId)
           
 List<ReferenceObjectBinding> findReferenceObjectBindingsByNamespace(String namespace)
           
 List<ReferenceObjectBinding> findReferenceObjectBindingsByReferenceDiscriminatorType(String referenceDiscriminatorType)
           
 List<ReferenceObjectBinding> findReferenceObjectBindingsByReferenceObject(String referenceObjectId)
           
 ReferenceObjectBindingBo from(ReferenceObjectBinding referenceObjectBinding)
          Converts a immutable ReferenceObjectBinding to its mutable ReferenceObjectBindingBo counterpart.
 KrmsAttributeDefinitionService getAttributeDefinitionService()
           
 ReferenceObjectBinding getReferenceObjectBinding(String referenceObjectBindingId)
          Retrieves a ReferenceObjectBinding from the repository based on the given id.
 void setAttributeDefinitionService(KrmsAttributeDefinitionService attributeDefinitionService)
           
 void setBusinessObjectService(BusinessObjectService businessObjectService)
          Sets the value of BusinessObjectService to the given value.
 void setCriteriaLookupService(CriteriaLookupService criteriaLookupService)
           
 ReferenceObjectBinding to(ReferenceObjectBindingBo referenceObjectBindingBo)
          Converts a mutable ReferenceObjectBindingBo to its immutable counterpart, ReferenceObjectBinding.
 void updateReferenceObjectBinding(ReferenceObjectBinding referenceObjectBinding)
          This will update an existing ReferenceObjectBinding.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceObjectBindingBoServiceImpl

public ReferenceObjectBindingBoServiceImpl()
Method Detail

setBusinessObjectService

public void setBusinessObjectService(BusinessObjectService businessObjectService)
Sets the value of BusinessObjectService to the given value.

Parameters:
businessObjectService - the BusinessObjectService value to set.

setCriteriaLookupService

public void setCriteriaLookupService(CriteriaLookupService criteriaLookupService)

setAttributeDefinitionService

public void setAttributeDefinitionService(KrmsAttributeDefinitionService attributeDefinitionService)

getAttributeDefinitionService

public KrmsAttributeDefinitionService getAttributeDefinitionService()

createReferenceObjectBinding

public ReferenceObjectBinding createReferenceObjectBinding(ReferenceObjectBinding referenceObjectBinding)
Description copied from interface: ReferenceObjectBindingBoService
This will create a ReferenceObjectBinding exactly like the parameter passed in.

Specified by:
createReferenceObjectBinding in interface ReferenceObjectBindingBoService
Parameters:
referenceObjectBinding - The ReferenceObjectBinding to create.
Returns:
a ReferenceObjectBinding exactly like the parameter passed in.

getReferenceObjectBinding

public ReferenceObjectBinding getReferenceObjectBinding(String referenceObjectBindingId)
Description copied from interface: ReferenceObjectBindingBoService
Retrieves a ReferenceObjectBinding from the repository based on the given id.

Specified by:
getReferenceObjectBinding in interface ReferenceObjectBindingBoService
Parameters:
referenceObjectBindingId - to retrieve.
Returns:
a ReferenceObjectBinding identified by the given id. A null reference is returned if an invalid or non-existent id is supplied.

updateReferenceObjectBinding

public void updateReferenceObjectBinding(ReferenceObjectBinding referenceObjectBinding)
Description copied from interface: ReferenceObjectBindingBoService
This will update an existing ReferenceObjectBinding.

Specified by:
updateReferenceObjectBinding in interface ReferenceObjectBindingBoService
Parameters:
referenceObjectBinding - The ReferenceObjectBinding to update.

deleteReferenceObjectBinding

public void deleteReferenceObjectBinding(String referenceObjectBindingId)
Description copied from interface: ReferenceObjectBindingBoService
Delete the ReferenceObjectBinding with the given id.

Specified by:
deleteReferenceObjectBinding in interface ReferenceObjectBindingBoService
Parameters:
referenceObjectBindingId - to delete.

findReferenceObjectBindingsByCollectionName

public List<ReferenceObjectBinding> findReferenceObjectBindingsByCollectionName(String collectionName)
Specified by:
findReferenceObjectBindingsByCollectionName in interface ReferenceObjectBindingBoService

findReferenceObjectBindingsByKrmsDiscriminatorType

public List<ReferenceObjectBinding> findReferenceObjectBindingsByKrmsDiscriminatorType(String krmsDiscriminatorType)
Specified by:
findReferenceObjectBindingsByKrmsDiscriminatorType in interface ReferenceObjectBindingBoService

findReferenceObjectBindingsByKrmsObject

public List<ReferenceObjectBinding> findReferenceObjectBindingsByKrmsObject(String krmsObjectId)
Specified by:
findReferenceObjectBindingsByKrmsObject in interface ReferenceObjectBindingBoService

findReferenceObjectBindingsByNamespace

public List<ReferenceObjectBinding> findReferenceObjectBindingsByNamespace(String namespace)
Specified by:
findReferenceObjectBindingsByNamespace in interface ReferenceObjectBindingBoService

findReferenceObjectBindingsByReferenceDiscriminatorType

public List<ReferenceObjectBinding> findReferenceObjectBindingsByReferenceDiscriminatorType(String referenceDiscriminatorType)
Specified by:
findReferenceObjectBindingsByReferenceDiscriminatorType in interface ReferenceObjectBindingBoService

findReferenceObjectBindingsByReferenceObject

public List<ReferenceObjectBinding> findReferenceObjectBindingsByReferenceObject(String referenceObjectId)
Specified by:
findReferenceObjectBindingsByReferenceObject in interface ReferenceObjectBindingBoService

findReferenceObjectBindingIds

public List<String> findReferenceObjectBindingIds(QueryByCriteria queryByCriteria)
Specified by:
findReferenceObjectBindingIds in interface ReferenceObjectBindingBoService

findReferenceObjectBindings

public ReferenceObjectBindingQueryResults findReferenceObjectBindings(QueryByCriteria queryByCriteria)
Specified by:
findReferenceObjectBindings in interface ReferenceObjectBindingBoService

convertBosToImmutables

public List<ReferenceObjectBinding> convertBosToImmutables(Collection<ReferenceObjectBindingBo> referenceObjectBindingBos)

to

public ReferenceObjectBinding to(ReferenceObjectBindingBo referenceObjectBindingBo)
Description copied from interface: ReferenceObjectBindingBoService
Converts a mutable ReferenceObjectBindingBo to its immutable counterpart, ReferenceObjectBinding.

Specified by:
to in interface ReferenceObjectBindingBoService
Parameters:
referenceObjectBindingBo - the mutable business object.
Returns:
a ReferenceObjectBinding the immutable object.

from

public ReferenceObjectBindingBo from(ReferenceObjectBinding referenceObjectBinding)
Description copied from interface: ReferenceObjectBindingBoService
Converts a immutable ReferenceObjectBinding to its mutable ReferenceObjectBindingBo counterpart.

Specified by:
from in interface ReferenceObjectBindingBoService
Parameters:
referenceObjectBinding - the immutable object.
Returns:
a ReferenceObjectBindingBo the mutable ReferenceObjectBindingBo.


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