Class ProjectPolicy

Hierarchy

Index

Constructor methods

Methods

Constructor methods

constructor(context: ClientRuntimeContext, objectPath: ObjectPath): ProjectPolicy

Parameters

Returns

ProjectPolicy

Methods

public static applyProjectPolicy(context: ClientRuntimeContext, web: Web, projectPolicy: ProjectPolicy)

Parameters

public static closeProject(context: ClientRuntimeContext, web: Web)

Parameters

public customFromJson(initValue: any): boolean

Parameters

  • initValue: any

Returns

boolean

public static doesProjectHavePolicy(context: ClientRuntimeContext, web: Web): BooleanResult

Parameters

Returns

BooleanResult

public fromJson(initValue: any)

Parameters

  • initValue: any

public static getCurrentlyAppliedProject(context: ClientRuntimeContext, web: Web): ProjectPolicy

Parameters

Returns

ProjectPolicy

public static getProjectCloseDate(context: ClientRuntimeContext, web: Web): DateTimeResult

Parameters

Returns

DateTimeResult

public static getProjectExpirationDate(context: ClientRuntimeContext, web: Web): DateTimeResult

Parameters

Returns

DateTimeResult

public static getProjectPolicies(context: ClientRuntimeContext, web: Web): ClientObjectList

Parameters

Returns

ClientObjectList

public get_context(): ClientRuntimeContext

Returns

ClientRuntimeContext

public get_description(): string

Returns

string

public get_emailBody(): string

Returns

string

public get_emailBodyWithTeamMailbox(): string

Returns

string

public get_emailSubject(): string

Returns

string

public get_name(): string

Returns

string

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 static isProjectClosed(context: ClientRuntimeContext, web: Web): BooleanResult

Parameters

Returns

BooleanResult

public isPropertyAvailable(propertyName: string): boolean

Parameters

  • propertyName: string

Returns

boolean

public static openProject(context: ClientRuntimeContext, web: Web)

Parameters

public static postponeProject(context: ClientRuntimeContext, web: Web)

Parameters

public refreshLoad()

public retrieve()

public retrieve(propertyNames: Array<string>)

Parameters

  • propertyNames: Array<string>

public savePolicy()

public set_emailBody(value: string): string

Parameters

  • value: string

Returns

string

public set_emailBodyWithTeamMailbox(value: string): string

Parameters

  • value: string

Returns

string

public set_emailSubject(value: string): string

Parameters

  • value: string

Returns

string

public set_objectVersion(value: string)

Parameters

  • value: string