Package com.soffid.iam.service
Class PrinterServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.PrinterServiceBase
-
- com.soffid.iam.service.PrinterServiceImpl
-
- All Implemented Interfaces:
com.soffid.iam.service.PrinterService
public class PrinterServiceImpl extends PrinterServiceBase
- See Also:
ImpressoraService
-
-
Constructor Summary
Constructors Constructor Description PrinterServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.soffid.iam.api.Printer
handleCreate(com.soffid.iam.api.Printer impressora)
protected com.soffid.iam.api.PrinterGroup
handleCreate(com.soffid.iam.api.PrinterGroup grupImpressora)
protected com.soffid.iam.api.PrinterUser
handleCreate(com.soffid.iam.api.PrinterUser usuariImpressora)
protected void
handleDelete(com.soffid.iam.api.Printer impressora)
protected void
handleDelete(com.soffid.iam.api.PrinterGroup grupImpressora)
protected void
handleDelete(com.soffid.iam.api.PrinterUser usuariImpressora)
protected com.soffid.iam.api.Printer
handleFindPrinterByPrinterName(String codiImpressora)
protected List<com.soffid.iam.api.Printer>
handleFindPrinterByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Printer>
handleFindPrinterByTextAndJsonQueryAsync(String text, String jsonQuery)
protected com.soffid.iam.api.PrinterGroup
handleFindPrinterGroupByGroupNameAndPrinterName(String codiGrup, String codiImpressora)
protected Collection<com.soffid.iam.api.Printer>
handleFindPrintersByFilter(String codi, String model, String local, String maquina)
protected Collection<com.soffid.iam.api.Printer>
handleFindPrintersByPrinterName(String codiImpressora)
protected Collection<com.soffid.iam.api.PrinterGroup>
handleFindPrintersGroupByGroupName(String codiGrup)
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.PrinterUser>
handleFindPrinterUserByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.PrinterUser>
handleFindPrinterUserByTextAndJsonQueryAsync(String text, String jsonQuery)
protected com.soffid.iam.api.PrinterUser
handleFindPrinterUserByUserNameAndPrinterName(String codiUsuari, String codiImpressora)
protected Collection<com.soffid.iam.api.Printer>
handleGetPrinters()
protected Collection<com.soffid.iam.api.PrinterGroup>
handleGetPrintersGroupByPrinterName(String codiImpressora)
protected Collection<com.soffid.iam.api.PrinterUser>
handleGetUserPrintersByPrinterName(String codiImpressora)
protected com.soffid.iam.api.Printer
handleUpdate(com.soffid.iam.api.Printer impressora)
protected com.soffid.iam.api.PrinterGroup
handleUpdate(com.soffid.iam.api.PrinterGroup grupImpressora)
protected com.soffid.iam.api.PrinterUser
handleUpdate(com.soffid.iam.api.PrinterUser usuariImpressora)
void
updateGroups(PrinterEntity entity, com.soffid.iam.api.Printer impressora)
void
updateUsers(PrinterEntity entity, com.soffid.iam.api.Printer impressora)
-
Methods inherited from class com.soffid.iam.service.PrinterServiceBase
create, create, create, delete, delete, delete, findPrinterByPrinterName, findPrinterByTextAndJsonQuery, findPrinterByTextAndJsonQueryAsync, findPrinterGroupByGroupNameAndPrinterName, findPrintersByFilter, findPrintersByPrinterName, findPrintersGroupByGroupName, findPrinterUserByTextAndJsonQuery, findPrinterUserByTextAndJsonQueryAsync, findPrinterUserByUserNameAndPrinterName, getAsyncRunnerService, getAuthorizationService, getGroupEntityDao, getMetaDataEntityDao, getNetworkService, getPrincipal, getPrinterEntityDao, getPrinterGroupEntityDao, getPrinters, getPrintersGroupByPrinterName, getUserEntityDao, getUserPrinterEntityDao, getUserPrintersByPrinterName, setAsyncRunnerService, setAuthorizationService, setGroupEntityDao, setMetaDataEntityDao, setNetworkService, setPrinterEntityDao, setPrinterGroupEntityDao, setUserEntityDao, setUserPrinterEntityDao, update, update, update
-
-
-
-
Method Detail
-
handleGetPrinters
protected Collection<com.soffid.iam.api.Printer> handleGetPrinters() throws Exception
- Specified by:
handleGetPrinters
in classPrinterServiceBase
- Throws:
Exception
- See Also:
ImpressoraService.getImpressores()
-
handleCreate
protected com.soffid.iam.api.Printer handleCreate(com.soffid.iam.api.Printer impressora) throws Exception
- Specified by:
handleCreate
in classPrinterServiceBase
- Throws:
Exception
- See Also:
ImpressoraService.create(es.caib.seycon.ng.comu.Impressora)
-
handleDelete
protected void handleDelete(com.soffid.iam.api.Printer impressora) throws Exception
- Specified by:
handleDelete
in classPrinterServiceBase
- Throws:
Exception
- See Also:
ImpressoraService.delete(es.caib.seycon.ng.comu.Impressora)
-
handleUpdate
protected com.soffid.iam.api.Printer handleUpdate(com.soffid.iam.api.Printer impressora) throws Exception
- Specified by:
handleUpdate
in classPrinterServiceBase
- Throws:
Exception
- See Also:
ImpressoraService.update(es.caib.seycon.ng.comu.Impressora)
-
updateUsers
public void updateUsers(PrinterEntity entity, com.soffid.iam.api.Printer impressora) throws es.caib.seycon.ng.exception.InternalErrorException
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
updateGroups
public void updateGroups(PrinterEntity entity, com.soffid.iam.api.Printer impressora) throws es.caib.seycon.ng.exception.InternalErrorException
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindPrintersByPrinterName
protected Collection<com.soffid.iam.api.Printer> handleFindPrintersByPrinterName(String codiImpressora) throws Exception
- Specified by:
handleFindPrintersByPrinterName
in classPrinterServiceBase
- Throws:
Exception
-
handleFindPrintersByFilter
protected Collection<com.soffid.iam.api.Printer> handleFindPrintersByFilter(String codi, String model, String local, String maquina) throws Exception
- Specified by:
handleFindPrintersByFilter
in classPrinterServiceBase
- Throws:
Exception
-
handleFindPrinterByPrinterName
protected com.soffid.iam.api.Printer handleFindPrinterByPrinterName(String codiImpressora) throws Exception
- Specified by:
handleFindPrinterByPrinterName
in classPrinterServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.PrinterUser handleCreate(com.soffid.iam.api.PrinterUser usuariImpressora) throws Exception
- Specified by:
handleCreate
in classPrinterServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.PrinterGroup handleCreate(com.soffid.iam.api.PrinterGroup grupImpressora) throws Exception
- Specified by:
handleCreate
in classPrinterServiceBase
- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.PrinterUser usuariImpressora) throws Exception
- Specified by:
handleDelete
in classPrinterServiceBase
- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.PrinterGroup grupImpressora) throws Exception
- Specified by:
handleDelete
in classPrinterServiceBase
- Throws:
Exception
-
handleFindPrinterGroupByGroupNameAndPrinterName
protected com.soffid.iam.api.PrinterGroup handleFindPrinterGroupByGroupNameAndPrinterName(String codiGrup, String codiImpressora) throws Exception
- Specified by:
handleFindPrinterGroupByGroupNameAndPrinterName
in classPrinterServiceBase
- Throws:
Exception
-
handleFindPrinterUserByUserNameAndPrinterName
protected com.soffid.iam.api.PrinterUser handleFindPrinterUserByUserNameAndPrinterName(String codiUsuari, String codiImpressora) throws Exception
- Specified by:
handleFindPrinterUserByUserNameAndPrinterName
in classPrinterServiceBase
- Throws:
Exception
-
handleGetPrintersGroupByPrinterName
protected Collection<com.soffid.iam.api.PrinterGroup> handleGetPrintersGroupByPrinterName(String codiImpressora) throws Exception
- Specified by:
handleGetPrintersGroupByPrinterName
in classPrinterServiceBase
- Throws:
Exception
-
handleGetUserPrintersByPrinterName
protected Collection<com.soffid.iam.api.PrinterUser> handleGetUserPrintersByPrinterName(String codiImpressora) throws Exception
- Specified by:
handleGetUserPrintersByPrinterName
in classPrinterServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.PrinterUser handleUpdate(com.soffid.iam.api.PrinterUser usuariImpressora) throws Exception
- Specified by:
handleUpdate
in classPrinterServiceBase
- Throws:
Exception
-
handleFindPrintersGroupByGroupName
protected Collection<com.soffid.iam.api.PrinterGroup> handleFindPrintersGroupByGroupName(String codiGrup) throws Exception
- Specified by:
handleFindPrintersGroupByGroupName
in classPrinterServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.PrinterGroup handleUpdate(com.soffid.iam.api.PrinterGroup grupImpressora) throws Exception
- Specified by:
handleUpdate
in classPrinterServiceBase
- Throws:
Exception
-
handleFindPrinterByTextAndJsonQueryAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Printer> handleFindPrinterByTextAndJsonQueryAsync(String text, String jsonQuery) throws Exception
- Specified by:
handleFindPrinterByTextAndJsonQueryAsync
in classPrinterServiceBase
- Throws:
Exception
-
handleFindPrinterByTextAndJsonQuery
protected List<com.soffid.iam.api.Printer> handleFindPrinterByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws Exception
- Specified by:
handleFindPrinterByTextAndJsonQuery
in classPrinterServiceBase
- Throws:
Exception
-
handleFindPrinterUserByTextAndJsonQueryAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.PrinterUser> handleFindPrinterUserByTextAndJsonQueryAsync(String text, String jsonQuery) throws Exception
- Specified by:
handleFindPrinterUserByTextAndJsonQueryAsync
in classPrinterServiceBase
- Throws:
Exception
-
handleFindPrinterUserByTextAndJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.PrinterUser> handleFindPrinterUserByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws Exception
- Specified by:
handleFindPrinterUserByTextAndJsonQuery
in classPrinterServiceBase
- Throws:
Exception
-
-