|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- Any kind of TransportUnit
public interface TransportUnitService<T extends TransportUnit>
A TransportService is an extension of the EntityService
interface
about some useful methods regarding the general handling with
TransportUnit
s.
EntityService
Method Summary | |
---|---|
T |
createTransportUnit(Barcode barcode,
TransportUnitType transportUnitType,
LocationPK actualLocation)
Create a new TransportUnit with the type
TransportUnitType placed on an initial Location . |
TransportUnitType |
createTransportUnitType(TransportUnitType transportUnitType)
Create a new TransportUnitType . |
void |
deleteTransportUnits(List<T> transportUnits)
Delete already persisted TransportUnit s from the persistence
storage. |
void |
deleteTransportUnitTypes(List<TransportUnitType> transportUnitType)
Delete already persisted TransportUnitType instances. |
List<T> |
getAllTransportUnits()
Returns an unsorted List of all TransportUnit s. |
List<TransportUnitType> |
getAllTransportUnitTypes()
Returns an unsorted List of all TransportUnitType s. |
List<Rule> |
loadRules(String transportUnitType)
Return a List of all Rule s that belong
to this TransportUnitType type. |
void |
moveTransportUnit(Barcode barcode,
LocationPK targetLocationPK)
Move a TransportUnit identified by its Barcode to the
given target Location identified by the LocationPK . |
TransportUnitType |
saveTransportUnitType(TransportUnitType transportUnitType)
Save an already persisted instance of TransportUnitType . |
TransportUnitType |
updateRules(String type,
List<LocationType> newAssigned,
List<LocationType> newNotAssigned)
Update the List of TypePlacingRule s for
the given TransportUnitType type. |
Methods inherited from interface org.openwms.core.service.EntityService |
---|
add, findAll, remove, save |
Method Detail |
---|
T createTransportUnit(Barcode barcode, TransportUnitType transportUnitType, LocationPK actualLocation)
TransportUnit
with the type
TransportUnitType
placed on an initial Location
. The
new TransportUnit
has the given Barcode
as identifier.
barcode
- Barcode
of the new TransportUnit
transportUnitType
- The type of the new TransportUnit
actualLocation
- The Location
where the TransportUnit
is
placed on
TransportUnit
instancevoid moveTransportUnit(Barcode barcode, LocationPK targetLocationPK)
TransportUnit
identified by its Barcode
to the
given target Location
identified by the LocationPK
.
barcode
- Barcode
of the TransportUnit
to movetargetLocationPK
- Unique identifier of the target Location
void deleteTransportUnits(List<T> transportUnits)
TransportUnit
s from the persistence
storage. It is not allowed in all cases to delete a TransportUnit
, potentially an active TransportOrder exists or Inventory is still
linked with the transportUnit.
transportUnits
- The collection of TransportUnit
s to deleteList<T> getAllTransportUnits()
TransportUnit
s.
TransportUnit
sList<TransportUnitType> getAllTransportUnitTypes()
TransportUnitType
s.
TransportUnitType
sTransportUnitType createTransportUnitType(TransportUnitType transportUnitType)
TransportUnitType
.
transportUnitType
- The type to be created
TransportUnitType
instance.void deleteTransportUnitTypes(List<TransportUnitType> transportUnitType)
TransportUnitType
instances.
transportUnitType
- A list of all instances to be deleted.TransportUnitType saveTransportUnitType(TransportUnitType transportUnitType)
TransportUnitType
.
transportUnitType
- The instance to be updated
TransportUnitType updateRules(String type, List<LocationType> newAssigned, List<LocationType> newNotAssigned)
TypePlacingRule
s for
the given TransportUnitType
type.
type
- The TransportUnitType
to update.newAssigned
- A new List of LocationType
s that are allowed for the
TransportUnitType
.newNotAssigned
- A List of LocationType
s. All
TypePlacingRule
s will be
removed which have one of this LocationType
s and the
requested TransportUnitType
type.
TransportUnitType
.List<Rule> loadRules(String transportUnitType)
Rule
s that belong
to this TransportUnitType
type.
transportUnitType
- The TransportUnitType
to search for.
null
if no Rule
was
found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |