Package org.damap.base.rest.storage
Class InternalStorageTranslationService
java.lang.Object
org.damap.base.rest.storage.InternalStorageTranslationService
- All Implemented Interfaces:
ServiceCreate<InternalStorageTranslationDO,,InternalStorageTranslationDO> ServiceDelete,ServiceRead<InternalStorageTranslationDO>,ServiceSearch<InternalStorageTranslationDO>,ServiceUpdate<InternalStorageTranslationDO,InternalStorageTranslationDO>
@ApplicationScoped
public class InternalStorageTranslationService
extends Object
implements ServiceCreate<InternalStorageTranslationDO,InternalStorageTranslationDO>, ServiceDelete, ServiceRead<InternalStorageTranslationDO>, ServiceSearch<InternalStorageTranslationDO>, ServiceUpdate<InternalStorageTranslationDO,InternalStorageTranslationDO>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate.voiddelete.getAllByStorageId(String storageId) getInternalStorageTranslationById(long internalStorageTranslationId) read.read.search.update(String id, InternalStorageTranslationDO data) update.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.damap.base.rest.base.service.ServiceSearch
convertValue, getEntityFields
-
Constructor Details
-
InternalStorageTranslationService
public InternalStorageTranslationService()
-
-
Method Details
-
create
public InternalStorageTranslationDO create(InternalStorageTranslationDO data) throws jakarta.ws.rs.ClientErrorException Description copied from interface:ServiceCreatecreate.- Specified by:
createin interfaceServiceCreate<InternalStorageTranslationDO,InternalStorageTranslationDO> - Parameters:
data- a S object- Returns:
- a E object
- Throws:
jakarta.ws.rs.ClientErrorException
-
read
public InternalStorageTranslationDO read(String id, jakarta.ws.rs.core.MultivaluedMap<String, String> queryParams) throws NumberFormatExceptionDescription copied from interface:ServiceReadread.- Specified by:
readin interfaceServiceRead<InternalStorageTranslationDO>- Parameters:
id- aStringobjectqueryParams- aMultivaluedMapobject- Returns:
- a E object
- Throws:
NumberFormatException
-
read
Description copied from interface:ServiceReadread.- Specified by:
readin interfaceServiceRead<InternalStorageTranslationDO>- Parameters:
id- aStringobject- Returns:
- a E object
-
update
Description copied from interface:ServiceUpdateupdate.- Specified by:
updatein interfaceServiceUpdate<InternalStorageTranslationDO,InternalStorageTranslationDO> - Parameters:
id- aStringobjectdata- a S object- Returns:
- a E object
-
delete
Description copied from interface:ServiceDeletedelete.- Specified by:
deletein interfaceServiceDelete- Parameters:
id- aStringobject
-
search
public ResultList<InternalStorageTranslationDO> search(jakarta.ws.rs.core.MultivaluedMap<String, String> queryParams) Description copied from interface:ServiceSearchsearch.- Specified by:
searchin interfaceServiceSearch<InternalStorageTranslationDO>- Parameters:
queryParams- aMultivaluedMapobject- Returns:
- a
ResultListobject
-
getAllByStorageId
-
getInternalStorageTranslationById
public InternalStorageTranslationDO getInternalStorageTranslationById(long internalStorageTranslationId)
-