Uses of Class
org.identityconnectors.framework.common.objects.ObjectClassInfo
Package
Description
-
Uses of ObjectClassInfo in org.identityconnectors.contract.test
Modifier and TypeMethodDescriptionObjectClassRunner.getObjectClassInfo
(ObjectClass objectClass) GetsObjectClassInfo
for object class returned byinvalid reference
ObjectClassRunner#getSupportedObjectClass
Modifier and TypeMethodDescriptionstatic void
ConnectorHelper.checkLiveSyncDelta
(ObjectClassInfo ocInfo, LiveSyncDelta delta, Uid uid, Set<Attribute> attributes, boolean checkNotReturnedByDefault) Check that passed SyncDelta has expected values.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 expected values.static Uid
ConnectorHelper.createObject
(ConnectorFacade connectorFacade, DataProvider dataProvider, ObjectClassInfo objectClassInfo, String testName, int sequenceNumber, OperationOptions opOptions) gets the attributes for youstatic 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 nameConnectorHelper.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).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.ConnectorHelper.getReadableAttributesNames
(ObjectClassInfo ocInfo) Returns set of attributes' names which are readable.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 oinfo, String attribute) Whether is attribute readable.static boolean
ConnectorHelper.isReadable
(ObjectClassInfo objectClassInfo, Attribute 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. -
Uses of ObjectClassInfo in org.identityconnectors.framework.common.objects
Modifier and TypeMethodDescriptionObjectClassInfoBuilder.build()
Constructs an instance ofObjectClassInfo
with any characteristics that were previously specified using this builder.Schema.findObjectClassInfo
(String type) Returns the ObjectClassInfo for the given type.Modifier and TypeMethodDescriptionSchema.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.Schema.getSupportedObjectClassesByOperation
(Class<? extends APIOperation> apiop) Returns the supported object classes for the given operation.Modifier and TypeMethodDescriptionvoid
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.final 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.ModifierConstructorDescriptionSchema
(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.