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.ComparatorWEB_SUBSCRIPTION_COMPONENT_NAME_COMPARATOR
-
Constructor Summary
Constructors Constructor Description WebSubscriptionHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SimpleListfilterDeviceByAccessGranted(SimpleList devices, int accessGranted)Filters out devices that the current user doesn't have access to, as specified by the parameter accessGrantedstatic java.lang.StringgetAddressID(java.lang.String locationKey)static java.lang.StringgetDeviceID(java.lang.String locationKey)static SimpleListgetLocations(SimpleList addressList, SimpleList deviceList)Create a location list from an list of addresses and a list of devicesstatic booleanisBulkExportable(WebObjectInfo woi)static booleanisExpandPageByEnabled(int contentFormatMode)static booleanisExpandUseSeparateSheetsEnabled(int contentFormatMode)static booleanisFlash(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-SimpleListofWebIServerSubscriptionDeviceobjectsaccessGranted- int bitwise-or fromEnumDSSXMLAccessRightFlags- Returns:
- new
SimpleListcontaining 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-SimpleListof addressesdeviceList-SimpleListof devices- Returns:
SimpleListof locations- Since:
- MicroStrategy Web 9.0.0
-
-