Package com.microstrategy.web.objects
Class WebSubscriptionHelper
- java.lang.Object
-
- com.microstrategy.web.objects.WebSubscriptionHelper
-
public class WebSubscriptionHelper extends java.lang.Object
- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Comparator
WEB_SUBSCRIPTION_COMPONENT_NAME_COMPARATOR
-
Constructor Summary
Constructors Constructor Description WebSubscriptionHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SimpleList
filterDeviceByAccessGranted(SimpleList devices, int accessGranted)
Filters out devices that the current user doesn't have access to, as specified by the parameter accessGrantedstatic java.lang.String
getAddressID(java.lang.String locationKey)
static java.lang.String
getDeviceID(java.lang.String locationKey)
static SimpleList
getLocations(SimpleList addressList, SimpleList deviceList)
Create a location list from an list of addresses and a list of devicesstatic boolean
isBulkExportable(WebObjectInfo woi)
static boolean
isExpandPageByEnabled(int contentFormatMode)
static boolean
isExpandUseSeparateSheetsEnabled(int contentFormatMode)
static boolean
isFlash(int contentFormatType)
-
-
-
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
-
isBulkExportable
public static boolean isBulkExportable(WebObjectInfo woi) throws WebObjectsException
- Throws:
WebObjectsException
- Since:
- MicroStrategy Web 8.0.0
-
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
ofWebIServerSubscriptionDevice
objectsaccessGranted
- int bitwise-or fromEnumDSSXMLAccessRightFlags
- 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 addressesdeviceList
-SimpleList
of devices- Returns:
SimpleList
of locations- Since:
- MicroStrategy Web 9.0.0
-
-