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
ConstructorsConstructorDescriptionDepotService(DepotRepository repository, InventoryItemRepository inventoryItemRepository) -
Method Summary
Modifier and TypeMethodDescriptioncreateByPath(String path) booleanexistsByPath(String path) longgetCountOfChildren(Depot entity) booleanisReferencedById(long id) loadByPath(String path) Methods inherited from class org.xbricks.inventories.inventory.services.GenericModelService
deleteById, loadAll, loadById, saveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xbricks.inventories.inventory.services.IGenericModelService
deleteById, loadAll, loadById, save
-
Constructor Details
-
DepotService
-
-
Method Details
-
getCountOfChildren
- Specified by:
getCountOfChildrenin interfaceITreeItemService<Depot>
-
getPath
- Specified by:
getPathin interfaceITreeItemService<Depot>
-
isReferencedById
public boolean isReferencedById(long id) - Specified by:
isReferencedByIdin interfaceIGenericModelService<Depot>- Specified by:
isReferencedByIdin classGenericModelService<Depot,DepotRepository>
-
loadByPath
- Specified by:
loadByPathin interfaceITreeItemService<Depot>
-
existsByPath
- Specified by:
existsByPathin interfaceITreeItemService<Depot>
-
createByPath
- Specified by:
createByPathin interfaceITreeItemService<Depot>
-