Package com.soffid.iam.service.ejb
Class PrinterServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.PrinterServiceBean
-
- All Implemented Interfaces:
com.soffid.iam.service.ejb.PrinterService,Serializable,javax.ejb.EnterpriseBean,javax.ejb.SessionBean,org.springframework.ejb.support.SmartSessionBean
public class PrinterServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements com.soffid.iam.service.ejb.PrinterService- See Also:
com.soffid.iam.service.PrinterService,,es.caib.seycon.ng.servei.ImpressoraService,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringBEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description PrinterServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.Printercreate(com.soffid.iam.api.Printer impressora)com.soffid.iam.api.PrinterGroupcreate(com.soffid.iam.api.PrinterGroup grupImpressora)com.soffid.iam.api.PrinterUsercreate(com.soffid.iam.api.PrinterUser usuariImpressora)voiddelete(com.soffid.iam.api.Printer impressora)voiddelete(com.soffid.iam.api.PrinterGroup grupImpressora)voiddelete(com.soffid.iam.api.PrinterUser usuariImpressora)voidejbCreate()Initizlizes beenvoidejbRemove()com.soffid.iam.api.PrinterfindPrinterByPrinterName(String codiImpressora)List<com.soffid.iam.api.Printer>findPrinterByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)com.soffid.iam.api.AsyncList<com.soffid.iam.api.Printer>findPrinterByTextAndJsonQueryAsync(String text, String jsonQuery)com.soffid.iam.api.PrinterGroupfindPrinterGroupByGroupNameAndPrinterName(String codiGrup, String codiImpressora)Collection<com.soffid.iam.api.Printer>findPrintersByFilter(String codi, String model, String local, String maquina)Collection<com.soffid.iam.api.Printer>findPrintersByPrinterName(String codiImpressora)Collection<com.soffid.iam.api.PrinterGroup>findPrintersGroupByGroupName(String codiGrup)com.soffid.iam.api.PagedResult<com.soffid.iam.api.PrinterUser>findPrinterUserByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)com.soffid.iam.api.AsyncList<com.soffid.iam.api.PrinterUser>findPrinterUserByTextAndJsonQueryAsync(String text, String jsonQuery)com.soffid.iam.api.PrinterUserfindPrinterUserByUserNameAndPrinterName(String codiUsuari, String codiImpressora)protected org.springframework.beans.factory.BeanFactorygetBeanFactory()Collection<com.soffid.iam.api.Printer>getPrinters()CollectiongetPrintersGroupByPrinterName(String codiImpressora)javax.ejb.SessionContextgetSessionContext()Collection<com.soffid.iam.api.PrinterUser>getUserPrintersByPrinterName(String codiImpressora)protected voidonEjbCreate()protected voidonEjbRemove()voidsetBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)voidsetBeanFactoryLocatorKey(String arg0)voidsetSessionContext(javax.ejb.SessionContext sessionContext)Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.com.soffid.iam.api.Printerupdate(com.soffid.iam.api.Printer impressora)com.soffid.iam.api.PrinterGroupupdate(com.soffid.iam.api.PrinterGroup grupImpressora)com.soffid.iam.api.PrinterUserupdate(com.soffid.iam.api.PrinterUser usuariImpressora)-
Methods inherited from class org.springframework.ejb.support.AbstractStatelessSessionBean
ejbActivate, ejbPassivate
-
-
-
-
Field Detail
-
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
public static final String BEAN_FACTORY_PATH_ENVIRONMENT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
findPrinterByTextAndJsonQueryAsync
@PermitAll public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Printer> findPrinterByTextAndJsonQueryAsync(String text, String jsonQuery) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPrinterByTextAndJsonQueryAsyncin interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findPrinterUserByTextAndJsonQueryAsync
@PermitAll public com.soffid.iam.api.AsyncList<com.soffid.iam.api.PrinterUser> findPrinterUserByTextAndJsonQueryAsync(String text, String jsonQuery) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPrinterUserByTextAndJsonQueryAsyncin interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findPrinterUserByTextAndJsonQuery
@PermitAll public com.soffid.iam.api.PagedResult<com.soffid.iam.api.PrinterUser> findPrinterUserByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPrinterUserByTextAndJsonQueryin interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.PrinterGroup create(com.soffid.iam.api.PrinterGroup grupImpressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createin interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findPrinterGroupByGroupNameAndPrinterName
@PermitAll public com.soffid.iam.api.PrinterGroup findPrinterGroupByGroupNameAndPrinterName(String codiGrup, String codiImpressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPrinterGroupByGroupNameAndPrinterNamein interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.PrinterGroup update(com.soffid.iam.api.PrinterGroup grupImpressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updatein interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.Printer create(com.soffid.iam.api.Printer impressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createin interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findPrinterByPrinterName
@PermitAll public com.soffid.iam.api.Printer findPrinterByPrinterName(String codiImpressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPrinterByPrinterNamein interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.Printer update(com.soffid.iam.api.Printer impressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updatein interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.PrinterUser create(com.soffid.iam.api.PrinterUser usuariImpressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createin interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findPrinterUserByUserNameAndPrinterName
@PermitAll public com.soffid.iam.api.PrinterUser findPrinterUserByUserNameAndPrinterName(String codiUsuari, String codiImpressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPrinterUserByUserNameAndPrinterNamein interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.PrinterUser update(com.soffid.iam.api.PrinterUser usuariImpressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updatein interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findPrintersGroupByGroupName
@PermitAll public Collection<com.soffid.iam.api.PrinterGroup> findPrintersGroupByGroupName(String codiGrup) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPrintersGroupByGroupNamein interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findPrintersByPrinterName
@PermitAll public Collection<com.soffid.iam.api.Printer> findPrintersByPrinterName(String codiImpressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPrintersByPrinterNamein interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findPrintersByFilter
@PermitAll public Collection<com.soffid.iam.api.Printer> findPrintersByFilter(String codi, String model, String local, String maquina) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPrintersByFilterin interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPrintersGroupByPrinterName
@PermitAll public Collection getPrintersGroupByPrinterName(String codiImpressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getPrintersGroupByPrinterNamein interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPrinters
@PermitAll public Collection<com.soffid.iam.api.Printer> getPrinters() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getPrintersin interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getUserPrintersByPrinterName
@PermitAll public Collection<com.soffid.iam.api.PrinterUser> getUserPrintersByPrinterName(String codiImpressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getUserPrintersByPrinterNamein interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findPrinterByTextAndJsonQuery
@PermitAll public List<com.soffid.iam.api.Printer> findPrinterByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPrinterByTextAndJsonQueryin interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.PrinterGroup grupImpressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
deletein interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.Printer impressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
deletein interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.PrinterUser usuariImpressora) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
deletein interfacecom.soffid.iam.service.ejb.PrinterService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
ejbCreate
@PostConstruct public void ejbCreate() throws javax.ejb.CreateException
Initizlizes been- Overrides:
ejbCreatein classorg.springframework.ejb.support.AbstractStatelessSessionBean- Throws:
javax.ejb.CreateException- See Also:
AbstractStatelessSessionBean.onEjbCreate()
-
onEjbCreate
protected void onEjbCreate()
- Specified by:
onEjbCreatein classorg.springframework.ejb.support.AbstractStatelessSessionBean
-
setSessionContext
public void setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.- Specified by:
setSessionContextin interfacejavax.ejb.SessionBean- See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)
-
getSessionContext
public final javax.ejb.SessionContext getSessionContext()
- Specified by:
getSessionContextin interfaceorg.springframework.ejb.support.SmartSessionBean
-
setBeanFactoryLocator
public void setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
-
setBeanFactoryLocatorKey
public void setBeanFactoryLocatorKey(String arg0)
-
getBeanFactory
protected org.springframework.beans.factory.BeanFactory getBeanFactory()
-
ejbRemove
public void ejbRemove()
-
onEjbRemove
protected void onEjbRemove()
-
-