Class WebSubscriptionHelper


  • public class WebSubscriptionHelper
    extends java.lang.Object
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Field Detail

      • WEB_SUBSCRIPTION_COMPONENT_NAME_COMPARATOR

        public static final java.util.Comparator WEB_SUBSCRIPTION_COMPONENT_NAME_COMPARATOR
        Since:
        MicroStrategy Web 7.5.1
    • Constructor Detail

      • WebSubscriptionHelper

        public WebSubscriptionHelper()
    • Method Detail

      • getDeviceID

        public static java.lang.String getDeviceID​(java.lang.String locationKey)
        Since:
        MicroStrategy Web 7.5.1
      • getAddressID

        public static java.lang.String getAddressID​(java.lang.String locationKey)
        Since:
        MicroStrategy Web 7.5.1
      • isFlash

        public static boolean isFlash​(int contentFormatType)
        Since:
        MicroStrategy Web 8.1.0
      • isExpandUseSeparateSheetsEnabled

        public static boolean isExpandUseSeparateSheetsEnabled​(int contentFormatMode)
      • isExpandPageByEnabled

        public static boolean isExpandPageByEnabled​(int contentFormatMode)
      • filterDeviceByAccessGranted

        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
        Since:
        MicroStrategy Web 9.0.0
      • getLocations

        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:
        SimpleList of locations
        Since:
        MicroStrategy Web 9.0.0