java.lang.Object | |
↳ | com.microstrategy.web.objects.WebObjectsFactory |
WebObjectsFactory is the factory class for the Web Objects API. This is the entry
point for any operation which uses the Web Objects. When creating a new factory
instance, it should be initialized with setMessagesManager(MessagesManager)
to ensure underlying messages may be correctly localized.
Since 9.0.2, if users need to get the proper css for a specific browser, they should set the browser type through setBrowserType(int)
.
If they want to use proper locale, they should set the message through setMessagesManager(MessagesManager)
;
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
checkUserPrivilege(int privilegeType)
Checks if the user has the particular privelege type
| ||||||||||
WebAssociatedScheduleSource | getAssociatedScheduleSource() | ||||||||||
int | getBrowserType() | ||||||||||
WebClusterAdmin |
getClusterAdmin()
Returns the
WebClusterAdmin object | ||||||||||
WebClusterSource |
getClusterSource()
Returns a
WebClusterSource object, which can be used for retrieving
WebClusterMembership . | ||||||||||
String | getDescriptor(String key, String defaultValue) | ||||||||||
WebDocumentSource |
getDocumentSource()
Returns a
WebDocumentSource object, which can be used for document-related operations. | ||||||||||
WebElementSource |
getElementSourceObject()
Returns a
WebElementSource object, which can be used for element browsing. | ||||||||||
WebEncryptionKeysSource |
getEncryptionKeysSource()
Returns a
WebEncryptionKeysSource object, which can be used to re-encrypt the mstr env | ||||||||||
String | getFlexSettingsXml() | ||||||||||
WebIServerSession |
getIServerSession()
Returns a
WebIServerSession object, which can be used to create and set the session ID
on the factory and all objects created from it. | ||||||||||
WebIServerSessionList | getIServerSessionList() | ||||||||||
WebInboxSource |
getInboxSource()
Returns a
WebInboxSource object, which can be used for inbox-related operations. | ||||||||||
static WebObjectsFactory |
getInstance()
Returns an instance of the WebObjectsFactory object.
| ||||||||||
LicenseSource |
getLicenseSource()
Returns a
LicenseSource object, which can be used for retrieving licensing
information. | ||||||||||
WebMDUpdateSource |
getMDUpdateSource()
Returns a
WebMDUpdateSource object, which can be used to update all or portions of the metadata | ||||||||||
MonitorSource |
getMonitorSource(int type)
Returns a type specific
MonitorSource object, which can be used
for retrieving monitoring information. | ||||||||||
ObjectLockSource | getObjectLockSource() | ||||||||||
WebObjectSource |
getObjectSource()
Returns a
WebObjectSource object, which can be used for object-related
operations. | ||||||||||
WebProjectSource |
getProjectSource()
Returns a
WebProjectSource object, which can be used for retrieving project information. | ||||||||||
RWSource |
getRWSource()
Returns a
RWSource object, which can be used for RW-related operations. | ||||||||||
WebReportSource |
getReportSource()
Returns a
WebReportSource object, which can be used for report-related operations. | ||||||||||
int | getResolvedAnalysisQuota() | ||||||||||
WebScheduleSource |
getScheduleSource()
Returns a
WebScheduleSource object, which can be used for scheduling-related
operations. | ||||||||||
WebSubscriptionsSource |
getSubscriptionsSource()
Returns the
WebSubscriptionsSource object that can be used to access
all other objects needed for supporting Narrowcast functionality | ||||||||||
String | getUserPrivilegeXml() | ||||||||||
void |
setBrowserType(int brwType)
Set the browser type (@link
EnumBrowserType ) | ||||||||||
void | setMessagesManager(MessagesManager msgs) |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | checkUserPrivilege(int privilegeType, WebIServerSession session) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Checks if the user has the particular privelege type
privilegeType | integer value specifying the type of privilege that is to be checked
This is a value from the enumeration EnumDSSXMLPrivilegeTypes |
---|
WebObjectsException |
---|
Returns the WebClusterAdmin
object
WebClusterAdmin
object
Returns a WebClusterSource
object, which can be used for retrieving
WebClusterMembership
.
Returns a WebDocumentSource
object, which can be used for document-related operations.
WebDocumentSource
object.
Returns a WebElementSource
object, which can be used for element browsing.
WebElementSource
object.
Returns a WebEncryptionKeysSource
object, which can be used to re-encrypt the mstr env
Returns a WebIServerSession
object, which can be used to create and set the session ID
on the factory and all objects created from it.
WebIServerSession
object which represents the session information which
all objects derived from the factory will use.
Returns a WebInboxSource
object, which can be used for inbox-related operations.
WebInboxSource
object.
Returns an instance of the WebObjectsFactory object. This is the only way to obtain the factory object.
Returns a LicenseSource
object, which can be used for retrieving licensing
information.
Returns a WebMDUpdateSource
object, which can be used to update all or portions of the metadata
Returns a type specific MonitorSource
object, which can be used
for retrieving monitoring information.
type | the monitoring type, a value from EnumWebMonitorType |
---|
MonitorSource
object.Returns a WebObjectSource
object, which can be used for object-related
operations.
WebObjectSource
object.
Returns a WebProjectSource
object, which can be used for retrieving project information.
WebProjectSource
object.
Returns a RWSource
object, which can be used for RW-related operations.
Returns a WebReportSource
object, which can be used for report-related operations.
WebReportSource
object.
Returns a WebScheduleSource
object, which can be used for scheduling-related
operations.
WebScheduleSource
object.
Returns the WebSubscriptionsSource
object that can be used to access
all other objects needed for supporting Narrowcast functionality
WebSubscriptionsSource
object
WebObjectsException |
---|