C# 클래스 LinnworksAPI.RulesEngineMethods

파일 보기 프로젝트 열기: LinnSystems/LinnworksNetSDK

공개 메소드들

메소드 설명
AddAction ( ActionWeb action, String ApiToken, String ApiServer ) : ActionWeb
CheckConditionNameExists ( Int32 fkRuleId, Int32 fkConditionId, Int32 excludeConditionId, String conditionName, String ApiToken, String ApiServer ) : System.Boolean
CopyAction ( Int32 pkRuleId, Int32 targetParentConditionId, Int32 pkActionId, String ApiToken, String ApiServer ) : RuleAction
CopyCondition ( Int32 pkRuleId, Int32 targetParentConditionId, Int32 pkConditionId, System.Boolean includeChildren, System.Boolean includeActions, String ApiToken, String ApiServer ) : RuleConditionHeader
CreateDraftFromExisting ( Int32 pkRuleId, String ApiToken, String ApiServer ) : Int32
CreateNewCondition ( ConditionHeaderBasic header, String ApiToken, String ApiServer ) : RuleConditionHeader
CreateNewDraft ( String ruleName, RuleSetType type, String ApiToken, String ApiServer ) : RuleHeaderBasic
CreateNewDraftFromExisting ( Int32 pkRuleId, String ruleName, String ApiToken, String ApiServer ) : RuleHeaderBasic
DeleteAction ( Int32 pkActionId, String ApiToken, String ApiServer ) : void
DeleteCondition ( Int32 pkConditionId, String ApiToken, String ApiServer ) : void
DeleteRuleById ( Int32 pkRuleId, String ApiToken, String ApiServer ) : void
GetActionOptions ( ActionType type, String ApiToken, String ApiServer ) : List
GetActionTypes ( RuleSetType type, String ApiToken, String ApiServer ) : List
GetConditionWeb ( Int32 pkConditionId, String ApiToken, String ApiServer ) : ConditionHeaderBasic
GetEvaluationFields ( RuleSetType type, String ApiToken, String ApiServer ) : List
GetEvaluatorTypes ( String ApiToken, String ApiServer ) : List
GetKeyOptions ( RuleSetType type, String fieldName, String ApiToken, String ApiServer ) : List
GetMultiKeyOptions ( RuleSetType type, List fieldNames, String ApiToken, String ApiServer ) : List
GetMultiOptions ( RuleSetType type, List fieldKeys, String ApiToken, String ApiServer ) : List
GetOptions ( String fieldName, RuleSetType type, String key, String ApiToken, String ApiServer ) : List
GetRequiredFieldsByRuleId ( Int32 pkRuleId, String ApiToken, String ApiServer ) : RulesFields
GetRequiredFieldsByType ( RuleSetType type, String ApiToken, String ApiServer ) : RulesFields
GetRuleConditionNodes ( Int32 pkRuleId, String ApiToken, String ApiServer ) : List
GetRules ( String ApiToken, String ApiServer ) : List
GetRulesByType ( RuleSetType type, String ApiToken, String ApiServer ) : List
GetValuesFromExisting ( Int32 pkRuleId, Object id, String ApiToken, String ApiServer ) : List
SaveConditionChanges ( ConditionHeaderBasic conditionHeader, String ApiToken, String ApiServer ) : void
SetConditionEnabled ( Int32 pkConditionId, System.Boolean enabled, String ApiToken, String ApiServer ) : void
SetDraftLive ( Int32 pkRuleId, String ApiToken, String ApiServer ) : Int32?
SetRuleEnabled ( Int32 pkRuleId, System.Boolean enabled, String ApiToken, String ApiServer ) : void
SetRuleName ( Int32 pkRuleId, String ruleName, String ApiToken, String ApiServer ) : void
SwapConditions ( Int32 pkConditionId1, Int32 pkConditionId2, String ApiToken, String ApiServer ) : void
SwapRules ( Int32 pkRuleId1, Int32 pkRuleId2, String ApiToken, String ApiServer ) : void
TestEvaluateRule ( List testValues, Int32 pkRuleId, String ApiToken, String ApiServer ) : RuleEvaluationResult
UpdateAction ( ActionWeb action, String ApiToken, String ApiServer ) : void

메소드 상세

AddAction() 공개 정적인 메소드

public static AddAction ( ActionWeb action, String ApiToken, String ApiServer ) : ActionWeb
action ActionWeb
ApiToken String
ApiServer String
리턴 ActionWeb

CheckConditionNameExists() 공개 정적인 메소드

public static CheckConditionNameExists ( Int32 fkRuleId, Int32 fkConditionId, Int32 excludeConditionId, String conditionName, String ApiToken, String ApiServer ) : System.Boolean
fkRuleId System.Int32
fkConditionId System.Int32
excludeConditionId System.Int32
conditionName String
ApiToken String
ApiServer String
리턴 System.Boolean

CopyAction() 공개 정적인 메소드

public static CopyAction ( Int32 pkRuleId, Int32 targetParentConditionId, Int32 pkActionId, String ApiToken, String ApiServer ) : RuleAction
pkRuleId System.Int32
targetParentConditionId System.Int32
pkActionId System.Int32
ApiToken String
ApiServer String
리턴 RuleAction

CopyCondition() 공개 정적인 메소드

public static CopyCondition ( Int32 pkRuleId, Int32 targetParentConditionId, Int32 pkConditionId, System.Boolean includeChildren, System.Boolean includeActions, String ApiToken, String ApiServer ) : RuleConditionHeader
pkRuleId System.Int32
targetParentConditionId System.Int32
pkConditionId System.Int32
includeChildren System.Boolean
includeActions System.Boolean
ApiToken String
ApiServer String
리턴 RuleConditionHeader

CreateDraftFromExisting() 공개 정적인 메소드

public static CreateDraftFromExisting ( Int32 pkRuleId, String ApiToken, String ApiServer ) : Int32
pkRuleId System.Int32
ApiToken String
ApiServer String
리턴 System.Int32

CreateNewCondition() 공개 정적인 메소드

public static CreateNewCondition ( ConditionHeaderBasic header, String ApiToken, String ApiServer ) : RuleConditionHeader
header ConditionHeaderBasic
ApiToken String
ApiServer String
리턴 RuleConditionHeader

CreateNewDraft() 공개 정적인 메소드

public static CreateNewDraft ( String ruleName, RuleSetType type, String ApiToken, String ApiServer ) : RuleHeaderBasic
ruleName String
type RuleSetType
ApiToken String
ApiServer String
리턴 RuleHeaderBasic

CreateNewDraftFromExisting() 공개 정적인 메소드

public static CreateNewDraftFromExisting ( Int32 pkRuleId, String ruleName, String ApiToken, String ApiServer ) : RuleHeaderBasic
pkRuleId System.Int32
ruleName String
ApiToken String
ApiServer String
리턴 RuleHeaderBasic

DeleteAction() 공개 정적인 메소드

public static DeleteAction ( Int32 pkActionId, String ApiToken, String ApiServer ) : void
pkActionId System.Int32
ApiToken String
ApiServer String
리턴 void

DeleteCondition() 공개 정적인 메소드

public static DeleteCondition ( Int32 pkConditionId, String ApiToken, String ApiServer ) : void
pkConditionId System.Int32
ApiToken String
ApiServer String
리턴 void

DeleteRuleById() 공개 정적인 메소드

public static DeleteRuleById ( Int32 pkRuleId, String ApiToken, String ApiServer ) : void
pkRuleId System.Int32
ApiToken String
ApiServer String
리턴 void

GetActionOptions() 공개 정적인 메소드

public static GetActionOptions ( ActionType type, String ApiToken, String ApiServer ) : List
type ActionType
ApiToken String
ApiServer String
리턴 List

GetActionTypes() 공개 정적인 메소드

public static GetActionTypes ( RuleSetType type, String ApiToken, String ApiServer ) : List
type RuleSetType
ApiToken String
ApiServer String
리턴 List

GetConditionWeb() 공개 정적인 메소드

public static GetConditionWeb ( Int32 pkConditionId, String ApiToken, String ApiServer ) : ConditionHeaderBasic
pkConditionId System.Int32
ApiToken String
ApiServer String
리턴 ConditionHeaderBasic

GetEvaluationFields() 공개 정적인 메소드

public static GetEvaluationFields ( RuleSetType type, String ApiToken, String ApiServer ) : List
type RuleSetType
ApiToken String
ApiServer String
리턴 List

GetEvaluatorTypes() 공개 정적인 메소드

public static GetEvaluatorTypes ( String ApiToken, String ApiServer ) : List
ApiToken String
ApiServer String
리턴 List

GetKeyOptions() 공개 정적인 메소드

public static GetKeyOptions ( RuleSetType type, String fieldName, String ApiToken, String ApiServer ) : List
type RuleSetType
fieldName String
ApiToken String
ApiServer String
리턴 List

GetMultiKeyOptions() 공개 정적인 메소드

public static GetMultiKeyOptions ( RuleSetType type, List fieldNames, String ApiToken, String ApiServer ) : List
type RuleSetType
fieldNames List
ApiToken String
ApiServer String
리턴 List

GetMultiOptions() 공개 정적인 메소드

public static GetMultiOptions ( RuleSetType type, List fieldKeys, String ApiToken, String ApiServer ) : List
type RuleSetType
fieldKeys List
ApiToken String
ApiServer String
리턴 List

GetOptions() 공개 정적인 메소드

public static GetOptions ( String fieldName, RuleSetType type, String key, String ApiToken, String ApiServer ) : List
fieldName String
type RuleSetType
key String
ApiToken String
ApiServer String
리턴 List

GetRequiredFieldsByRuleId() 공개 정적인 메소드

public static GetRequiredFieldsByRuleId ( Int32 pkRuleId, String ApiToken, String ApiServer ) : RulesFields
pkRuleId System.Int32
ApiToken String
ApiServer String
리턴 RulesFields

GetRequiredFieldsByType() 공개 정적인 메소드

public static GetRequiredFieldsByType ( RuleSetType type, String ApiToken, String ApiServer ) : RulesFields
type RuleSetType
ApiToken String
ApiServer String
리턴 RulesFields

GetRuleConditionNodes() 공개 정적인 메소드

public static GetRuleConditionNodes ( Int32 pkRuleId, String ApiToken, String ApiServer ) : List
pkRuleId System.Int32
ApiToken String
ApiServer String
리턴 List

GetRules() 공개 정적인 메소드

public static GetRules ( String ApiToken, String ApiServer ) : List
ApiToken String
ApiServer String
리턴 List

GetRulesByType() 공개 정적인 메소드

public static GetRulesByType ( RuleSetType type, String ApiToken, String ApiServer ) : List
type RuleSetType
ApiToken String
ApiServer String
리턴 List

GetValuesFromExisting() 공개 정적인 메소드

public static GetValuesFromExisting ( Int32 pkRuleId, Object id, String ApiToken, String ApiServer ) : List
pkRuleId System.Int32
id Object
ApiToken String
ApiServer String
리턴 List

SaveConditionChanges() 공개 정적인 메소드

public static SaveConditionChanges ( ConditionHeaderBasic conditionHeader, String ApiToken, String ApiServer ) : void
conditionHeader ConditionHeaderBasic
ApiToken String
ApiServer String
리턴 void

SetConditionEnabled() 공개 정적인 메소드

public static SetConditionEnabled ( Int32 pkConditionId, System.Boolean enabled, String ApiToken, String ApiServer ) : void
pkConditionId System.Int32
enabled System.Boolean
ApiToken String
ApiServer String
리턴 void

SetDraftLive() 공개 정적인 메소드

public static SetDraftLive ( Int32 pkRuleId, String ApiToken, String ApiServer ) : Int32?
pkRuleId System.Int32
ApiToken String
ApiServer String
리턴 Int32?

SetRuleEnabled() 공개 정적인 메소드

public static SetRuleEnabled ( Int32 pkRuleId, System.Boolean enabled, String ApiToken, String ApiServer ) : void
pkRuleId System.Int32
enabled System.Boolean
ApiToken String
ApiServer String
리턴 void

SetRuleName() 공개 정적인 메소드

public static SetRuleName ( Int32 pkRuleId, String ruleName, String ApiToken, String ApiServer ) : void
pkRuleId System.Int32
ruleName String
ApiToken String
ApiServer String
리턴 void

SwapConditions() 공개 정적인 메소드

public static SwapConditions ( Int32 pkConditionId1, Int32 pkConditionId2, String ApiToken, String ApiServer ) : void
pkConditionId1 System.Int32
pkConditionId2 System.Int32
ApiToken String
ApiServer String
리턴 void

SwapRules() 공개 정적인 메소드

public static SwapRules ( Int32 pkRuleId1, Int32 pkRuleId2, String ApiToken, String ApiServer ) : void
pkRuleId1 System.Int32
pkRuleId2 System.Int32
ApiToken String
ApiServer String
리턴 void

TestEvaluateRule() 공개 정적인 메소드

public static TestEvaluateRule ( List testValues, Int32 pkRuleId, String ApiToken, String ApiServer ) : RuleEvaluationResult
testValues List
pkRuleId System.Int32
ApiToken String
ApiServer String
리턴 RuleEvaluationResult

UpdateAction() 공개 정적인 메소드

public static UpdateAction ( ActionWeb action, String ApiToken, String ApiServer ) : void
action ActionWeb
ApiToken String
ApiServer String
리턴 void