Package com.soffid.iam.service.crud
Class CrudCustomObjectHandler
- java.lang.Object
-
- com.soffid.iam.service.crud.CrudCustomObjectHandler
-
- All Implemented Interfaces:
com.soffid.iam.api.CrudHandler<com.soffid.iam.api.CustomObject>
public class CrudCustomObjectHandler extends Object implements com.soffid.iam.api.CrudHandler<com.soffid.iam.api.CustomObject>
-
-
Constructor Summary
Constructors Constructor Description CrudCustomObjectHandler(String objectType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.CustomObjectcreate(com.soffid.iam.api.CustomObject object)voiddelete(com.soffid.iam.api.CustomObject object)com.soffid.iam.service.ejb.CustomObjectServicegetService()StringgetType()com.soffid.iam.api.PagedResult<com.soffid.iam.api.CustomObject>read(String text, String filter, Integer start, Integer end)com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject>readAsync(String text, String filter)com.soffid.iam.api.CustomObjectupdate(com.soffid.iam.api.CustomObject object)
-
-
-
Constructor Detail
-
CrudCustomObjectHandler
public CrudCustomObjectHandler(String objectType)
-
-
Method Detail
-
getService
public com.soffid.iam.service.ejb.CustomObjectService getService() throws NamingException, javax.ejb.CreateException- Throws:
NamingExceptionjavax.ejb.CreateException
-
create
public com.soffid.iam.api.CustomObject create(com.soffid.iam.api.CustomObject object) throws es.caib.seycon.ng.exception.InternalErrorException, NamingException, javax.ejb.CreateException- Specified by:
createin interfacecom.soffid.iam.api.CrudHandler<com.soffid.iam.api.CustomObject>- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptionNamingExceptionjavax.ejb.CreateException
-
read
public com.soffid.iam.api.PagedResult<com.soffid.iam.api.CustomObject> read(String text, String filter, Integer start, Integer end) throws es.caib.seycon.ng.exception.InternalErrorException, NamingException, javax.ejb.CreateException
- Specified by:
readin interfacecom.soffid.iam.api.CrudHandler<com.soffid.iam.api.CustomObject>- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptionNamingExceptionjavax.ejb.CreateException
-
readAsync
public com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> readAsync(String text, String filter) throws es.caib.seycon.ng.exception.InternalErrorException, NamingException, javax.ejb.CreateException
- Specified by:
readAsyncin interfacecom.soffid.iam.api.CrudHandler<com.soffid.iam.api.CustomObject>- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptionNamingExceptionjavax.ejb.CreateException
-
update
public com.soffid.iam.api.CustomObject update(com.soffid.iam.api.CustomObject object) throws es.caib.seycon.ng.exception.InternalErrorException, NamingException, javax.ejb.CreateException- Specified by:
updatein interfacecom.soffid.iam.api.CrudHandler<com.soffid.iam.api.CustomObject>- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptionNamingExceptionjavax.ejb.CreateException
-
delete
public void delete(com.soffid.iam.api.CustomObject object) throws es.caib.seycon.ng.exception.InternalErrorException, NamingException, javax.ejb.CreateException- Specified by:
deletein interfacecom.soffid.iam.api.CrudHandler<com.soffid.iam.api.CustomObject>- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptionNamingExceptionjavax.ejb.CreateException
-
getType
public String getType()
-
-