public class

WebSubscriptionHelper

extends Object
java.lang.Object
   ↳ com.microstrategy.web.objects.WebSubscriptionHelper

Summary

Fields
public static final Comparator WEB_SUBSCRIPTION_COMPONENT_NAME_COMPARATOR
Public Constructors
WebSubscriptionHelper()
Public Methods
static SimpleList filterDeviceByAccessGranted(SimpleList devices, int accessGranted)
Filters out devices that the current user doesn't have access to, as specified by the parameter accessGranted
static String getAddressID(String locationKey)
static String getDeviceID(String locationKey)
static SimpleList getLocations(SimpleList addressList, SimpleList deviceList)
Create a location list from an list of addresses and a list of devices
static boolean isBulkExportable(WebObjectInfo woi)
static boolean isExpandPageByEnabled(int contentFormatMode)
static boolean isExpandUseSeparateSheetsEnabled(int contentFormatMode)
static boolean isFlash(int contentFormatType)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final Comparator WEB_SUBSCRIPTION_COMPONENT_NAME_COMPARATOR

Public Constructors

public WebSubscriptionHelper ()

Public Methods

public static SimpleList filterDeviceByAccessGranted (SimpleList devices, int accessGranted)

Filters out devices that the current user doesn't have access to, as specified by the parameter accessGranted

Parameters
devices SimpleList of WebIServerSubscriptionDevice objects
accessGranted int bitwise-or from EnumDSSXMLAccessRightFlags
Returns
  • new SimpleList containing devices that have at least rights specified in accessGranted

public static String getAddressID (String locationKey)

public static String getDeviceID (String locationKey)

public static SimpleList getLocations (SimpleList addressList, SimpleList deviceList)

Create a location list from an list of addresses and a list of devices

Parameters
addressList SimpleList of addresses
deviceList SimpleList of devices
Returns

public static boolean isBulkExportable (WebObjectInfo woi)

public static boolean isExpandPageByEnabled (int contentFormatMode)

public static boolean isExpandUseSeparateSheetsEnabled (int contentFormatMode)

public static boolean isFlash (int contentFormatType)