Class HvlOAuthLookupOperationalManagerImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.support.lookup.manager.HvlOAuthLookupOperationalManagerImpl
- All Implemented Interfaces:
HvlOAuthLookupOperationalManager
@Service
public class HvlOAuthLookupOperationalManagerImpl
extends Object
implements HvlOAuthLookupOperationalManager
The class which implements
HvlOAuthLookupOperationalManager
.-
Constructor Summary
ConstructorDescriptionHvlOAuthLookupOperationalManagerImpl
(HvlOAuthLookupRepository<HvlOAuthLookup> lookupRepository, HvlOAuthLookupMapper lookupMapper, HvlOAuthLookupGenericMapper lookupGenericMapper) Instantiates a new HvlOAuthLookupOperationalManagerImpl. -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteByUuid
(String uuid) Delete by uuid is the method used to delete the lookup model given uuid.save
(HvlOAuthLookupModel lookupModel) Save is method used to add new lookup model.update
(HvlOAuthLookupModel lookupModel) Update is the method used to redefine the properties of existing lookup model.
-
Constructor Details
-
HvlOAuthLookupOperationalManagerImpl
public HvlOAuthLookupOperationalManagerImpl(HvlOAuthLookupRepository<HvlOAuthLookup> lookupRepository, HvlOAuthLookupMapper lookupMapper, HvlOAuthLookupGenericMapper lookupGenericMapper) Instantiates a new HvlOAuthLookupOperationalManagerImpl.- Parameters:
lookupRepository
- the lookup repositorylookupMapper
- the lookup mapperlookupGenericMapper
- the lookup generic mapper
-
-
Method Details
-
save
Save is method used to add new lookup model.- Specified by:
save
in interfaceHvlOAuthLookupOperationalManager
- Parameters:
lookupModel
- the lookup model- Returns:
- the hvl o auth lookup model
-
update
Update is the method used to redefine the properties of existing lookup model.- Specified by:
update
in interfaceHvlOAuthLookupOperationalManager
- Parameters:
lookupModel
- the lookup model- Returns:
- the hvl o auth lookup model
-
deleteByUuid
public void deleteByUuid(String uuid) throws tr.com.havelsan.javarch.data.commons.exception.HvlEntityRelationExistsException Delete by uuid is the method used to delete the lookup model given uuid.- Specified by:
deleteByUuid
in interfaceHvlOAuthLookupOperationalManager
- Parameters:
uuid
- the uuid- Throws:
tr.com.havelsan.javarch.data.commons.exception.HvlEntityRelationExistsException
- the hvl entity relation exists exception
-