Codota Logo
ContentItem.getId
Code IndexAdd Codota to your IDE (free)

How to use
getId
method
in
org.flowable.content.api.ContentItem

Best Java code snippets using org.flowable.content.api.ContentItem.getId (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: org.flowable/flowable-content-rest

public ContentItemResponse createContentItemResponse(ContentItem contentItem, ContentRestUrlBuilder urlBuilder) {
  ContentItemResponse response = new ContentItemResponse(contentItem,
      urlBuilder.buildUrl(ContentRestUrls.URL_CONTENT_ITEM, contentItem.getId()));
  return response;
}
origin: org.flowable/flowable-ui-task-rest

public void deleteContent(String contentId, HttpServletResponse response) {
  ContentItem contentItem = contentService.createContentItemQuery().id(contentId).singleResult();
  if (contentItem == null) {
    throw new NotFoundException("No content found with id: " + contentId);
  }
  if (!permissionService.hasWritePermissionOnRelatedContent(SecurityUtils.getCurrentUserObject(), contentItem)) {
    throw new NotPermittedException("You are not allowed to delete the content with id: " + contentId);
  }
  if (contentItem.getField() != null) {
    // Not allowed to delete content that has been added as part of a form
    throw new NotPermittedException("You are not allowed to delete the content with id: " + contentId);
  }
  contentService.deleteContentItem(contentItem.getId());
}
origin: org.flowable/flowable-content-engine

if (contentItem.getId() == null) {
  if (contentItemEntity.getCreated() == null) {
    contentItemEntity.setCreated(contentEngineConfiguration.getClock().getCurrentTime());
origin: org.flowable/flowable-content-rest

public ContentItemResponse(ContentItem contentItem, String url) {
  setId(contentItem.getId());
  setName(contentItem.getName());
  setMimeType(contentItem.getMimeType());
  setTaskId(contentItem.getTaskId());
  setProcessInstanceId(contentItem.getProcessInstanceId());
  setContentStoreId(contentItem.getContentStoreId());
  setContentStoreName(contentItem.getContentStoreName());
  setContentAvailable(contentItem.isContentAvailable());
  setTenantId(contentItem.getTenantId());
  setCreated(contentItem.getCreated());
  setCreatedBy(contentItem.getCreatedBy());
  setLastModified(contentItem.getLastModified());
  setLastModifiedBy(contentItem.getLastModifiedBy());
  setUrl(url);
}
org.flowable.content.apiContentItemgetId

Javadoc

unique identifier

Popular methods of ContentItem

  • setProcessInstanceId
  • setTaskId
  • setField
  • setScopeId
  • setScopeType
  • setTenantId
  • getContentStoreId
  • getMimeType
  • getProcessInstanceId
  • getTaskId
  • isContentAvailable
  • setContentStoreId
  • isContentAvailable,
  • setContentStoreId,
  • setContentStoreName,
  • setCreatedBy,
  • setLastModifiedBy,
  • setMimeType,
  • setName,
  • getContentStoreName,
  • getCreated

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • findViewById (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Reference (javax.naming)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
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