Tabnine Logo
Session.delete
Code IndexAdd Tabnine to your IDE (free)

How to use
delete
method
in
org.apache.chemistry.opencmis.client.api.Session

Best Java code snippets using org.apache.chemistry.opencmis.client.api.Session.delete (Showing top 3 results out of 315)

origin: org.apache.chemistry.opencmis/chemistry-opencmis-client-impl

  @Override
  public Object call() throws Exception {
    session.delete(objectId, allVersions);
    return null;
  }
}
origin: org.apache.chemistry.opencmis/chemistry-opencmis-android-client

  @Override
  public Object call() throws Exception {
    session.delete(objectId, allVersions);
    return null;
  }
}
origin: org.jbpm/jbpm-console-ng-documents-backend

@Override
public void removeDocument(final String id) {
  Session session = getSession();
  if (session != null) {
    session.delete(new ObjectId() {
      @Override
      public String getId() {
        return id;
      }
    });
  }
}
org.apache.chemistry.opencmis.client.apiSessiondelete

Javadoc

Deletes an object and, if it is a document, all versions in the version series.

Popular methods of Session

  • getObject
    Returns a CMIS object from the session cache. If the object is not in the cache or the given Operati
  • getObjectByPath
    Returns a CMIS object from the session cache. If the object is not in the cache or the given Operati
  • getRootFolder
    Gets the root folder of the repository with the given OperationContext.
  • getObjectFactory
    Gets a factory object that provides methods to create the objects used by this API.
  • getRepositoryInfo
    Returns the repository info of the repository associated with this session.
  • getDefaultContext
    Returns the current default operation parameters for filtering, paging and caching.Please note: The
  • getTypeDefinition
    Gets the definition of a type.
  • query
    Sends a query to the repository using the given OperationContext. (See CMIS spec "2.1.10 Query".)
  • createRelationship
    Creates a new relationship.
  • createDocument
    Creates a new document. The stream in contentStream is consumed but not closed by this method.
  • getBinding
    Returns the underlying binding object.
  • getTypeDescendants
    Gets the type descendants of a type.
  • getBinding,
  • getTypeDescendants,
  • applyAcl,
  • createFolder,
  • createObjectId,
  • createPolicy,
  • createType,
  • deleteType,
  • getContentStream

Popular in Java

  • Reading from database using SQL prepared statement
  • setContentView (Activity)
  • getContentResolver (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JCheckBox (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top plugins for Android Studio
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