Package | Description |
---|---|
org.identityconnectors.contract.test | |
org.identityconnectors.framework.common.objects |
Modifier and Type | Method and Description |
---|---|
ObjectClassInfo |
ObjectClassRunner.getObjectClassInfo(ObjectClass objectClass)
Gets
ObjectClassInfo for object class returned by ObjectClassRunner . |
Modifier and Type | Method and Description |
---|---|
static boolean |
ConnectorHelper.checkObject(ObjectClassInfo objectClassInfo,
ConnectorObject connectorObj,
Set<Attribute> requestedAttributes)
Checks if object has expected attributes and values.
|
static boolean |
ConnectorHelper.checkObject(ObjectClassInfo objectClassInfo,
ConnectorObject connectorObj,
Set<Attribute> requestedAttributes,
boolean checkNotReturnedByDefault)
Checks if object has expected attributes and values.
|
static boolean |
ConnectorHelper.checkObjectByAttrDelta(ObjectClassInfo objectClassInfo,
ConnectorObject connectorObj,
Set<AttributeDelta> requestedAttributesDelta)
Checks if object has expected attributesDelta and values.
|
static boolean |
ConnectorHelper.checkObjectByAttrDelta(ObjectClassInfo objectClassInfo,
ConnectorObject connectorObj,
Set<AttributeDelta> requestedAttributesDelta,
boolean checkNotReturnedByDefault)
Checks if object has expected attributesDelta and values.
|
static void |
ConnectorHelper.checkSyncDelta(ObjectClassInfo ocInfo,
SyncDelta delta,
Uid uid,
Set<Attribute> attributes,
SyncDeltaType deltaType,
boolean checkNotReturnedByDefault)
Check that passed SyncDelta has exptected values.
|
static Uid |
ConnectorHelper.createObject(ConnectorFacade connectorFacade,
DataProvider dataProvider,
ObjectClassInfo objectClassInfo,
String testName,
int sequenceNumber,
OperationOptions opOptions)
gets the attributes for you
|
static Uid |
ConnectorHelper.createObject(ConnectorFacade connectorFacade,
DataProvider dataProvider,
ObjectClassInfo objectClassInfo,
String testName,
String qualifier,
int sequenceNumber,
OperationOptions opOptions)
gets the attributes for you, appending the qualifier to the attribute name
|
static Set<Attribute> |
ConnectorHelper.getAttributes(DataProvider dataProvider,
ObjectClassInfo objectClassInfo,
String testName,
String qualifier,
int sequenceNumber,
boolean checkRequired,
boolean onlyMultiValue,
boolean onlyCreateable,
boolean onlyUpdateable)
get attribute values (concatenates the qualifier with the name)
|
static Set<AttributeDelta> |
ConnectorHelper.getAttributesDelta(DataProvider dataProvider,
ObjectClassInfo objectClassInfo,
String testName,
String qualifier,
int sequenceNumber,
boolean checkRequired,
boolean isMultiValue,
boolean isAddValues,
boolean onlyCreateable,
boolean onlyUpdateable)
Get attributeDelta values (concatenates the qualifier with the name).
|
static Set<Attribute> |
ConnectorHelper.getCreateableAttributes(DataProvider dataProvider,
ObjectClassInfo objectClassInfo,
String testName,
int sequenceNumber,
boolean checkRequired,
boolean onlyMultiValue)
Get createable attributes' values.
|
static ObjectClass |
ConnectorHelper.getObjectClassFromObjectClassInfo(ObjectClassInfo objectClassInfo)
Returns object class based on object class info.
|
static Set<String> |
ConnectorHelper.getReadableAttributesNames(ObjectClassInfo ocInfo)
Returns set of attributes' names which are readable.
|
static Set<Attribute> |
ConnectorHelper.getUpdateableAttributes(DataProvider dataProvider,
ObjectClassInfo objectClassInfo,
String testName,
String qualifier,
int sequenceNumber,
boolean checkRequired,
boolean onlyMultiValue)
Get updateable attributes' values.
|
static Set<AttributeDelta> |
ConnectorHelper.getUpdateableAttributesDelta(DataProvider dataProvider,
ObjectClassInfo objectClassInfo,
String testName,
String qualifier,
int sequenceNumber,
boolean checkRequired,
boolean isMultiValue,
boolean isAddOrRemoveValues)
Get updateable attributes' values.
|
static boolean |
ConnectorHelper.isAttrSupported(ObjectClassInfo oinfo,
String attribute)
Whether is attribute supported.
|
static boolean |
ConnectorHelper.isCreateable(ObjectClassInfo objectClassInfo,
Attribute attribute)
Whether is attribute Createable.
|
static boolean |
ConnectorHelper.isCRU(ObjectClassInfo oinfo,
String attribute)
Whether is attribute creatable, updateable and readable.
|
static boolean |
ConnectorHelper.isMultiValue(ObjectClassInfo objectClassInfo,
String attribute)
Whether is attribute multiValue.
|
static boolean |
ConnectorHelper.isReadable(ObjectClassInfo objectClassInfo,
Attribute attribute)
Whether is attribute readable.
|
static boolean |
ConnectorHelper.isReadable(ObjectClassInfo oinfo,
String attribute)
Whether is attribute readable.
|
static boolean |
ConnectorHelper.isRequired(ObjectClassInfo objectClassInfo,
Attribute attribute)
Whether is attribute required.
|
static boolean |
ConnectorHelper.isReturnedByDefault(ObjectClassInfo objectClassInfo,
Attribute attribute)
Whether is attribute returnedByDefault.
|
static boolean |
ConnectorHelper.isUpdateable(ObjectClassInfo objectClassInfo,
Attribute attribute)
Whether is attribute readable.
|
Modifier and Type | Method and Description |
---|---|
ObjectClassInfo |
ObjectClassInfoBuilder.build()
Constructs an instance of
ObjectClassInfo with any
characteristics that were previously specified using this builder. |
ObjectClassInfo |
Schema.findObjectClassInfo(String type)
Returns the ObjectClassInfo for the given type.
|
Modifier and Type | Method and Description |
---|---|
Set<ObjectClassInfo> |
Schema.getObjectClassInfo()
Returns the set of object classes that are defined in the schema,
regardless of which operations support them.
|
Map<Class<? extends APIOperation>,Set<ObjectClassInfo>> |
Schema.getSupportedObjectClassesByOperation()
Returns the set of object classes that apply to a particular operation.
|
Set<ObjectClassInfo> |
Schema.getSupportedObjectClassesByOperation(Class<? extends APIOperation> apiop)
Returns the supported object classes for the given operation.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaBuilder.addSupportedObjectClass(Class<? extends SPIOperation> op,
ObjectClassInfo def)
Adds the given ObjectClassInfo as a supported ObjectClass for the given
operation.
|
void |
SchemaBuilder.defineObjectClass(ObjectClassInfo info)
Adds another ObjectClassInfo to the schema.
|
void |
SchemaBuilder.defineObjectClass(ObjectClassInfo objectClassInfo,
Class<? extends SPIOperation>... operations)
Adds another ObjectClassInfo to the schema.
|
void |
SchemaBuilder.removeSupportedObjectClass(Class<? extends SPIOperation> op,
ObjectClassInfo def)
Removes the given ObjectClassInfo as a supported ObjectClass for the
given operation.
|
Constructor and Description |
---|
Schema(Set<ObjectClassInfo> info,
Set<OperationOptionInfo> options,
Map<Class<? extends APIOperation>,Set<ObjectClassInfo>> supportedObjectClassesByOperation,
Map<Class<? extends APIOperation>,Set<OperationOptionInfo>> supportedOptionsByOperation)
Public only for serialization; please use SchemaBuilder instead.
|
Schema(Set<ObjectClassInfo> info,
Set<OperationOptionInfo> options,
Map<Class<? extends APIOperation>,Set<ObjectClassInfo>> supportedObjectClassesByOperation,
Map<Class<? extends APIOperation>,Set<OperationOptionInfo>> supportedOptionsByOperation)
Public only for serialization; please use SchemaBuilder instead.
|
Copyright © 2019. All rights reserved.