Tabnine Logo
KapuaDataMessage.setScopeId
Code IndexAdd Tabnine to your IDE (free)

How to use
setScopeId
method
in
org.eclipse.kapua.message.device.data.KapuaDataMessage

Best Java code snippets using org.eclipse.kapua.message.device.data.KapuaDataMessage.setScopeId (Showing top 6 results out of 315)

origin: eclipse/kapua

/**
 * Stores a new Message under the account of the currently connected user.
 * In this case, the provided message will only be stored in the back-end
 * database and it will not be forwarded to the message broker.
 *
 * @param message The {@link KapuaDataMessage } to be stored
 * @return an {@link InsertResponse} object encapsulating the response from
 * the datastore
 * @throws Exception Whenever something bad happens. See specific
 *                   {@link KapuaService} exceptions.
 */
@POST
@Consumes({ MediaType.APPLICATION_XML })
@Produces({ MediaType.APPLICATION_XML })
@ApiOperation(nickname = "dataMessageStore",
    value = "Stores a new KapuaDataMessage", //
    notes = "Stores a new KapuaDataMessage under the account of the currently connected user. In this case, the provided message will only be stored in the back-end database and it will not be forwarded to the message broker.", //
    response = StorableId.class)
public StorableEntityId storeMessage(
    @ApiParam(value = "The ScopeId in which to store the message", required = true, defaultValue = DEFAULT_SCOPE_ID) @PathParam("scopeId") ScopeId scopeId,//
    @ApiParam(value = "The KapuaDataMessage to be stored") KapuaDataMessage message) throws Exception {
  message.setScopeId(scopeId);
  return new StorableEntityId(MESSAGE_STORE_SERVICE.store(message).toString());
}
origin: eclipse/kapua

  @ApiParam(value = "The timeout of the request execution") @QueryParam("timeout") Long timeout,
  @ApiParam(value = "The input request", required = true) KapuaDataMessage requestMessage) throws Exception {
requestMessage.setScopeId(scopeId);
streamService.publish(requestMessage, timeout);
return Response.ok().build();
origin: eclipse/kapua

kapuaDataMessage.setScopeId(scopeId);
kapuaDataMessage.setDeviceId(jsonKapuaDataMessage.getDeviceId());
kapuaDataMessage.setClientId(jsonKapuaDataMessage.getClientId());
origin: eclipse/kapua

kapuaDataMessage.setScopeId(scopeId);
kapuaDataMessage.setDeviceId(jsonKapuaDataMessage.getDeviceId());
kapuaDataMessage.setClientId(jsonKapuaDataMessage.getClientId());
origin: eclipse/kapua

kapuaDataMessage.setScopeId(account.getId());
kapuaDataMessage.setDeviceId(device != null ? device.getId() : null);
kapuaDataMessage.setClientId(kuraDataMessage.getChannel().getClientId());
origin: org.eclipse.kapua/kapua-translator-kapua-kura

kapuaDataMessage.setScopeId(account.getId());
kapuaDataMessage.setDeviceId(device != null ? device.getId() : null);
kapuaDataMessage.setClientId(kuraDataMessage.getChannel().getClientId());
org.eclipse.kapua.message.device.dataKapuaDataMessagesetScopeId

Popular methods of KapuaDataMessage

  • getClientId
  • getChannel
  • getPayload
  • getPosition
  • getScopeId
  • getSentOn
  • setCapturedOn
  • setPayload
  • setReceivedOn
  • setSentOn
  • getCapturedOn
  • getDeviceId
  • getCapturedOn,
  • getDeviceId,
  • getReceivedOn,
  • setChannel,
  • setClientId,
  • setDeviceId,
  • setPosition,
  • getId,
  • setId

Popular in Java

  • Finding current android device location
  • getContentResolver (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Collectors (java.util.stream)
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Join (org.hibernate.mapping)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now