Codota Logo
KapuaDataMessage.setScopeId
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
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
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now