Class SPPolicyStore

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(context: ClientRuntimeContext, web: Web): SPPolicyStore

Parameters

Returns

SPPolicyStore

Properties

public void: any

Methods

public static createPolicyAssociation(context: ClientRuntimeContext): SPPolicyAssociation

Parameters

Returns

SPPolicyAssociation

public static createPolicyBinding(context: ClientRuntimeContext): SPPolicyBinding

Parameters

Returns

SPPolicyBinding

public static createPolicyDefinition(context: ClientRuntimeContext): SPPolicyDefinition

Parameters

Returns

SPPolicyDefinition

public static createPolicyRule(context: ClientRuntimeContext): SPPolicyRule

Parameters

Returns

SPPolicyRule

public customFromJson(initValue: any): boolean

Parameters

  • initValue: any

Returns

boolean

public deletePolicyAssociation(policyAssociationId: any)

Parameters

  • policyAssociationId: any

public deletePolicyBinding(policyBindingId: any)

Parameters

  • policyBindingId: any

public deletePolicyDefinition(policyDefinitionId: any)

Parameters

  • policyDefinitionId: any

public deletePolicyRule(policyRuleId: any): any

Parameters

  • policyRuleId: any

Returns

any

public fromJson(initValue: any)

Parameters

  • initValue: any

public getPolicyAssociation(policyAssociationId: any): SPPolicyAssociation

Parameters

  • policyAssociationId: any

Returns

SPPolicyAssociation

public getPolicyAssociationForContainer(containerId: SPContainerId): SPPolicyAssociation

Parameters

Returns

SPPolicyAssociation

public getPolicyBinding(policyBindingId: any): SPPolicyBinding

Parameters

  • policyBindingId: any

Returns

SPPolicyBinding

public getPolicyDefinition(policyDefinitionId: any): SPPolicyDefinition

Parameters

  • policyDefinitionId: any

Returns

SPPolicyDefinition

public getPolicyDefinitions(scenario: any): ClientObjectList

Parameters

  • scenario: any

Returns

ClientObjectList

public getPolicyRule(policyRuleId: any, throwIfNull: boolean): SPPolicyRule

Parameters

  • policyRuleId: any
  • throwIfNull: boolean

Returns

SPPolicyRule

public get_context(): ClientRuntimeContext

Returns

ClientRuntimeContext

public get_objectVersion(): string

Returns

string

public get_path(): ObjectPath

Returns

ObjectPath

public get_serverObjectIsNull(): boolean

Returns

boolean

public get_typedObject(): ClientObject

Returns

ClientObject

public isObjectPropertyInstantiated(propertyName: string): boolean

Parameters

  • propertyName: string

Returns

boolean

public isPropertyAvailable(propertyName: string): boolean

Parameters

  • propertyName: string

Returns

boolean

public notifyUnifiedPolicySync(notificationId: any, syncSvcUrl: string, changeInfos: any, syncNow: boolean, fullSyncForTenant: any)

Parameters

  • notificationId: any
  • syncSvcUrl: string
  • changeInfos: any
  • syncNow: boolean
  • fullSyncForTenant: any

public refreshLoad()

public retrieve()

public retrieve(propertyNames: Array<string>)

Parameters

  • propertyNames: Array<string>

public set_objectVersion(value: string)

Parameters

  • value: string

public updatePolicyAssociation(policyAssociation: SPPolicyAssociation)

Parameters

public updatePolicyBinding(policyBinding: SPPolicyBinding)

Parameters

public updatePolicyDefinition(policyDefinition: SPPolicyDefinition)

Parameters

public updatePolicyRule(policyRule: SPPolicyRule)

Parameters