Class 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 Detail

      • CrudCustomObjectHandler

        public CrudCustomObjectHandler​(String objectType)
    • Method Detail

      • getService

        public com.soffid.iam.service.ejb.CustomObjectService getService()
                                                                  throws NamingException,
                                                                         javax.ejb.CreateException
        Throws:
        NamingException
        javax.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:
        create in interface com.soffid.iam.api.CrudHandler<com.soffid.iam.api.CustomObject>
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        NamingException
        javax.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:
        read in interface com.soffid.iam.api.CrudHandler<com.soffid.iam.api.CustomObject>
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        NamingException
        javax.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:
        readAsync in interface com.soffid.iam.api.CrudHandler<com.soffid.iam.api.CustomObject>
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        NamingException
        javax.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:
        update in interface com.soffid.iam.api.CrudHandler<com.soffid.iam.api.CustomObject>
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        NamingException
        javax.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:
        delete in interface com.soffid.iam.api.CrudHandler<com.soffid.iam.api.CustomObject>
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        NamingException
        javax.ejb.CreateException
      • getType

        public String getType()