Class CrudAccountHandler

  • All Implemented Interfaces:
    com.soffid.iam.api.CrudHandler<com.soffid.iam.api.Account>

    public class CrudAccountHandler
    extends Object
    implements com.soffid.iam.api.CrudHandler<com.soffid.iam.api.Account>
    • Constructor Detail

      • CrudAccountHandler

        public CrudAccountHandler()
    • Method Detail

      • getService

        public com.soffid.iam.service.ejb.AccountService getService()
                                                             throws NamingException,
                                                                    javax.ejb.CreateException
        Throws:
        NamingException
        javax.ejb.CreateException
      • create

        public com.soffid.iam.api.Account create​(com.soffid.iam.api.Account object)
                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                 NamingException,
                                                 javax.ejb.CreateException,
                                                 es.caib.seycon.ng.exception.AccountAlreadyExistsException
        Specified by:
        create in interface com.soffid.iam.api.CrudHandler<com.soffid.iam.api.Account>
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        NamingException
        javax.ejb.CreateException
        es.caib.seycon.ng.exception.AccountAlreadyExistsException
      • read

        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.Account> read​(String text,
                                                                               String filter,
                                                                               Integer start,
                                                                               Integer end)
                                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                               NamingException,
                                                                               javax.ejb.CreateException
        Specified by:
        read in interface com.soffid.iam.api.CrudHandler<com.soffid.iam.api.Account>
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        NamingException
        javax.ejb.CreateException
      • readAsync

        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account> readAsync​(String text,
                                                                                  String filter)
                                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                  NamingException,
                                                                                  javax.ejb.CreateException
        Specified by:
        readAsync in interface com.soffid.iam.api.CrudHandler<com.soffid.iam.api.Account>
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        NamingException
        javax.ejb.CreateException
      • update

        public com.soffid.iam.api.Account update​(com.soffid.iam.api.Account object)
                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                 NamingException,
                                                 javax.ejb.CreateException,
                                                 es.caib.seycon.ng.exception.AccountAlreadyExistsException
        Specified by:
        update in interface com.soffid.iam.api.CrudHandler<com.soffid.iam.api.Account>
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        NamingException
        javax.ejb.CreateException
        es.caib.seycon.ng.exception.AccountAlreadyExistsException
      • delete

        public void delete​(com.soffid.iam.api.Account object)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           NamingException,
                           javax.ejb.CreateException
        Specified by:
        delete in interface com.soffid.iam.api.CrudHandler<com.soffid.iam.api.Account>
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        NamingException
        javax.ejb.CreateException