org.kuali.rice.krms.impl.repository
Interface ReferenceObjectBindingBoService

All Known Implementing Classes:
ReferenceObjectBindingBoServiceImpl

public interface ReferenceObjectBindingBoService

This is the interface for accessing repository ReferenceObjectBindingBo related business objects.

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

Method Summary
 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.
 ReferenceObjectBinding getReferenceObjectBinding(String referenceObjectBindingId)
          Retrieves a ReferenceObjectBinding from the repository based on the given id.
 ReferenceObjectBinding to(ReferenceObjectBindingBo referenceObjectBindingBo)
          Converts a mutable ReferenceObjectBindingBo to its immutable counterpart, ReferenceObjectBinding.
 void updateReferenceObjectBinding(ReferenceObjectBinding referenceObjectBinding)
          This will update an existing ReferenceObjectBinding.
 

Method Detail

createReferenceObjectBinding

ReferenceObjectBinding createReferenceObjectBinding(ReferenceObjectBinding referenceObjectBinding)
This will create a ReferenceObjectBinding exactly like the parameter passed in.

Parameters:
referenceObjectBinding - The ReferenceObjectBinding to create.
Returns:
a ReferenceObjectBinding exactly like the parameter passed in.
Throws:
IllegalArgumentException - if the ReferenceObjectBinding is null.
IllegalStateException - if the ReferenceObjectBinding already exists in the system.

getReferenceObjectBinding

ReferenceObjectBinding getReferenceObjectBinding(String referenceObjectBindingId)
Retrieves a ReferenceObjectBinding from the repository based on the given id.

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

void updateReferenceObjectBinding(ReferenceObjectBinding referenceObjectBinding)
This will update an existing ReferenceObjectBinding.

Parameters:
referenceObjectBinding - The ReferenceObjectBinding to update.
Throws:
IllegalArgumentException - if the ReferenceObjectBinding is null.
IllegalStateException - if the ReferenceObjectBinding does not exists in the system.

deleteReferenceObjectBinding

void deleteReferenceObjectBinding(String referenceObjectBindingId)
Delete the ReferenceObjectBinding with the given id.

Parameters:
referenceObjectBindingId - to delete.
Throws:
IllegalArgumentException - if the ReferenceObjectBinding is null.
IllegalStateException - if the ReferenceObjectBinding does not exists in the system

findReferenceObjectBindingsByCollectionName

List<ReferenceObjectBinding> findReferenceObjectBindingsByCollectionName(String collectionName)

findReferenceObjectBindingsByKrmsDiscriminatorType

List<ReferenceObjectBinding> findReferenceObjectBindingsByKrmsDiscriminatorType(String krmsDiscriminatorType)

findReferenceObjectBindingsByKrmsObject

List<ReferenceObjectBinding> findReferenceObjectBindingsByKrmsObject(String krmsObjectId)

findReferenceObjectBindingsByNamespace

List<ReferenceObjectBinding> findReferenceObjectBindingsByNamespace(String namespace)

findReferenceObjectBindingsByReferenceDiscriminatorType

List<ReferenceObjectBinding> findReferenceObjectBindingsByReferenceDiscriminatorType(String referenceDiscriminatorType)

findReferenceObjectBindingsByReferenceObject

List<ReferenceObjectBinding> findReferenceObjectBindingsByReferenceObject(String referenceObjectId)

findReferenceObjectBindingIds

List<String> findReferenceObjectBindingIds(QueryByCriteria queryByCriteria)

findReferenceObjectBindings

ReferenceObjectBindingQueryResults findReferenceObjectBindings(QueryByCriteria queryByCriteria)

to

ReferenceObjectBinding to(ReferenceObjectBindingBo referenceObjectBindingBo)
Converts a mutable ReferenceObjectBindingBo to its immutable counterpart, ReferenceObjectBinding.

Parameters:
referenceObjectBindingBo - the mutable business object.
Returns:
a ReferenceObjectBinding the immutable object.

from

ReferenceObjectBindingBo from(ReferenceObjectBinding referenceObjectBinding)
Converts a immutable ReferenceObjectBinding to its mutable ReferenceObjectBindingBo counterpart.

Parameters:
referenceObjectBinding - the immutable object.
Returns:
a ReferenceObjectBindingBo the mutable ReferenceObjectBindingBo.


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