Class DepotService
java.lang.Object
org.xbricks.inventories.inventory.services.GenericModelService<Depot,DepotRepository>
org.xbricks.inventories.inventory.services.depot.DepotService
- All Implemented Interfaces:
IDepotService
,IGenericModelService<Depot>
,ITreeItemService<Depot>
@Service
public class DepotService
extends GenericModelService<Depot,DepotRepository>
implements IDepotService
-
Field Summary
Fields inherited from class org.xbricks.inventories.inventory.services.GenericModelService
modelRepository
-
Constructor Summary
ConstructorDescriptionDepotService
(DepotRepository repository, InventoryItemRepository inventoryItemRepository) -
Method Summary
Modifier and TypeMethodDescriptioncreateByPath
(String path) boolean
existsByPath
(String path) long
getCountOfChildren
(Depot entity) boolean
isReferencedById
(long id) loadByPath
(String path) Methods inherited from class org.xbricks.inventories.inventory.services.GenericModelService
deleteById, loadAll, loadById, save
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xbricks.inventories.inventory.services.IGenericModelService
deleteById, loadAll, loadById, save
-
Constructor Details
-
DepotService
-
-
Method Details
-
getCountOfChildren
- Specified by:
getCountOfChildren
in interfaceITreeItemService<Depot>
-
getPath
- Specified by:
getPath
in interfaceITreeItemService<Depot>
-
isReferencedById
public boolean isReferencedById(long id) - Specified by:
isReferencedById
in interfaceIGenericModelService<Depot>
- Specified by:
isReferencedById
in classGenericModelService<Depot,
DepotRepository>
-
loadByPath
- Specified by:
loadByPath
in interfaceITreeItemService<Depot>
-
existsByPath
- Specified by:
existsByPath
in interfaceITreeItemService<Depot>
-
createByPath
- Specified by:
createByPath
in interfaceITreeItemService<Depot>
-