com.rapidtransform.part.service
Interface ItemService

All Superinterfaces:
CRUDService<ItemVersion>, DocumentedService<ItemVersion>, MetaCRUDService<ItemVersion>, Service, SpecifiedService<ItemVersion>
All Known Implementing Classes:
ItemServiceImpl

public interface ItemService
extends MetaCRUDService<ItemVersion>, SpecifiedService<ItemVersion>, DocumentedService<ItemVersion>

This service provides methods for finding Items and Item subcomponents as well as CRUD services for these objects. The methods contain logic for incorporating business rules and workflow processes.

Author:
S. Werner

Method Summary
 Item findItem(java.lang.String itemId)
           
 java.util.List findItems(java.lang.Integer resultsPerPage)
           
 ItemVersion revise(Item item)
           
 Assembly saveAssembly(Assembly assembly)
           
 CollectionView saveCollectionView(CollectionView collectionView)
           
 ItemInstance saveItemInstance(ItemInstance itemInstance)
           
 ItemView saveItemView(ItemView itemView)
           
 QuantifiedInstance saveQuantifiedInstance(QuantifiedInstance quantifiedInstance)
           
 SelectedInstance saveSelectedInstance(SelectedInstance selectedInstance)
           
 SingleInstance saveSingleInstance(SingleInstance singleInstance)
           
 SpecifiedInstance saveSpecifiedInstance(SpecifiedInstance specifiedInstance)
           
 
Methods inherited from interface com.rapidtransform.core.service.MetaCRUDService
create, createRelation, findByMetaType
 
Methods inherited from interface com.rapidtransform.core.service.CRUDService
create, find, findAll, save
 
Methods inherited from interface com.rapidtransform.spec.service.SpecifiedService
addSpecification, getSpecifications
 
Methods inherited from interface com.rapidtransform.doc.service.DocumentedService
addDocument, getDocuments
 

Method Detail

findItem

Item findItem(java.lang.String itemId)
              throws ConveloException,
                     org.springframework.dao.DataAccessException
Throws:
ConveloException
org.springframework.dao.DataAccessException

findItems

java.util.List findItems(java.lang.Integer resultsPerPage)
                         throws ConveloException,
                                org.springframework.dao.DataAccessException
Throws:
ConveloException
org.springframework.dao.DataAccessException

revise

ItemVersion revise(Item item)
                   throws ConveloException
Throws:
ConveloException

saveItemView

ItemView saveItemView(ItemView itemView)
                      throws ConveloException,
                             org.springframework.dao.DataAccessException
Throws:
ConveloException
org.springframework.dao.DataAccessException

saveAssembly

Assembly saveAssembly(Assembly assembly)
                      throws ConveloException,
                             org.springframework.dao.DataAccessException
Throws:
ConveloException
org.springframework.dao.DataAccessException

saveCollectionView

CollectionView saveCollectionView(CollectionView collectionView)
                                  throws ConveloException,
                                         org.springframework.dao.DataAccessException
Throws:
ConveloException
org.springframework.dao.DataAccessException

saveItemInstance

ItemInstance saveItemInstance(ItemInstance itemInstance)
                              throws ConveloException,
                                     org.springframework.dao.DataAccessException
Throws:
ConveloException
org.springframework.dao.DataAccessException

saveSingleInstance

SingleInstance saveSingleInstance(SingleInstance singleInstance)
                                  throws ConveloException,
                                         org.springframework.dao.DataAccessException
Throws:
ConveloException
org.springframework.dao.DataAccessException

saveQuantifiedInstance

QuantifiedInstance saveQuantifiedInstance(QuantifiedInstance quantifiedInstance)
                                          throws ConveloException,
                                                 org.springframework.dao.DataAccessException
Throws:
ConveloException
org.springframework.dao.DataAccessException

saveSelectedInstance

SelectedInstance saveSelectedInstance(SelectedInstance selectedInstance)
                                      throws ConveloException,
                                             org.springframework.dao.DataAccessException
Throws:
ConveloException
org.springframework.dao.DataAccessException

saveSpecifiedInstance

SpecifiedInstance saveSpecifiedInstance(SpecifiedInstance specifiedInstance)
                                        throws ConveloException,
                                               org.springframework.dao.DataAccessException
Throws:
ConveloException
org.springframework.dao.DataAccessException