Class SegmentManager
Segment manager acts as proxy between methods that call data layer functions and the facade layer. The methods here check if the appropriate security is set and that the data is cached.
Inheritance
System.Object
SegmentManager
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.Marketing.Managers
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public static class SegmentManager
Methods
GetSegmentDto()
Gets the segment dto.
Declaration
public static SegmentDto GetSegmentDto()
Returns
Type | Description |
---|---|
SegmentDto |
GetSegmentDto(Int32)
Gets the Segment dto, checks permissions and caches results.
Declaration
public static SegmentDto GetSegmentDto(int segmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | segmentId | The segment id. |
Returns
Type | Description |
---|---|
SegmentDto |
SaveSegment(SegmentDto)
Saves the segment.
Declaration
public static void SaveSegment(SegmentDto dto)
Parameters
Type | Name | Description |
---|---|---|
SegmentDto | dto | The dto. |