Class OwnerService
java.lang.Object
org.xbricks.inventories.inventory.services.GenericModelService<Owner,OwnerRepository>
org.xbricks.inventories.inventory.services.owner.OwnerService
- All Implemented Interfaces:
IGenericModelService<Owner>
,IListItemService<Owner>
,IOwnerService
@Service
public class OwnerService
extends GenericModelService<Owner,OwnerRepository>
implements IOwnerService
-
Field Summary
Fields inherited from class org.xbricks.inventories.inventory.services.GenericModelService
modelRepository
-
Constructor Summary
ConstructorDescriptionOwnerService
(OwnerRepository repository, InventoryItemRepository inventoryItemRepository) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isReferencedById
(long id) loadByName
(String name) loadByNameNotLike
(String Name) 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
-
OwnerService
-
-
Method Details
-
isReferencedById
public boolean isReferencedById(long id) - Specified by:
isReferencedById
in interfaceIGenericModelService<Owner>
- Specified by:
isReferencedById
in classGenericModelService<Owner,
OwnerRepository>
-
loadByName
- Specified by:
loadByName
in interfaceIOwnerService
-
loadByNameNotLike
- Specified by:
loadByNameNotLike
in interfaceIOwnerService
-