Interface IExternalUser

All Superinterfaces:
IGroupMember, IRestoreCrudSupport<ExternalUser>, IRestoreItemCrudSupport<ExternalUser>, IRestoreSupport<ExternalUser>

@Path("/externaluser/{domainUid}") public interface IExternalUser extends IRestoreItemCrudSupport<ExternalUser>, IGroupMember
ExternalUser API. The main use case for this kind of DirEntry entity is to add an external email to a group.
  • Method Details

    • create

      @PUT @Path("{uid}") void create(@PathParam("uid") String uid, ExternalUser externalUser) throws net.bluemind.core.api.fault.ServerFault
      Creates a new ExternalUser.
      Parameters:
      uid - ExternalUser's unique id
      externalUser - ExternalUser
      Throws:
      net.bluemind.core.api.fault.ServerFault - standard error object
    • createWithExtId

      @PUT @Path("{uid}/{extid}/createwithextid") void createWithExtId(@PathParam("uid") String uid, @PathParam("extid") String extId, ExternalUser externalUser) throws net.bluemind.core.api.fault.ServerFault
      Creates a new ExternalUser with the given uid. Associates an external id to the ExternalUser.
      Parameters:
      uid - the ExternalUser's unique id
      extId - an external id. Usually used to link the ExternalUser to an external system
      externalUser - ExternalUser
      Throws:
      net.bluemind.core.api.fault.ServerFault - standard error object
    • update

      @POST @Path("{uid}") void update(@PathParam("uid") String uid, ExternalUser externalUser) throws net.bluemind.core.api.fault.ServerFault
      Modify an existing external user.
      Parameters:
      uid - ExternalUser's unique id
      externalUser - updated ExternalUser
      Throws:
      net.bluemind.core.api.fault.ServerFault - standard error object
    • delete

      @DELETE @Path("{uid}") void delete(@PathParam("uid") String uid) throws net.bluemind.core.api.fault.ServerFault
      Delete an external user.
      Specified by:
      delete in interface IRestoreCrudSupport<ExternalUser>
      Parameters:
      uid - ExternalUser's unique id
      Throws:
      net.bluemind.core.api.fault.ServerFault
    • getComplete

      @GET @Path("{uid}/complete") ItemValue<ExternalUser> getComplete(@PathParam("uid") String uid) throws net.bluemind.core.api.fault.ServerFault
      Fetch a ExternalUser by its uid.
      Specified by:
      getComplete in interface IRestoreItemCrudSupport<ExternalUser>
      Parameters:
      uid - ExternalUser's unique id
      Returns:
      ExternalUser ItemValue, or null if the ExternalUser does not exist
      Throws:
      net.bluemind.core.api.fault.ServerFault - standard error object
    • byExtId

      @GET @Path("byExtId/{extid}") ItemValue<ExternalUser> byExtId(@PathParam("extid") String extId) throws net.bluemind.core.api.fault.ServerFault
      Fetch a ExternalUser by its external id.
      Parameters:
      extId - the external user's external id. Usually used to link the ExternalUser to an external system
      Returns:
      ExternalUser ItemValue, or null if the ExternalUser does not exist
      Throws:
      net.bluemind.core.api.fault.ServerFault - standard error object (unchecked exception)