org.opensubsystems.inventory.persist
Interface ItemUnitIdentificationViewFactory

All Superinterfaces:
org.opensubsystems.core.persist.DataFactory, org.opensubsystems.patterns.listdata.persist.ListFactory
All Known Implementing Classes:
ItemUnitIdentificationViewDatabaseFactory

public interface ItemUnitIdentificationViewFactory
extends org.opensubsystems.core.persist.DataFactory, org.opensubsystems.patterns.listdata.persist.ListFactory

Methods to create, retrieve and manipulate items and units in the persistence store.

Version:
$Id: ItemUnitIdentificationViewFactory.java,v 1.2 2007/01/07 06:14:31 bastafidli Exp $
Author:
Miro Halas
Code reviewer:
TODO: Review this code
Code reviewed:

Method Summary
 java.util.List get(org.opensubsystems.patterns.listdata.data.SimpleRule securityData, int iInventoryId, java.util.Collection colIdentificationIds)
          Get specified identifications from the specified inventory.
 java.util.List getRetired(org.opensubsystems.patterns.listdata.data.SimpleRule securityData, int iInventoryId)
          Get identifications which are retired from the specified inventory.
 java.util.List getRetired(org.opensubsystems.patterns.listdata.data.SimpleRule securityData, int iInventoryId, java.util.Collection colIdentificationIds)
          Get specified identifications which are retired from the specified inventory.
 
Methods inherited from interface org.opensubsystems.patterns.listdata.persist.ListFactory
get, getDefaultListDefinition
 

Method Detail

get

java.util.List get(org.opensubsystems.patterns.listdata.data.SimpleRule securityData,
                   int iInventoryId,
                   java.util.Collection colIdentificationIds)
                   throws org.opensubsystems.core.error.OSSException
Get specified identifications from the specified inventory.

Parameters:
securityData - - data describing security for the data objects which should be retrieved
iInventoryId - - inventory id from where to retrieve the data
colIdentificationIds - - collection of identification IDs to retrieve
Returns:
List - list of ItemUnitIdentificationView
Throws:
org.opensubsystems.core.error.OSSException - - an error has occured

getRetired

java.util.List getRetired(org.opensubsystems.patterns.listdata.data.SimpleRule securityData,
                          int iInventoryId)
                          throws org.opensubsystems.core.error.OSSException
Get identifications which are retired from the specified inventory.

Parameters:
securityData - - data describing security for the data objects which should be retrieved
iInventoryId - - inventory id from where to retrieve the data
Returns:
List - list of ItemUnitIdentificationView which are retired
Throws:
org.opensubsystems.core.error.OSSException - - an error has occured

getRetired

java.util.List getRetired(org.opensubsystems.patterns.listdata.data.SimpleRule securityData,
                          int iInventoryId,
                          java.util.Collection colIdentificationIds)
                          throws org.opensubsystems.core.error.OSSException
Get specified identifications which are retired from the specified inventory.

Parameters:
securityData - - data describing security for the data objects which should be retrieved
iInventoryId - - inventory id from where to retrieve the data
colIdentificationIds - - collection of identification IDs to retrieve if they are retired, if some of the IDs are not retired they won't be returned, if null then all retired will be returned
Returns:
List - list of ItemUnitIdentificationView which are retired
Throws:
org.opensubsystems.core.error.OSSException - - an error has occured


Copyright © 2003 - 2006 OpenSubsystems s.r.o.