Namespace: OpenEdge.Mobile
Class
TelerikPushNotificationMessageBuilder
Parent classes:
Inherits: OpenEdge.Mobile.PushNotificationMessageBuilder

Copyright (c) 2015-2016 by Progress Software Corporation. All rights reserved.
File:TelerikPushNotificationMessageBuilder
Purpose:Helper class to build a notification message easily
Author(s):pjudge
Created:Fri Jun 13 13:11:41 EDT 2014
Notes:* The structure of these notification messages is at
http://docs.telerik.com/platform/backend-services/features/push-notifications/structure
https://docs.mongodb.org/manual/reference/operator/query/
which basically says that they are process in UTC timezone.




Method Summary
Options Name Purpose
OpenEdge.Mobile.PushNotificationMessageBuilder AddArrayFilter (character, JsonConstruct, PushNotificationFilterOperandEnum) /** General method to add array filters to the payload. Supported operands: Includes/NotIncludes/Matches/Equals @param character The name of the type of filter (type/deviceID/etc) @param JsonConstruct The value to add. Could be Object (matches only) or array (Includes/NotIncludes) @param PushNotificationFilterOperandEnum The operand (eq/ne/etc) @return PushNotificationMessageBuilder This builder object */
Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddArrayFilter (character, JsonConstruct, PushNotificationFilterOperandEnum)
OpenEdge.Mobile.PushNotificationMessageBuilder AddDateFilter (character, datetime, PushNotificationFilterOperandEnum) /** A general method to add Date filter values to the notification query/filter. Supported operands: eq/ne/gt/ge/lt/le/ @param character The filter name @param datetime The filter value @param PushNotificationFilterOperandEnum The operand (eg Equals or NotEqual) @return PushNotificationMessageBuilder This builder object */
Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddDateFilter (character, datetime, PushNotificationFilterOperandEnum)
AddFilter (JsonConstruct) /* Adds a filter clause to the filter set. @param JsonConstruct The filter data - an array or an object */
OpenEdge.Mobile.PushNotificationMessageBuilder AddGeoFilter (character, JsonObject, PushNotificationFilterOperandEnum) /** General method to add Geolocations filters to the payload. Note that the objects required by the GEO type must have particular properties, but this method only validates some of the properties. Supported operands: near/nearSphere/within/Intersects @param character The name of the type of filter (type/deviceID/etc) @param JsonObject The value to add. @param PushNotificationFilterOperandEnum The operand (eq/ne/etc) @return PushNotificationMessageBuilder This builder object */
Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddGeoFilter (character, JsonObject, PushNotificationFilterOperandEnum)
OpenEdge.Mobile.PushNotificationMessageBuilder AddLogicalFilter (character, logical, PushNotificationFilterOperandEnum) /** A general method to add logical/boolean filter values to the notification query/filter. Only Equals and NotEqual supported @param character The filter name @param logical The filter value @param PushNotificationFilterOperandEnum The operand (eg Equals or NotEqual) @return PushNotificationMessageBuilder This builder object */
Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddLogicalFilter (character, logical, PushNotificationFilterOperandEnum)
OpenEdge.Mobile.PushNotificationMessageBuilder AddNumericFilter (character, decimal, PushNotificationFilterOperandEnum) /** A general method to add numeric(decimal) filter values to the notification query/filter. Supported operands: eq/eq/gt/ge/lt/le/inc/ninc @param character The filter name @param decimal The filter value @param PushNotificationFilterOperandEnum The operand (eg Equals or NotEqual) @return PushNotificationMessageBuilder This builder object */
Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddNumericFilter (character, decimal, PushNotificationFilterOperandEnum)
OpenEdge.Mobile.PushNotificationMessageBuilder AddObjectFilter (character, JsonConstruct, PushNotificationFilterOperandEnum) /** General method to add object filters to the payload. Note that the arrays required by Includes/NotIncludes must contain objects themselves, but this method does NOT validate the contents of the array. The notification service will do so. Supported operands: Includes/NotIncludes/Equals/NotEqual @param character The name of the type of filter (type/deviceID/etc) @param JsonConstruct The value to add. Could be Object (EqualEquals/NotEqual ) or array (Includes/NotIncludes) @param PushNotificationFilterOperandEnum The operand (eq/ne/etc) @return PushNotificationMessageBuilder This builder object */
Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddObjectFilter (character, JsonConstruct, PushNotificationFilterOperandEnum)
OpenEdge.Mobile.PushNotificationMessageBuilder AddPointerFilter (character, JsonObject, PushNotificationFilterOperandEnum) /** UNSUPPORTED OPERATION General method to add object filters to the payload. Note that the objects required by the Pointer type must have particular properties, but this method validates some of the properties. @param character The name of the type of filter (type/deviceID/etc) @param JsonObject The value to add. @param PushNotificationFilterOperandEnum The operand (eq/ne/etc) @return PushNotificationMessageBuilder This builder object */
Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddPointerFilter (character, JsonObject, PushNotificationFilterOperandEnum)
OpenEdge.Mobile.PushNotificationMessageBuilder AddStringFilter (character, character, PushNotificationFilterOperandEnum) /** General method to add string/character filters to the payload. Supported operands: Equals/NotEqual/Includes/NotIncludes @param character The name of the type of filter (type/deviceID/etc) @param character The value to add @param PushNotificationFilterOperandEnum The operand (eq/ne/etc) @return PushNotificationMessageBuilder This builder object */
Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddStringFilter (character, character, PushNotificationFilterOperandEnum)
LOGICAL AppendArrayCharacterValue (character, character) /** Appends a character value to an array (convenience) @param character The option name @param character the value */
Inherited from OpenEdge.Core.Util.ConfigBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder At (datetime-tz) /** Sets the time at which to schedule the notification. No-op if this is a send-immediate message. @param datetime-tz A time in the future (at least the following minute) at which to send the notification. @return PushNotificationMessageBuilder This builder */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder Badges (integer)
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder Build () /** Factory method for retrieving an instance of the server. @param URI A URI representing the notification server @param character The (mandatory) API key to enable notifications */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
ClearOptions () /** Clears all options for this builder */
Inherited from OpenEdge.Core.Util.ConfigBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder ExcludeChannels (JsonArray) /** Excludes the array of named channels. @param JsonArray An array of channels. @return PushNotificationMessageBuilder This builder object */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder ExcludeDevice (character) /** Exclude the device from the Push notification filter . @param character A device ID @return PushNotificationMessageBuilder This builder object */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder ExcludePlatform (ApplicationPlatformEnum) /** Excludes the given platform (can be multiple) @param ApplicationPlatformEnum The mobile platform to include @return PushNotificationMessageBuilder The current builder */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder ExpiresAt (datetime-tz) /** Sets the time at which to scheduled notification expire. No-op if this is a send-immediate message. @param datetime-tz A time in the future (at least the following minute) at which to expire the notification. @return PushNotificationMessageBuilder This builder */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
LOGICAL FindConfigRecord (buffer, character) /** Internal helper method to perform the find. This method attempts to find a record using the input buffer. @param buffer The buffer of the ConfigOption table. @param character The config name @return logical True if a config record was found. */
Inherited from OpenEdge.Core.Util.ConfigBuilder
CHARACTER FormatDate (date) /* Helper method to return date/time/-tz in a decent format @param date A date value to format @return character ISO-DATE format */
CHARACTER FormatDate (datetime) /* Helper method to return date/time/-tz in a decent format @param datetime A datetime value to format @return character ISO-DATE format */
CHARACTER FormatDate (datetime-tz) /* Helper method to return date/time/-tz in a decent format @param datetime-tz A datetime-tz value to format @return character ISO-DATE format */
Progress.Json.ObjectModel.JsonArray GetArrayProperty (JsonObject, character) /** Returns an Array for the property, even if another value was previously set. @param JsonObject The parent @param character The property name @return JsonArray The corresponding property's value (always JsonArray) */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Progress.Json.ObjectModel.JsonObject GetObjectProperty (JsonObject, character) /** Returns an object for the property, even if another value was previously set. @param JsonObject The parent @param character The property name @return JsonObject The corresponding property's value (always JsonObject) */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
DATETIME-TZ GetOptionDateTimeValue (character) /** Returns an option's datetime value @param character The option name @return datetime-tz the value */
Inherited from OpenEdge.Core.Util.ConfigBuilder
LOGICAL GetOptionLogicalValue (character) /** Returns an option's logical value @param character The option name @return logical the value */
Inherited from OpenEdge.Core.Util.ConfigBuilder
LONGCHAR GetOptionLongcharValue (character) /** Returns an option's longchar value @param character The option name @return longchar the value */
Inherited from OpenEdge.Core.Util.ConfigBuilder
DECIMAL GetOptionNumericValue (character) /** Returns an option's decimal value @param character The option name @return decimal the value */
Inherited from OpenEdge.Core.Util.ConfigBuilder
Object GetOptionObjectValue (character) /** Returns an option's object value @param character The option name @return Object the value */
Inherited from OpenEdge.Core.Util.ConfigBuilder
CHARACTER GetOptionStringArrayValue (character) /** Returns an option's character array value @param character The option name @return character[] the value */
Inherited from OpenEdge.Core.Util.ConfigBuilder
CHARACTER GetOptionStringValue (character) /** Returns an option's character value @param character The option name @return character the value */
Inherited from OpenEdge.Core.Util.ConfigBuilder
LOGICAL HasOption (character) /** Checks whether a config option already exists @param character The option name @return logical True if the named configuration option exists */
Inherited from OpenEdge.Core.Util.ConfigBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder IncludeChannels (JsonArray) /** Includes the array of named channels. @param JsonArray An array of channels. @return PushNotificationMessageBuilder This builder object */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder IncludeDevice (character) /** Include the device in the Push notification filter . @param character A device ID @return PushNotificationMessageBuilder This builder object */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder IncludePlatform (ApplicationPlatformEnum) /** Includes the given platform @param ApplicationPlatformEnum The mobile platform to include @return PushNotificationMessageBuilder The current builder */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder MatchAll () /* Sets the filter match operand to "All". @return PushNotificationMessageBuilder This builder object */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder MatchAny () /* Sets the filter match operand to "Any". @return PushNotificationMessageBuilder This builder object */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder MatchChannels (JsonArray) /** Filter for matching the array of named channels. @param JsonArray An array of channels. @return PushNotificationMessageBuilder This builder object */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder Message (character)
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Progress.Json.ObjectModel.JsonObject NewPayload () /** Returns a useable Payload based on the config. @return JsonObject A useable push notification message payload */
OpenEdge.Mobile.PushNotificationMessageBuilder NotOnDevice (character) /** Push notification for all devices except for the given device id @param character A device ID @return PushNotificationMessageBuilder This builder object */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder NotOnPlatform (ApplicationPlatformEnum) /** Exclude only the specified platform from the notification. @param ApplicationPlatformEnum The mobile platform to include @return PushNotificationMessageBuilder The current builder */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder OnDevice (character) /** Push notification for the given device id only. @param character A device ID @return PushNotificationMessageBuilder This builder object */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder OnPlatform (ApplicationPlatformEnum) /** Send the notification to only this platform. @param ApplicationPlatformEnum The mobile platform to include @return PushNotificationMessageBuilder The current builder */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
LOGICAL RemoveOption (character) /** Removes an option @param character The option name */
Inherited from OpenEdge.Core.Util.ConfigBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder Schedule (character, integer) /** Factory for this builder, for messages to schedule for future sending @param character The message text to be sent. @param integer The badge counter (only used for iOS). @return PushNotificationMessageBuilder The new builder */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder Send (character, integer) /** Factory for this builder, for messages to send immediately. @param character The message text to be sent. @param integer The badge counter (only used for iOS). @return PushNotificationMessageBuilder The new builder */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder SendNow (logical)
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
LOGICAL SetOption (character, character) /** Stores an value as an option @param character The option name @param character the value @return logical True is the option was overwritten */
Inherited from OpenEdge.Core.Util.ConfigBuilder
LOGICAL SetOption (character, character[]) /** Stores an value as an option @param character The option name @param character the value @return logical True is the option was overwritten */
Inherited from OpenEdge.Core.Util.ConfigBuilder
LOGICAL SetOption (character, datetime-tz) /** Stores a datetime-tzvalue as an option @param character The option name @param datetime-tz the value @return logical True is the option was overwritten */
Inherited from OpenEdge.Core.Util.ConfigBuilder
LOGICAL SetOption (character, decimal) /** Stores an numeric value as an option @param character The option name @param Object the value @return logical True is the option was overwritten */
Inherited from OpenEdge.Core.Util.ConfigBuilder
LOGICAL SetOption (character, logical) /** Stores a logical value as an option @param character The option name @param logical the value @return logical True is the option was overwritten */
Inherited from OpenEdge.Core.Util.ConfigBuilder
LOGICAL SetOption (character, Object) /** Stores an object value as an option @param character The option name @param Object the value @return logical True is the option was overwritten */
Inherited from OpenEdge.Core.Util.ConfigBuilder
LOGICAL SetOption (Class, Object) /** Stores an object value as an option @param Progress.Lang>Class The option name (as a type) @param Object the value @return logical True is the option was overwritten */
Inherited from OpenEdge.Core.Util.ConfigBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder Titled (character) /* Sets the title of the notification message @param character The non-null title @return PushNotificationMessageBuilder This builder object */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder UseDeviceTimeZone () /** Tells the notification to use the device's timezone (not the timezone of the scheduled time). No-op for a send-immediate message. @return PushNotificationMessageBuilder This builder */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
OpenEdge.Mobile.PushNotificationMessageBuilder UseDeviceTimeZone (logical) /** Tells the notification to use the device's timezone (not the timezone of the scheduled time). No-op for a send-immediate message. @param logical TRUE if we are to use the device time zone. @return PushNotificationMessageBuilder The current builder */
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder

Property Summary
Options Name Purpose
ILogWriter Logger
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
CHARACTER OperandValue
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Progress.Json.ObjectModel.JsonObject Payload
Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:Payload
LOGICAL SendImmediate
Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder


Method Detail
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder AddArrayFilter (character, JsonConstruct, PushNotificationFilterOperandEnum)

Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddArrayFilter (character, JsonConstruct, PushNotificationFilterOperandEnum)
Purpose: General method to add array filters to the payload.
Supported operands: Includes/NotIncludes/Matches/Equals
or array (Includes/NotIncludes)
Parameters:
pcFilterName CHARACTER
poFilterValue Progress.Json.ObjectModel.JsonConstruct
poOperand OpenEdge.Mobile.PushNotificationFilterOperandEnum
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder AddDateFilter (character, datetime, PushNotificationFilterOperandEnum)

Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddDateFilter (character, datetime, PushNotificationFilterOperandEnum)
Purpose: A general method to add Date filter values to the notification
query/filter.
Supported operands: eq/ne/gt/ge/lt/le/
Parameters:
pcFilterName CHARACTER
ptFilterValue DATETIME
poOperand OpenEdge.Mobile.PushNotificationFilterOperandEnum
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PRIVATE AddFilter (JsonConstruct)

/* Adds a filter clause to the filter set.
Parameters:
poFilterObject Progress.Json.ObjectModel.JsonConstruct
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder AddGeoFilter (character, JsonObject, PushNotificationFilterOperandEnum)

Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddGeoFilter (character, JsonObject, PushNotificationFilterOperandEnum)
Purpose: General method to add Geolocations filters to the payload. Note that the
objects required by the GEO type must have particular properties,
but this method only validates some of the properties.
Supported operands: near/nearSphere/within/Intersects
Parameters:
pcFilterName CHARACTER
poFilterValue Progress.Json.ObjectModel.JsonObject
poOperand OpenEdge.Mobile.PushNotificationFilterOperandEnum
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder AddLogicalFilter (character, logical, PushNotificationFilterOperandEnum)

Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddLogicalFilter (character, logical, PushNotificationFilterOperandEnum)
Purpose: A general method to add logical/boolean filter values to the notification
query/filter. Only Equals and NotEqual supported
Parameters:
pcFilterName CHARACTER
plFilterValue LOGICAL
poOperand OpenEdge.Mobile.PushNotificationFilterOperandEnum
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder AddNumericFilter (character, decimal, PushNotificationFilterOperandEnum)

Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddNumericFilter (character, decimal, PushNotificationFilterOperandEnum)
Purpose: A general method to add numeric(decimal) filter values to the notification
query/filter.
Supported operands: eq/eq/gt/ge/lt/le/inc/ninc
Parameters:
pcFilterName CHARACTER
pdFilterValue DECIMAL
poOperand OpenEdge.Mobile.PushNotificationFilterOperandEnum
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder AddObjectFilter (character, JsonConstruct, PushNotificationFilterOperandEnum)

Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddObjectFilter (character, JsonConstruct, PushNotificationFilterOperandEnum)
Purpose: General method to add object filters to the payload. Note that the
arrays required by Includes/NotIncludes must contain objects themselves,
but this method does NOT validate the contents of the array. The notification
service will do so.
Supported operands: Includes/NotIncludes/Equals/NotEqual
or array (Includes/NotIncludes)
Parameters:
pcFilterName CHARACTER
poFilterValue Progress.Json.ObjectModel.JsonConstruct
poOperand OpenEdge.Mobile.PushNotificationFilterOperandEnum
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder AddPointerFilter (character, JsonObject, PushNotificationFilterOperandEnum)

Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddPointerFilter (character, JsonObject, PushNotificationFilterOperandEnum)
Purpose: UNSUPPORTED OPERATION
General method to add object filters to the payload. Note that the
objects required by the Pointer type must have particular properties,
but this method validates some of the properties.
Parameters:
pcFilterName CHARACTER
poFilterValue Progress.Json.ObjectModel.JsonObject
poOperand OpenEdge.Mobile.PushNotificationFilterOperandEnum
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder AddStringFilter (character, character, PushNotificationFilterOperandEnum)

Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:AddStringFilter (character, character, PushNotificationFilterOperandEnum)
Purpose: General method to add string/character filters to the payload.
Supported operands: Equals/NotEqual/Includes/NotIncludes
Parameters:
pcFilterName CHARACTER
pcFilterValue CHARACTER
poOperand OpenEdge.Mobile.PushNotificationFilterOperandEnum
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PROTECTED LOGICAL AppendArrayCharacterValue (character, character)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Appends a character value to an array (convenience)
Parameters:
pcName CHARACTER
pcValue CHARACTER
Returns LOGICAL
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder At (datetime-tz)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Sets the time at which to schedule the notification. No-op if this is a
send-immediate message.
at which to send the notification.
Parameters:
ptSendAt DATETIME-TZ
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder Badges (integer)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Parameters:
piBadgeCount INTEGER
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder Build ()

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Factory method for retrieving an instance of the server.
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
Top

PROTECTED ClearOptions ()

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Clears all options for this builder
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder ExcludeChannels (JsonArray)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Excludes the array of named channels.
Parameters:
poChannels Progress.Json.ObjectModel.JsonArray
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder ExcludeDevice (character)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Exclude the device from the Push notification filter .
Parameters:
pcDeviceId CHARACTER
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder ExcludePlatform (ApplicationPlatformEnum)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Excludes the given platform (can be multiple)
Parameters:
poPlatform OpenEdge.Mobile.ApplicationPlatformEnum
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder The current builder
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder ExpiresAt (datetime-tz)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Sets the time at which to scheduled notification expire. No-op if this is a
send-immediate message.
at which to expire the notification.
Parameters:
ptExpireAt DATETIME-TZ
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder
Top

PROTECTED LOGICAL FindConfigRecord (buffer, character)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Internal helper method to perform the find. This method attempts to find a record using
the input buffer.
Parameters:
pConfig buffer
pName CHARACTER
Returns LOGICAL
logical True if a config record was found.
Top

PRIVATE CHARACTER FormatDate (date)

/* Helper method to return date/time/-tz in a decent format
Parameters:
ptDate DATE
Returns CHARACTER
character ISO-DATE format
Top

PRIVATE CHARACTER FormatDate (datetime)

/* Helper method to return date/time/-tz in a decent format
Parameters:
ptDate DATETIME
Returns CHARACTER
character ISO-DATE format
Top

PRIVATE CHARACTER FormatDate (datetime-tz)

/* Helper method to return date/time/-tz in a decent format
Parameters:
ptDate DATETIME-TZ
Returns CHARACTER
character ISO-DATE format
Top

PROTECTED Progress.Json.ObjectModel.JsonArray GetArrayProperty (JsonObject, character)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Returns an Array for the property, even if another value was previously
set.
Parameters:
poParent Progress.Json.ObjectModel.JsonObject
pcPropertyName CHARACTER
Returns Progress.Json.ObjectModel.JsonArray
JsonArray The corresponding property's value (always JsonArray)
Top

PROTECTED Progress.Json.ObjectModel.JsonObject GetObjectProperty (JsonObject, character)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Returns an object for the property, even if another value was previously
set.
Parameters:
poParent Progress.Json.ObjectModel.JsonObject
pcPropertyName CHARACTER
Returns Progress.Json.ObjectModel.JsonObject
JsonObject The corresponding property's value (always JsonObject)
Top

PROTECTED DATETIME-TZ GetOptionDateTimeValue (character)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Returns an option's datetime value
Parameters:
pcName CHARACTER
Returns DATETIME-TZ
datetime-tz the value
Top

PROTECTED LOGICAL GetOptionLogicalValue (character)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Returns an option's logical value
Parameters:
pcName CHARACTER
Returns LOGICAL
logical the value
Top

PROTECTED LONGCHAR GetOptionLongcharValue (character)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Returns an option's longchar value
Parameters:
pcName CHARACTER
Returns LONGCHAR
longchar the value
Top

PROTECTED DECIMAL GetOptionNumericValue (character)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Returns an option's decimal value
Parameters:
pcName CHARACTER
Returns DECIMAL
decimal the value
Top

PROTECTED Object GetOptionObjectValue (character)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Returns an option's object value
Parameters:
pcName CHARACTER
Returns Object
Object the value
Top

PROTECTED CHARACTER GetOptionStringArrayValue (character)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Returns an option's character array value
Parameters:
pcName CHARACTER
Returns CHARACTER
character[] the value
Top

PROTECTED CHARACTER GetOptionStringValue (character)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Returns an option's character value
Parameters:
pcName CHARACTER
Returns CHARACTER
character the value
Top

PROTECTED LOGICAL HasOption (character)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Checks whether a config option already exists
Parameters:
pcConfigName CHARACTER
Returns LOGICAL
logical True if the named configuration option exists
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder IncludeChannels (JsonArray)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Includes the array of named channels.
Parameters:
poChannels Progress.Json.ObjectModel.JsonArray
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder IncludeDevice (character)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Include the device in the Push notification filter .
Parameters:
pcDeviceId CHARACTER
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder IncludePlatform (ApplicationPlatformEnum)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Includes the given platform
Parameters:
poPlatform OpenEdge.Mobile.ApplicationPlatformEnum
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder The current builder
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder MatchAll ()

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
/* Sets the filter match operand to "All".
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder MatchAny ()

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
/* Sets the filter match operand to "Any".
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder MatchChannels (JsonArray)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Filter for matching the array of named channels.
Parameters:
poChannels Progress.Json.ObjectModel.JsonArray
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder Message (character)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Parameters:
pcMessage CHARACTER
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
Top

PRIVATE Progress.Json.ObjectModel.JsonObject NewPayload ()

Purpose: Returns a useable Payload based on the config.
Returns Progress.Json.ObjectModel.JsonObject
JsonObject A useable push notification message payload
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder NotOnDevice (character)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Push notification for all devices except for the given device id
Parameters:
pcDeviceId CHARACTER
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder NotOnPlatform (ApplicationPlatformEnum)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Exclude only the specified platform from the notification.
Parameters:
poPlatform OpenEdge.Mobile.ApplicationPlatformEnum
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder The current builder
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder OnDevice (character)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Push notification for the given device id only.
Parameters:
pcDeviceId CHARACTER
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder OnPlatform (ApplicationPlatformEnum)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Send the notification to only this platform.
Parameters:
poPlatform OpenEdge.Mobile.ApplicationPlatformEnum
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder The current builder
Top

PROTECTED LOGICAL RemoveOption (character)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Removes an option
Parameters:
pcName CHARACTER
Returns LOGICAL
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder Schedule (character, integer)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Factory for this builder, for messages to schedule for future sending
Parameters:
pcMessage CHARACTER
piBadge INTEGER
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder The new builder
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder Send (character, integer)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Factory for this builder, for messages to send immediately.
Parameters:
pcMessage CHARACTER
piBadge INTEGER
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder The new builder
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder SendNow (logical)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Parameters:
plSendNow LOGICAL
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
Top

PROTECTED LOGICAL SetOption (character, character)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Stores an value as an option
Parameters:
pcName CHARACTER
pcValue CHARACTER
Returns LOGICAL
logical True is the option was overwritten
Top

PROTECTED LOGICAL SetOption (character, character[])

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Stores an value as an option
Parameters:
pcName CHARACTER
pcValue CHARACTER
Returns LOGICAL
logical True is the option was overwritten
Top

PROTECTED LOGICAL SetOption (character, datetime-tz)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Stores a datetime-tzvalue as an option
Parameters:
pcName CHARACTER
ptValue DATETIME-TZ
Returns LOGICAL
logical True is the option was overwritten
Top

PROTECTED LOGICAL SetOption (character, decimal)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Stores an numeric value as an option
Parameters:
pcName CHARACTER
pdValue DECIMAL
Returns LOGICAL
logical True is the option was overwritten
Top

PROTECTED LOGICAL SetOption (character, logical)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Stores a logical value as an option
Parameters:
pcName CHARACTER
plValue LOGICAL
Returns LOGICAL
logical True is the option was overwritten
Top

PROTECTED LOGICAL SetOption (character, Object)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Stores an object value as an option
Parameters:
pcName CHARACTER
poValue Object
Returns LOGICAL
logical True is the option was overwritten
Top

PROTECTED LOGICAL SetOption (Class, Object)

Inherited from OpenEdge.Core.Util.ConfigBuilder
Purpose: Stores an object value as an option
Parameters:
pName Progress.Lang.Class
pValue Object
Returns LOGICAL
logical True is the option was overwritten
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder Titled (character)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
/* Sets the title of the notification message
Parameters:
pcTitle CHARACTER
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder object
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder UseDeviceTimeZone ()

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Tells the notification to use the device's timezone (not the timezone
of the scheduled time). No-op for a send-immediate message.
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder This builder
Top

PUBLIC OpenEdge.Mobile.PushNotificationMessageBuilder UseDeviceTimeZone (logical)

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Purpose: Tells the notification to use the device's timezone (not the timezone
of the scheduled time). No-op for a send-immediate message.
Parameters:
plUseDeviceTimeZone LOGICAL
Returns OpenEdge.Mobile.PushNotificationMessageBuilder
PushNotificationMessageBuilder The current builder


Property Detail
Top

PUBLIC ILogWriter Logger

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Returns ILogWriter
Top

PROTECTED CHARACTER OperandValue

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Returns CHARACTER
Top

PUBLIC Progress.Json.ObjectModel.JsonObject Payload

Overrides OpenEdge.Mobile.PushNotificationMessageBuilder:Payload
Returns Progress.Json.ObjectModel.JsonObject
Top

PUBLIC LOGICAL SendImmediate

Inherited from OpenEdge.Mobile.PushNotificationMessageBuilder
Returns LOGICAL


Copyright © 2020 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.2.0