C# Класс FlexiWebSDK.FlexiWebService

Наследование: IFieldService
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddFile Task
CheckNeedUploadFiles void
FileExistToServer Task
FindTypeIdOnServer int
UploadFieldFileOrImage void

Открытые методы

Метод Описание
Add ( List links ) : void
Add ( List objects, bool checkUploadFile = false ) : void
Add ( XLink link ) : void
Add ( XObject obj, bool checkUploadFile = false ) : void
CreateDataSet ( int schemaId, string name ) : int
Delete ( int typeId, IEnumerable listId ) : void
Delete ( int typeId, int objId ) : void
Exist ( XLink link ) : bool
Exist ( int typeId ) : bool
Get ( int typeId, int objId ) : XObject
GetAll ( int typeId, int schemaId, int setId ) : XObject>.Dictionary
GetAll ( FieldMode fieldMode = FieldMode.all ) : XType>.Dictionary
GetAll ( int typeId, FieldMode fieldMode = FieldMode.all ) : XFieldInfo>.Dictionary
GetById ( int id ) : XEnum
GetBySchema ( int schemaId, FieldMode fieldMode = FieldMode.all ) : XType>.Dictionary
GetFieldValue ( int typeId, int objId, string fieldName ) : string
GetFields ( int id ) : string>.Dictionary
GetLinksInfo ( int typeId ) : XLinkInfo>.Dictionary
GetRelation ( int sourceTypeId, int targetTypeId ) : TypeRelation
GetSchemas ( ) : XSchema>.Dictionary
GetSets ( int shemeId ) : XSet>.Dictionary
TryGetValueByLabel ( int id, string label, string &value ) : bool
Update ( int typeId, int objId, XField field ) : bool
Update ( List objects, bool checkUploadFile = false ) : void
Update ( XObject obj, bool checkUploadFile = false ) : void
Validate ( XLink link ) : bool
Validate ( int typeId, List fields ) : bool
Validate ( int typeId, XField field ) : bool
Validate ( List links ) : void
ValidateValue ( int id, string value ) : bool

Приватные методы

Метод Описание
AddFile ( int typeId, int objId, XField field ) : Task
CheckNeedUploadFiles ( XObject obj ) : void
FileExistToServer ( int typeId, int objId, string field, string localName ) : Task
FindTypeIdOnServer ( Type type ) : int
UploadFieldFileOrImage ( int typeId, int objId, IEnumerable fields ) : void

Описание методов

Add() публичный Метод

public Add ( List links ) : void
links List
Результат void

Add() публичный Метод

public Add ( List objects, bool checkUploadFile = false ) : void
objects List
checkUploadFile bool
Результат void

Add() публичный Метод

public Add ( XLink link ) : void
link FlexiWebSDK.DomainModels.XLink
Результат void

Add() публичный Метод

public Add ( XObject obj, bool checkUploadFile = false ) : void
obj FlexiWebSDK.DomainModels.XObject
checkUploadFile bool
Результат void

CreateDataSet() публичный Метод

public CreateDataSet ( int schemaId, string name ) : int
schemaId int
name string
Результат int

Delete() публичный Метод

public Delete ( int typeId, IEnumerable listId ) : void
typeId int
listId IEnumerable
Результат void

Delete() публичный Метод

public Delete ( int typeId, int objId ) : void
typeId int
objId int
Результат void

Exist() публичный Метод

public Exist ( XLink link ) : bool
link FlexiWebSDK.DomainModels.XLink
Результат bool

Exist() публичный Метод

public Exist ( int typeId ) : bool
typeId int
Результат bool

Get() публичный Метод

public Get ( int typeId, int objId ) : XObject
typeId int
objId int
Результат FlexiWebSDK.DomainModels.XObject

GetAll() публичный Метод

public GetAll ( int typeId, int schemaId, int setId ) : XObject>.Dictionary
typeId int
schemaId int
setId int
Результат XObject>.Dictionary

GetAll() публичный Метод

public GetAll ( FieldMode fieldMode = FieldMode.all ) : XType>.Dictionary
fieldMode FieldMode
Результат XType>.Dictionary

GetAll() публичный Метод

public GetAll ( int typeId, FieldMode fieldMode = FieldMode.all ) : XFieldInfo>.Dictionary
typeId int
fieldMode FieldMode
Результат XFieldInfo>.Dictionary

GetById() публичный Метод

public GetById ( int id ) : XEnum
id int
Результат FlexiWebSDK.DomainModels.XEnum

GetBySchema() публичный Метод

public GetBySchema ( int schemaId, FieldMode fieldMode = FieldMode.all ) : XType>.Dictionary
schemaId int
fieldMode FieldMode
Результат XType>.Dictionary

GetFieldValue() публичный Метод

public GetFieldValue ( int typeId, int objId, string fieldName ) : string
typeId int
objId int
fieldName string
Результат string

GetFields() публичный Метод

public GetFields ( int id ) : string>.Dictionary
id int
Результат string>.Dictionary

GetLinksInfo() публичный Метод

public GetLinksInfo ( int typeId ) : XLinkInfo>.Dictionary
typeId int
Результат XLinkInfo>.Dictionary

GetRelation() публичный Метод

public GetRelation ( int sourceTypeId, int targetTypeId ) : TypeRelation
sourceTypeId int
targetTypeId int
Результат TypeRelation

GetSchemas() публичный Метод

public GetSchemas ( ) : XSchema>.Dictionary
Результат XSchema>.Dictionary

GetSets() публичный Метод

public GetSets ( int shemeId ) : XSet>.Dictionary
shemeId int
Результат XSet>.Dictionary

TryGetValueByLabel() публичный Метод

public TryGetValueByLabel ( int id, string label, string &value ) : bool
id int
label string
value string
Результат bool

Update() публичный Метод

public Update ( int typeId, int objId, XField field ) : bool
typeId int
objId int
field FlexiWebSDK.DomainModels.XField
Результат bool

Update() публичный Метод

public Update ( List objects, bool checkUploadFile = false ) : void
objects List
checkUploadFile bool
Результат void

Update() публичный Метод

public Update ( XObject obj, bool checkUploadFile = false ) : void
obj FlexiWebSDK.DomainModels.XObject
checkUploadFile bool
Результат void

Validate() публичный Метод

public Validate ( XLink link ) : bool
link FlexiWebSDK.DomainModels.XLink
Результат bool

Validate() публичный Метод

public Validate ( int typeId, List fields ) : bool
typeId int
fields List
Результат bool

Validate() публичный Метод

public Validate ( int typeId, XField field ) : bool
typeId int
field FlexiWebSDK.DomainModels.XField
Результат bool

Validate() публичный Метод

public Validate ( List links ) : void
links List
Результат void

ValidateValue() публичный Метод

public ValidateValue ( int id, string value ) : bool
id int
value string
Результат bool