Tabnine Logo
ConnectorInstance.deleteObject
Code IndexAdd Tabnine to your IDE (free)

How to use
deleteObject
method
in
com.evolveum.midpoint.provisioning.ucf.api.ConnectorInstance

Best Java code snippets using com.evolveum.midpoint.provisioning.ucf.api.ConnectorInstance.deleteObject (Showing top 2 results out of 315)

origin: Evolveum/midpoint

@Test
public void test100AddDeleteObject() throws Exception {
  final String TEST_NAME = "test100AddDeleteObject";
  TestUtil.displayTestTitle(this, TEST_NAME);
  OperationResult result = new OperationResult(this.getClass().getName() + "." + TEST_NAME);
  Collection<ResourceAttribute<?>> identifiers = addSampleResourceObject("john", "John", "Smith");
  String uid = null;
  for (ResourceAttribute<?> resourceAttribute : identifiers) {
    if (SchemaConstants.ICFS_UID.equals(resourceAttribute.getElementName())) {
      uid = resourceAttribute.getValue(String.class).getValue();
      System.out.println("uuuuid:" + uid);
      assertNotNull(uid);
    }
  }
  ObjectClassComplexTypeDefinition accountDefinition = resourceSchema.findObjectClassDefinition(OpenDJController.OBJECT_CLASS_INETORGPERSON_NAME);
  cc.deleteObject(accountDefinition, null, null, identifiers, null, result);
  ResourceObjectIdentification identification = ResourceObjectIdentification.createFromAttributes(
      accountDefinition, identifiers);
  PrismObject<ShadowType> resObj = null;
  try {
    resObj = cc.fetchObject(identification, null, null,
        result);
    Assert.fail();
  } catch (ObjectNotFoundException ex) {
    AssertJUnit.assertNull(resObj);
  }
}
origin: Evolveum/midpoint

connectorAsyncOpRet = connector.deleteObject(ctx.getObjectClassDefinition(), additionalOperations, shadow, identifiers, ctx, result);
com.evolveum.midpoint.provisioning.ucf.apiConnectorInstancedeleteObject

Popular methods of ConnectorInstance

  • test
  • addObject
    TODO: This should return indication how the operation went, e.g. what changes were applied, what wer
  • configure
    The connector instance will be configured to the state that it can immediately access the resource.
  • fetchCapabilities
    Retrieves native connector capabilities. The capabilities specify what the connector can do without
  • fetchChanges
    Token may be null. That means "from the beginning of history".
  • fetchCurrentToken
    Returns the latest token. In other words, returns a token that corresponds to a current state of the
  • fetchObject
    Retrieves a specific object from the resource. This method is fetching an object from the resource t
  • fetchResourceSchema
    Retrieves the schema from the resource. The schema may be considered to be an XSD schema, but it is
  • getOperationalStatus
  • initialize
    Get necessary information from the remote system. This method will initialize the configured connect
  • modifyObject
    TODO: This should return indication how the operation went, e.g. what changes were applied, what wer
  • search
    Execute iterative search operation. This method will execute search operation on the resource and wi
  • modifyObject,
  • search,
  • count,
  • dispose,
  • executeScript

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • setContentView (Activity)
  • putExtra (Intent)
  • Menu (java.awt)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Top plugins for WebStorm
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