Class OrganizationRequestHandler

OrganizationRequestHandler

Inheritance
System.Object
OrganizationRequestHandler
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Customers.Handlers
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class OrganizationRequestHandler : CustomerRequestHandlerBase, IRequestHandler

Constructors

OrganizationRequestHandler()

Declaration
public OrganizationRequestHandler()

Methods

CheckCycleReferense(PrimaryKeyId, PrimaryKeyId)

Checks the cycle referense.

Declaration
public static bool CheckCycleReferense(PrimaryKeyId orgId, PrimaryKeyId parentId)
Parameters
Type Name Description
PrimaryKeyId orgId

The org id.

PrimaryKeyId parentId

The parent id.

Returns
Type Description
System.Boolean

CheckCycleReferense(OrganizationEntity)

Checks the cycle referense.

Declaration
public static bool CheckCycleReferense(OrganizationEntity orgEntity)
Parameters
Type Name Description
OrganizationEntity orgEntity

The org entity.

Returns
Type Description
System.Boolean

CheckSelfLoopBackReferense(PrimaryKeyId, PrimaryKeyId)

Checks the self loop back referense.

Declaration
public static bool CheckSelfLoopBackReferense(PrimaryKeyId orgId, PrimaryKeyId parentId)
Parameters
Type Name Description
PrimaryKeyId orgId

The org id.

PrimaryKeyId parentId

The parent id.

Returns
Type Description
System.Boolean

CheckSelfLoopBackReferense(OrganizationEntity)

Checks the self loop back referense.

Declaration
public static bool CheckSelfLoopBackReferense(OrganizationEntity orgEntity)
Parameters
Type Name Description
OrganizationEntity orgEntity

The org entity.

Returns
Type Description
System.Boolean

PreCreate(BusinessContext)

Pres the create.

Declaration
protected override void PreCreate(BusinessContext context)
Parameters
Type Name Description
BusinessContext context

The context.

Overrides

PreDelete(BusinessContext)

Pres the delete.

Declaration
protected override void PreDelete(BusinessContext context)
Parameters
Type Name Description
BusinessContext context

The context.

Overrides

PreUpdate(BusinessContext)

Pres the update.

Declaration
protected override void PreUpdate(BusinessContext context)
Parameters
Type Name Description
BusinessContext context

The context.

Overrides

Implements