C# 클래스 Org.IdentityConnectors.Framework.Common.Objects.SchemaBuilder

Simple builder class to help facilitate creating a Schema object.
파일 보기 프로젝트 열기: Tirasa/ConnId 1 사용 예제들

공개 메소드들

메소드 설명
AddSupportedObjectClass ( SafeType op, ObjectClassInfo def ) : void

Adds the given ObjectClassInfo as a supported ObjectClass for the given operation.

AddSupportedOperationOption ( SafeType op, OperationOptionInfo def ) : void

Adds the given OperationOptionInfo as a supported option for the given operation.

Build ( ) : Schema

Builds the Schema object based on the ObjectClassInfos added so far.

ClearSupportedObjectClassesByOperation ( ) : void

Clears the operation-specific supported classes.

Normally, when you add an ObjectClass, using DefineObjectClass(ObjectClassInfo), it is added to all operations. You may then remove those that you need using RemoveSupportedObjectClass(SafeType{SPIOperation}, ObjectClassInfo). You may wish, as an alternative to clear everything out and instead add using AddSupportedObjectClass(SafeType{SPIOperation}, ObjectClassInfo).

ClearSupportedOptionsByOperation ( ) : void

Clears the operation-specific supported options.

Normally, when you add an OperationOptionInfo, using DefineOperationOption(OperationOptionInfo), it is added to all operations. You may then remove those that you need using RemoveSupportedOperationOption(SafeType{SPIOperation}, OperationOptionInfo). You may wish, as an alternative to clear everything out and instead add using AddSupportedOperationOption(SafeType{SPIOperation}, OperationOptionInfo).

DefineObjectClass ( ObjectClassInfo info ) : void

Adds another ObjectClassInfo to the schema.

Also, adds this to the set of supported classes for every operation defined by the Connector.

DefineObjectClass ( String type, ICollection attrInfo ) : void

Adds another ObjectClassInfo to the schema.

Also, adds this to the set of supported classes for every operation defined by the Connector.

DefineOperationOption ( OperationOptionInfo info ) : void

Adds another OperationOptionInfo to the schema.

Also, adds this to the set of supported options for every operation defined by the Connector.

DefineOperationOption ( String optionName, Type type ) : void

Adds another OperationOptionInfo to the schema.

Also, adds this to the set of supported options for every operation defined by the Connector.

RemoveSupportedObjectClass ( SafeType op, ObjectClassInfo def ) : void

Removes the given ObjectClassInfo as a supported ObjectClass for the given operation.

RemoveSupportedOperationOption ( SafeType op, OperationOptionInfo def ) : void

Removes the given OperationOptionInfo as a supported option for the given operation.

SchemaBuilder ( SafeType connectorClass ) : System

비공개 메소드들

메소드 설명
ObjectClassOperation ( SafeType op ) : bool
OperationOptionOperation ( SafeType op ) : bool

메소드 상세

AddSupportedObjectClass() 공개 메소드

Adds the given ObjectClassInfo as a supported ObjectClass for the given operation.
If the given ObjectClassInfo was /// not already defined using .
public AddSupportedObjectClass ( SafeType op, ObjectClassInfo def ) : void
op SafeType The SPI operation
def ObjectClassInfo The ObjectClassInfo
리턴 void

AddSupportedOperationOption() 공개 메소드

Adds the given OperationOptionInfo as a supported option for the given operation.
If the given OperationOptionInfo was /// not already defined using .
public AddSupportedOperationOption ( SafeType op, OperationOptionInfo def ) : void
op SafeType The SPI operation
def OperationOptionInfo The OperationOptionInfo
리턴 void

Build() 공개 메소드

Builds the Schema object based on the ObjectClassInfos added so far.
public Build ( ) : Schema
리턴 Schema

ClearSupportedObjectClassesByOperation() 공개 메소드

Clears the operation-specific supported classes.
Normally, when you add an ObjectClass, using DefineObjectClass(ObjectClassInfo), it is added to all operations. You may then remove those that you need using RemoveSupportedObjectClass(SafeType{SPIOperation}, ObjectClassInfo). You may wish, as an alternative to clear everything out and instead add using AddSupportedObjectClass(SafeType{SPIOperation}, ObjectClassInfo).
public ClearSupportedObjectClassesByOperation ( ) : void
리턴 void

ClearSupportedOptionsByOperation() 공개 메소드

Clears the operation-specific supported options.
Normally, when you add an OperationOptionInfo, using DefineOperationOption(OperationOptionInfo), it is added to all operations. You may then remove those that you need using RemoveSupportedOperationOption(SafeType{SPIOperation}, OperationOptionInfo). You may wish, as an alternative to clear everything out and instead add using AddSupportedOperationOption(SafeType{SPIOperation}, OperationOptionInfo).
public ClearSupportedOptionsByOperation ( ) : void
리턴 void

DefineObjectClass() 공개 메소드

Adds another ObjectClassInfo to the schema.
Also, adds this to the set of supported classes for every operation defined by the Connector.
If already defined
public DefineObjectClass ( ObjectClassInfo info ) : void
info ObjectClassInfo
리턴 void

DefineObjectClass() 공개 메소드

Adds another ObjectClassInfo to the schema.
Also, adds this to the set of supported classes for every operation defined by the Connector.
If already defined
public DefineObjectClass ( String type, ICollection attrInfo ) : void
type String
attrInfo ICollection
리턴 void

DefineOperationOption() 공개 메소드

Adds another OperationOptionInfo to the schema.
Also, adds this to the set of supported options for every operation defined by the Connector.
public DefineOperationOption ( OperationOptionInfo info ) : void
info OperationOptionInfo
리턴 void

DefineOperationOption() 공개 메소드

Adds another OperationOptionInfo to the schema.
Also, adds this to the set of supported options for every operation defined by the Connector.
If already defined
public DefineOperationOption ( String optionName, Type type ) : void
optionName String
type System.Type
리턴 void

RemoveSupportedObjectClass() 공개 메소드

Removes the given ObjectClassInfo as a supported ObjectClass for the given operation.
If the given ObjectClassInfo was /// not already defined using .
public RemoveSupportedObjectClass ( SafeType op, ObjectClassInfo def ) : void
op SafeType The SPI operation
def ObjectClassInfo The ObjectClassInfo
리턴 void

RemoveSupportedOperationOption() 공개 메소드

Removes the given OperationOptionInfo as a supported option for the given operation.
If the given OperationOptionInfo was /// not already defined using .
public RemoveSupportedOperationOption ( SafeType op, OperationOptionInfo def ) : void
op SafeType The SPI operation
def OperationOptionInfo The OperationOptionInfo
리턴 void

SchemaBuilder() 공개 메소드

public SchemaBuilder ( SafeType connectorClass ) : System
connectorClass SafeType
리턴 System