java.lang.Object | ||
↳ | com.microstrategy.utils.serialization.AbstractPersistable | |
↳ | com.microstrategy.web.objects.WebChangeJournalSearchImpl |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
WebChangeJournalSearchImpl(WebObjectsFactory _factory) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Object | _getObKey() | ||||||||||
void |
addDetails(boolean details)
This method will add or remove details from the display unit.
| ||||||||||
void | applyVisitor(DisplayUnitsVisitor visitor, boolean deep) | ||||||||||
void | buildShortObjectAttributes(WebXMLBuilder builder) | ||||||||||
void | buildShortXML(WebXMLBuilder builder) | ||||||||||
boolean | canHighlight() | ||||||||||
WebFolder |
doSynchronousQuickSearch()
Do the Synchronous Quick Search
| ||||||||||
boolean | equals(Object otherObject) | ||||||||||
boolean | equals(WebObjectInfo otherOI) | ||||||||||
String |
getAbbreviation()
Returns the abbreviation of this object.
| ||||||||||
String |
getAbbreviationPattern()
Gets the abbreviation pattern that the Search object will search for.
| ||||||||||
int |
getAccessGranted()
Returns the current access granted on this object, if available.
| ||||||||||
int |
getAccessRights()
Returns the access rights of the object being searched for, that the search will be narrowed by.
| ||||||||||
SimpleList |
getAncestors()
Returns a
SimpleList containing the ancestors of this object, if they exist
in the object XML. | ||||||||||
String | getBeginTime() | ||||||||||
String | getBeginTransactionID() | ||||||||||
int |
getBlockBegin()
Returns the blockBegin value for the objects that the search returns.
| ||||||||||
int |
getBlockCount()
Returns the blockCount value for the objects that the search returns.
| ||||||||||
WebChangeJournalEntries |
getChangeJournalResults()
Attempts to get the change journal results of a search from the Intelligence Server.
| ||||||||||
WebDisplayUnits |
getChildUnits()
Returns the collection of child display units, or null if the object is
not a collection.
| ||||||||||
String[] |
getComments()
Returns an array of strings, each of which represent a 'comment', that is saved as the long description
of the object.
| ||||||||||
String | getContainerDid() | ||||||||||
String | getContainerType() | ||||||||||
String |
getCreationTime()
Returns the creation time of this object, if that information is available.
| ||||||||||
String | getDataSources() | ||||||||||
String |
getDescription()
Returns the description of the object.
| ||||||||||
String |
getDescriptionPattern()
Returns the description pattern that the search is currently limited to.
| ||||||||||
String |
getDisplayName()
Returns the display name associated with this object.
| ||||||||||
int |
getDisplayUnitType()
Returns the type of display unit that this object represents.
| ||||||||||
String | getDisplayXML() | ||||||||||
int |
getDomain()
Returns the current domain for the search.
| ||||||||||
String | getEndTime() | ||||||||||
String | getEndTransactionID() | ||||||||||
int |
getExtendedType()
The current extended type
| ||||||||||
WebObjectsFactory |
getFactory()
Returns WebObjectsFactory
| ||||||||||
int |
getFirstObjectIndex()
Returns the index to begin searching from.
| ||||||||||
int |
getFlags()
Returns the flags which determine what data to populate upon calling populate.
| ||||||||||
String |
getID()
Returns the DSS ID of the object, if one exists.
| ||||||||||
String |
getIconPath()
Return the icon path for the object
| ||||||||||
int |
getMaxObjects()
Returns the maximum number of objects the search is configured to return.
| ||||||||||
int |
getMaxWait()
Returns the maximum amount of time, in milliseconds, to wait for a search to finish in synchronous mode.
| ||||||||||
String |
getModificationTime()
Returns the last modification time of the object, if that information is available.
| ||||||||||
long | getModificationTimeStamp() | ||||||||||
String |
getName()
Returns the name of this object.
| ||||||||||
String |
getNamePattern()
Returns the pattern to search for in the name of the objects in metadata.
| ||||||||||
boolean |
getNonSchedulable()
Get flag of whether the object is not schedulable
| ||||||||||
int |
getOtherNameTransCount()
Returns the count of name translations for locales other than the current effective locale.
| ||||||||||
int | getOutputType() | ||||||||||
WebObjectInfo |
getOwner()
Returns a WebObjectInfo object which corresponds to the owner of this object.
| ||||||||||
WebFolder |
getParent()
Returns the parent folder of the current object, if it exists.
| ||||||||||
int |
getPollingFrequency()
Returns the current polling frequency, in milliseconds.
| ||||||||||
WebPromptInstances |
getPromptInstances()
Returns a collection of prompt instances from this prompt site.
| ||||||||||
int |
getPropertyFlags()
Retrieve the current property flags
| ||||||||||
SimpleList |
getPropertySetFilter()
Returns an editable
SimpleList where you can specify the list
of propertySets that the getPropertySets call should be limited to
Note that this filter is not retained in the state. | ||||||||||
WebPropertyGroup |
getPropertySets()
Returns the property sets associated with this object.
| ||||||||||
WebFolder |
getResults()
Attempts to get the results of a search from the Intelligence Server.
| ||||||||||
WebFolder | getResults(boolean dereferenceShortcuts) | ||||||||||
int |
getScope()
Returns the current scope for the search.
| ||||||||||
List<WebFolder> |
getSearchExcludeRoots()
Returns the excluded folders for the search
| ||||||||||
String |
getSearchFields()
Return current setting of Search Fields
| ||||||||||
int |
getSearchFlags()
Returns the currently set search flags.
| ||||||||||
String |
getSearchID()
Returns the search ID of the last search submitted by this object, or the last time
setSearchID was called.
| ||||||||||
String |
getSearchOwner()
Returns the value of the search owner restriction on the search, if it is currently set.
| ||||||||||
String |
getSearchRoot()
Returns the root folder ID that the search is limited to, if applicable.
| ||||||||||
int |
getSearchType()
Return current setting of Search Type
| ||||||||||
WebObjectSecurity |
getSecurity()
Returns the
WebObjectSecurity object associated with this WebObjectInfo object. | ||||||||||
int | getSelectedCount() | ||||||||||
int |
getState()
Returns the state of the object.
| ||||||||||
int |
getStateClear()
Returns the object states that the search is prohibited from returning.
| ||||||||||
int |
getStateSet()
Returns the object states that the search will be limited to.
| ||||||||||
int |
getStatus()
Returns the status of the last getResults call which was made.
| ||||||||||
int |
getSubType()
Returns the subtype of the object.
| ||||||||||
int |
getType()
Returns the type of this object.
| ||||||||||
String |
getVersionID()
Returns the Version ID of the object, if one exists.
| ||||||||||
WebViewMediaSettings | getViewMediaSettings() | ||||||||||
int | getVisualizationViewMode() | ||||||||||
String |
getXML(boolean encode)
Returns the XML representation of this object.
| ||||||||||
String |
getXML()
Returns the XML representation of this object.
| ||||||||||
boolean |
hasDetails()
Returns whether this display unit currently has details enabled.
| ||||||||||
boolean | hasOwner() | ||||||||||
int | hashCode() | ||||||||||
void |
highlightUnit(boolean details)
Sets this display unit to be highlighted.
| ||||||||||
void |
highlightUnit()
Sets this display unit to be highlighted.
| ||||||||||
boolean |
isAncestorNamedFolder(int folderName)
Returns whether the named folder is this object's ancestor.
| ||||||||||
boolean |
isAsync()
Returns whether getResults will be asynchronous.
| ||||||||||
boolean |
isDirty()
Returns whether this object has been modified to be different from the object in metadata.
| ||||||||||
boolean | isEmbedded() | ||||||||||
boolean |
isFeatureAvailable(String feature)
Returns whether the given feature is available or not.
| ||||||||||
boolean |
isFeatureAvailable(String feature, Object dependencyObject)
Returns whether the given feature is available or not.
| ||||||||||
boolean |
isGettingTreeInfo()
Gets the setting about whether the search result would include the browsing tree structure or not.
| ||||||||||
boolean |
isHidden()
Returns whether the object is a hidden object.
| ||||||||||
boolean |
isHighlighted()
Returns whether this unit is highlighted.
| ||||||||||
boolean |
isNew()
Returns whether this object is newly created at client side, which is not in the metadata.
| ||||||||||
boolean |
isObjectInfo()
Returns true if underlying Web Object can be cast to
WebObjectInfo . | ||||||||||
boolean |
isPopulated()
Returns true if this object has been populated with its' definition from the Intelligence
Server, false if it has not been populated.
| ||||||||||
boolean |
isQuickSearch()
Gets the setting about whether the search should be handled by the new quick search engine.
| ||||||||||
boolean |
isSelected()
Returns whether this display unit is selected.
| ||||||||||
boolean |
isSynchronousQuickSearch()
Gets the setting about whether the search should be handled by the Synchronous quick search engine.
| ||||||||||
void |
notUsedBy(int type)
The resulting objects of the search is NOT used by objects of the specified
type (
EnumDSSXMLObjectTypes ) or subtype (EnumDSSXMLObjectSubTypes ). | ||||||||||
void |
notUses(int type)
The resulting objects of the search does NOT use the specified type (
EnumDSSXMLObjectTypes )
or subtype (EnumDSSXMLObjectSubTypes ). | ||||||||||
void |
populate()
Populates the fields on this object by asking the Intelligence Server for
the object definition.
| ||||||||||
void |
populate(String xml)
Populates the fields on this object by loading the given object definition XML.
| ||||||||||
void |
purge()
Purges the search whose ID is set on this WebSearch object from the Intelligence
Server's memory.
| ||||||||||
void |
reset()
Resets all member variables on this object, which causes a reset of the search criteria.
| ||||||||||
void | setAbbreviation(String ab) | ||||||||||
void |
setAbbreviationPattern(String _abbreviationPattern)
Sets the abbreviation pattern of objects that a search will return.
| ||||||||||
void |
setAccessRights(int _accessRights)
This will set the access rights that the search results will be limited by.
| ||||||||||
void |
setAffectedObjects(List<WebObjectInfo> _affectedObjects)
Set the restriction about affected objects for the change journal entries that the search returns.
| ||||||||||
void |
setAffectedProjects(List<WebObjectInfo> _affectedProjects)
Set the restriction about affected projects for the change journal entries that the search returns.
| ||||||||||
void |
setApplicationTypes(List<Integer> _applicationTypes)
Set the restriction about application types for the change journal entries that the search returns.
| ||||||||||
void |
setAsync(boolean _async)
Sets whether getResults will be asynchronous.
| ||||||||||
void |
setBeginTime(String _beginTime)
Set the begin time value for the change journal entries that the search returns.
| ||||||||||
void |
setBeginTransactionID(String _transactionID)
Set the begin transaction id value for the change journal entries that the search returns.
| ||||||||||
void |
setBlockBegin(int _blockBegin)
Sets the blockBegin value for the objects that the search returns.
| ||||||||||
void |
setBlockCount(int _blockCount)
Sets the blockCount value for the objects that the search returns.
| ||||||||||
void |
setChangeTypes(List<Integer> _changeTypes)
Set the restriction about transaction types for the change journal entries that the search returns.
| ||||||||||
void |
setComments(String[] _comments)
Set the long description of the object as an array of strings.
| ||||||||||
void |
setCreatedModifiedByDate(Date _beginTime, Date _endTime)
Sets the created/modified by date range of the search criteria.
| ||||||||||
void |
setCreatedModifiedByDate(String _beginTime, String _endTime)
Sets the created/modified by date range of the search criteria.
| ||||||||||
void |
setCreatedModifiedByInterval(int _timeInterval, int _intervalUnit)
Sets the interval for the created/modified by time for the search.
| ||||||||||
void | setDataSources(String _dataSources) | ||||||||||
void |
setDescription(String _description)
Sets the description of the object.
| ||||||||||
void |
setDescriptionPattern(String _descriptionPattern)
Sets the description pattern that the search will be limited to.
| ||||||||||
void |
setDisplayName(String _displayName)
This method will set the value of the display name.
| ||||||||||
void |
setDomain(int _domain)
Sets the domain that the search will be limited to.
| ||||||||||
void |
setEndTime(String _endTime)
Set the end time value for the change journal entries that the search returns.
| ||||||||||
void |
setEndTransactionID(String _transactionID)
Set the end transaction id value for the change journal entries that the search returns.
| ||||||||||
void |
setExtendedType(int extendedType)
Set the current extended type
| ||||||||||
void |
setFirstObjectIndex(int _firstObjectIndex)
Sets the index to begin searching from.
| ||||||||||
void |
setFlags(int _flags)
Sets the flags which determine what data to populate upon calling populate.
| ||||||||||
void |
setGettingTreeInfo(boolean gettingTreeInfo)
Sets the setting about whether the search result would include the browsing tree structure or not.
| ||||||||||
void |
setHidden(boolean hid)
Sets whether the object is a hidden object.
| ||||||||||
void |
setIconPath(String iconPath)
Set the icon path for the object
| ||||||||||
void |
setMachines(List<String> _machines)
Set the restriction about machines for the change journal entries that the search returns.
| ||||||||||
void |
setMaxObjects(int _maxObjects)
Sets the maximum number of objects that the search will return.
| ||||||||||
void |
setMaxWait(int millis)
Sets the maximum amount of time, in milliseconds, to wait for a search to finish in synchronous mode.
| ||||||||||
void | setName(String _name) | ||||||||||
void |
setNamePattern(String _namePattern)
Sets the pattern to search for in the name of the objects in metadata.
| ||||||||||
void |
setNonSchedulable(boolean non_schedulable)
Set flag of whether the object is not schedulable
| ||||||||||
void | setOutputType(int _outputType) | ||||||||||
void |
setPollingFrequency(int millis)
Sets the current polling frequency, in milliseconds.
| ||||||||||
void |
setPropertyFlags(int flags)
Set the current property flags
| ||||||||||
void |
setQuickSearch(boolean quickSearch)
Sets the setting about whether the search should be handled by the new quick search engine.
| ||||||||||
void |
setScope(int _scope)
Sets the scope that the search will be limited to.
| ||||||||||
void |
setSearchFields(String searchFields)
Sets the setting for the new quick search engine.
| ||||||||||
void |
setSearchFlags(int _searchFlags)
Sets the search flags for the search.
| ||||||||||
void |
setSearchID(String _searchID)
Sets the search ID, which will be used when getResults is called.
| ||||||||||
void |
setSearchOwner(String _searchOwner)
Sets the value of the owner restriction on the search.
| ||||||||||
void |
setSearchRoot(String _searchRoot)
Sets the root folder that the search will be limited to.
| ||||||||||
void |
setSearchType(int searchType)
Sets the setting for the new quick search engine.
| ||||||||||
void |
setSelected(boolean selected)
Sets the current unit's selection status.
| ||||||||||
void |
setSessions(List<String> _sessions)
Set the restriction about sessions for the change journal entries that the search returns.
| ||||||||||
void |
setStateClear(int _stateClear)
Sets the object states that the search is prohibited from returning.
| ||||||||||
void |
setStateSet(int _stateSet)
Sets the object states that should be returned in the search.
| ||||||||||
void |
setTransactionTypes(List<Integer> _transactionTypes)
Set the restriction about transaction types for the change journal entries that the search returns.
| ||||||||||
void |
setUsers(List<WebObjectInfo> _users)
Set the restriction about users for the change journal entries that the search returns.
| ||||||||||
void |
submit(String newSearchXML)
Submits the given search XML to the Intelligence Server.
| ||||||||||
void |
submit()
Submits the current state of this search object to the Intelligence Server.
| ||||||||||
String | toString() | ||||||||||
SimpleList |
types()
Returns a
SimpleList from which types can be added or removed. | ||||||||||
void |
usedBy(int type)
The resulting objects of the search is used by objects of the specified
type (
EnumDSSXMLObjectTypes ) or subtype (EnumDSSXMLObjectSubTypes ). | ||||||||||
SimpleList |
usedBy()
Returns a
SimpleList which can be used to add or remove objects which
constrain the search to only return objects which are used by the given object(s). | ||||||||||
SimpleList |
uses()
Returns a
SimpleList which can be used to add or remove objects which
constrain the search to only return objects which use the given object(s). | ||||||||||
void |
uses(int type)
The resulting objects of the search uses the specified type (
EnumDSSXMLObjectTypes )
or subtype (EnumDSSXMLObjectSubTypes ). |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | checkAccessFlags(int flags) | ||||||||||
boolean | checkAccessRights(String feature) | ||||||||||
boolean | checkPrivilege(String feature) | ||||||||||
WebOIDOMHandler | createDOMHandler() | ||||||||||
WebOIDisplayXMLHandler | createDisplayXMLHandler() | ||||||||||
WebOISAXParser | createSAXParser() | ||||||||||
WebOIXMLBuilder | createXMLBuilder() | ||||||||||
void | doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer) | ||||||||||
String | getExtParams() | ||||||||||
String | getXMLForSave() | ||||||||||
void | handleOiBody(SAXSupport parser, String local, Attributes attrs) | ||||||||||
void | handleOiEnd(SAXSupport parser, String local, String buf) | ||||||||||
boolean | isBodyDirty() | ||||||||||
boolean |
performIncrFetchLocally()
Returns whether the incremental fetch for objects should be performed locally (on the
web server tier) or not.
| ||||||||||
void | postProcessOi(WebObjectInfoImpl obj, SAXSupport parser, AttributesXt attrs) | ||||||||||
void | saveXMLState(WebXMLBuilder builder, int howMuchState) | ||||||||||
void | saveXMLState(StringBuffer buf, int howMuchState) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
This method will add or remove details from the display unit. Note that this call may generate a call to the Intelligence Server if the details are not already present for the display unit.
details | The desired state of details for the display unit. |
---|
WebObjectsException |
---|
Do the Synchronous Quick Search
WebObjectsException |
---|
Returns the abbreviation of this object.
Gets the abbreviation pattern that the Search object will search for. If this is an empty string, then the search will not be restricted on the objects' abbreviation pattern.
Returns the current access granted on this object, if available. This comes from
the bitwise or(|) of values from EnumDSSXMLAccessRightFlags
.
Returns the access rights of the object being searched for, that the search will be narrowed by. This value
corresponds to those in EnumDSSXMLAccessRightFlags
.
Returns a SimpleList
containing the ancestors of this object, if they exist
in the object XML. If they do not exist in object XML, and this is object has a valid DSSID,
a request will be sent back to Intelligence Server to retrieve the ancestors information.
These objects will be in order from highest ancestor (usually the root folder) to lowest ancestor (the parent folder).
SimpleList
containing the ancestors of the object.UnsupportedOperationException |
---|
Returns the blockBegin value for the objects that the search returns. This is used for incremental fetching of the search results, and tells which item in the search should be the first one of the subset of search results that is to be returned.
The default value of blockBegin is 1, meaning return items starting with the first object found.
Returns the blockCount value for the objects that the search returns. This is used for incremental fetching of the search results, and tells how many items should be returned in the subset of search results that is to be returned.
The default value of blockCount is -1, meaning return all items.
Attempts to get the change journal results of a search from the Intelligence Server. The search ID used will be the one set on this WebChangeJournalSearch object.
WebObjectsException |
---|
Returns the collection of child display units, or null if the object is not a collection. Note that several display units are actually collections of display units as well.
WebObjectsException |
---|
Returns an array of strings, each of which represent a 'comment', that is saved as the long description of the object. These comments can be set programmatically or using MicroStrategy Desktop (Properties editor -> Long description tab) and are separated by a carriage return.
Returns the creation time of this object, if that information is available.
Returns the description of the object.
Returns the description pattern that the search is currently limited to. An empty string denotes that the search will not be limited by the description of the objects.
Returns the display name associated with this object. If this was not set by the user or found in the object XML, then this will be equivalent to the name property of the underlying object.
Returns the type of display unit that this object represents. If this
display unit represents a first-class object, then this method will
return a value from EnumDSSXMLObjectTypes
; otherwise, it will
return a value from EnumWebDependentObjectType
.
EnumDSSXMLObjectTypes
or
EnumWebDependentObjectType
.
Returns the current domain for the search. The domain tells the scope in which the search will be performed.
The default domain is DssXmlSearchDomainProject
.
EnumDSSXMLSearchDomain
.The current extended type
EnumDSSXMLExtendedType
)
Returns the index to begin searching from. By default, this value is 1, meaning search from beginning, but it can be changed by calling setFirstObjectIndex.
Returns the flags which determine what data to populate upon calling populate.
This value is the bitwise or(|) of values from EnumDSSXMLObjectFlags
.
Returns the DSS ID of the object, if one exists.
Return the icon path for the object
Returns the maximum number of objects the search is configured to return. By default, this value is -1, meaning return all objects, but it can be changed by calling setMaxObjects.
Returns the maximum amount of time, in milliseconds, to wait for a search to finish in synchronous mode.
Returns the last modification time of the object, if that information is available.
Returns the name of this object.
the name retrieved with this method is read-only on this interface, comes from the MetaData name
of a first-class object. If you wish to change the name displayed to the screen,
setDisplayName(String)
should be used along with the getDisplayName()
call. Please also note
that while only first-class objects (i.e. WebObjectInfo) has a "name" property, many object types
(WebElements
, and WebDimtyUnit
) can have their respective "names" accessed or changed
on the screen via getDisplayName()
and setDisplayName(String)
.
If you want to change the object's actual metadata name, it can be done via the appropriate
save(WebObjectInfo, String)
or save(WebObjectInfo, String, WebFolder)
calls.
Returns the pattern to search for in the name of the objects in metadata.
Get flag of whether the object is not schedulable
Returns the count of name translations for locales other than the current effective locale.
Returns a WebObjectInfo object which corresponds to the owner of this object.
WebObjectsException |
---|
Returns the parent folder of the current object, if it exists. Note that the WebFolder
object returned will not be automatically populated.
UnsupportedOperationException |
---|
Returns the current polling frequency, in milliseconds. This determines, in synchronous mode, how often the API will poll the Intelligence Server upon calling getResults.
Returns a collection of prompt instances from this prompt site.
Retrieve the current property flags
EnumDSSXMLPropertyXmlFlags
Returns an editable SimpleList
where you can specify the list
of propertySets that the getPropertySets call should be limited to
Note that this filter is not retained in the state. Also, once the filter
is defined and propertySets are retrieved for an instance, there is no way
to retrieve a different set of propertySets
Returns the property sets associated with this object. Note that this will generally only work with a non-embedded (i.e. standalone) object.
WebPropertyGroup
object, which contains the property sets associated
with this object.WebObjectsException |
---|
Attempts to get the results of a search from the Intelligence Server. The search ID used will be the one set on this WebSearch object. If the asynchronous setting is true, then this method will return null and set the status variable if the report is not ready. If asynchronous is false, then this method will poll the Intelligence Server, subject to the parameters maxWait and pollingFrequency.
WebObjectsException |
---|
Returns the current scope for the search.
The default scope is DssXmlSearchScopeRootedObjects
.
EnumDSSXMLSearchScope
.Return current setting of Search Fields
Returns the currently set search flags.
The default value of the search flags is 0.
EnumDSSXMLSearchFlags
.Returns the search ID of the last search submitted by this object, or the last time setSearchID was called.
Returns the value of the search owner restriction on the search, if it is currently set.
Returns the root folder ID that the search is limited to, if applicable.
Return current setting of Search Type
EnumDSSXMLSearchTypes
.
Returns the WebObjectSecurity
object associated with this WebObjectInfo object.
The WebObjectSecurity
interfaces allows viewing and modification of the ACL of
this object, and the ability to take ownership of the object.
WebObjectSecurity
object associated with this WebObjectInfo object.Returns the state of the object. This value comes from EnumDSSXMLObjectState
.
Returns the object states that the search is prohibited from returning. Value comes from the bitwise OR of values
from EnumDSSXMLObjectState
. The default value is 0.
Returns the object states that the search will be limited to. Value comes from the bitwise OR of values
from EnumDSSXMLObjectState
. The default value is 0.
Returns the status of the last getResults call which was made.
EnumDSSXMLObjectSearchStatus
.
Returns the subtype of the object. This will be a value from EnumDSSXMLObjectSubTypes
.
Returns the type of this object. This will be a value from EnumDSSXMLObjectTypes
.
Returns the Version ID of the object, if one exists.
Returns the XML representation of this object. Note that if this object has not been populated, this method will return an XML shell. The encoding parameter will tell whether the XML generated should have special characters HTML encoded.
encode | If this is true, then the returned string will have all special characters HTML-encoded. |
---|
Returns the XML representation of this object. Note that if this object has not been populated, this method will return an XML shell.
Returns whether this display unit currently has details enabled.
Sets this display unit to be highlighted. The details value will determine whether it should include details as well.
details | Whether the highlighted unit should include details. |
---|
WebObjectsException |
---|
Sets this display unit to be highlighted. This call will ensure that details are not present for the highlighted unit.
Returns whether the named folder is this object's ancestor.
folderName | An Enumeration in EnumDSSXMLFolderNames |
---|
WebObjectsException | |
---|---|
UnsupportedOperationException |
Returns whether getResults will be asynchronous. If this is true, then getResults will poll the Intelligence Server once, and return, storing the status in the status property variable (obtainable via getStatus). If this is false, then the API will poll the Intelligence Server, using the polling frequency set by setPollingFrequency, and return only when either the result of the search is available or the max wait time (which can be set by setMaxWait) has been reached, at which point it will return without a result.
Returns whether this object has been modified to be different from the object in metadata. Any changes to this object self or the objects it contains will make this flag to be true. For a modified object, after saving it back to metadata will make this flag to be false.
true
returned when this object has been modified at client side. false
returned when this object is the same as in metadata.Returns whether the given feature is available or not.
feature | The feature to check for, from EnumWebObjectsFeatures . |
---|
Returns whether the given feature is available or not.
feature | The feature to check for, from EnumWebObjectsFeatures . |
---|---|
dependencyObject | A dependency object which can be used as an additional parameter for certain feature types. |
Gets the setting about whether the search result would include the browsing tree structure or not.
Returns whether the object is a hidden object.
Returns whether this unit is highlighted.
Returns whether this object is newly created at client side, which is not in the metadata. For a new object, after saving it back to metadata will turn this flag to false.
true
returned when this is a newly created object at client side. false
returned when this object is persisted in metadata.Returns true if underlying Web Object can be cast to WebObjectInfo
. If
an object can be cast to WebObjectInfo
, then it is a first class object.
WebObjectInfo
.
Returns true if this object has been populated with its' definition from the Intelligence Server, false if it has not been populated.
Gets the setting about whether the search should be handled by the new quick search engine.
Returns whether this display unit is selected.
Gets the setting about whether the search should be handled by the Synchronous quick search engine.
The resulting objects of the search is NOT used by objects of the specified
type (EnumDSSXMLObjectTypes
) or subtype (EnumDSSXMLObjectSubTypes
).
type | specify type (EnumDSSXMLObjectTypes) or subtype (EnumDSSXMLObjectSubTypes). |
---|
The resulting objects of the search does NOT use the specified type (EnumDSSXMLObjectTypes
)
or subtype (EnumDSSXMLObjectSubTypes
).
type | specify type (EnumDSSXMLObjectTypes) or subtype (EnumDSSXMLObjectSubTypes). |
---|
Populates the fields on this object by asking the Intelligence Server for the object definition.
WebObjectsException |
---|
Populates the fields on this object by loading the given object definition XML.
xml | The XML String to use to populate this object. |
---|
WebObjectsException |
---|
Purges the search whose ID is set on this WebSearch object from the Intelligence Server's memory. This will free up resources dedicated to the given search.
WebObjectsException |
---|
Resets all member variables on this object, which causes a reset of the search criteria.
Sets the abbreviation pattern of objects that a search will return.
_abbreviationPattern | Abbreviation pattern to search for. An empty string will ensure that no filtering of the search results is done on the abbreviation pattern. |
---|
This will set the access rights that the search results will be limited by.
_accessRights | The value to search for. This is the bitwise OR of values from EnumDSSXMLAccessRightFlags. |
---|
Set the restriction about affected objects for the change journal entries that the search returns.
Set the restriction about affected projects for the change journal entries that the search returns.
Set the restriction about application types for the change journal entries that the search returns.
Sets whether getResults will be asynchronous. If this is true, then getResults will poll the Intelligence Server once, and return, storing the status in the status property variable (obtainable via getStatus). If this is false, then the API will poll the Intelligence Server, using the polling frequency set by setPollingFrequency, and return only when either the result of the search is available or the max wait time (which can be set by setMaxWait) has been reached, at which point it will return without a result.
_async | The desired setting of [a]synchronous operation. |
---|
Set the begin time value for the change journal entries that the search returns.
Set the begin transaction id value for the change journal entries that the search returns.
Sets the blockBegin value for the objects that the search returns. This is used for incremental fetching of the search results, and tells which item in the search should be the first one of the subset of search results that is to be returned.
_blockBegin | The first element in the result list that should be returned from the search. |
---|
Sets the blockCount value for the objects that the search returns. This is used for incremental fetching of the search results, and tells how many items should be returned in the subset of search results that is to be returned.
_blockCount | The new setting to use for the number of elements, starting from the blockBegin element, to return from the search. This only affects the window of data that is returned by the search - it does not limit the actual number of results from the search. |
---|
Set the restriction about transaction types for the change journal entries that the search returns.
Set the long description of the object as an array of strings. The long description is also known as the comments.
_comments | String array of comments |
---|
Sets the created/modified by date range of the search criteria.
_beginTime | A java.util.Date set to the beginning date of the range. |
---|---|
_endTime | A java.util.Date set to the ending date of the range. |
IllegalArgumentException |
---|
Sets the created/modified by date range of the search criteria.
_beginTime | A string representing the beginning date of the range. |
---|---|
_endTime | A string representing the ending date of the range. |
IllegalArgumentException |
---|
Sets the interval for the created/modified by time for the search. This interval is measured from the time of the search, and the intervalUnit determines what the time unit on timeInterval is.
_timeInterval | The number of intervalUnits from the time of the search to filter the search results with. |
---|---|
_intervalUnit | The unit to use for the search. Comes from EnumDSSXMLSearchUnit. |
Sets the description of the object. The object must be saved by the save or copy methods on the WebObjectSource object to cause a change to this object to be saved.
_description | The description for the object. |
---|
Sets the description pattern that the search will be limited to. An empty string denotes that the search will not be limited by the description of the objects.
_descriptionPattern | The description pattern to use in the search. |
---|
This method will set the value of the display name. This name will be used to identify the object in display XML. Setting this value will have no affect on the actual name of the object.
_displayName | The display name to associate with the object. |
---|
Sets the domain that the search will be limited to. By default, the domain is DssXmlSearchDomainProject
.
_domain | The new value for the domain, coming from the EnumDSSXMLSearchDomain enumeration. |
---|
Set the end time value for the change journal entries that the search returns.
Set the end transaction id value for the change journal entries that the search returns.
Set the current extended type
Sets the index to begin searching from. Default is 1, meaning search from beginning.
_firstObjectIndex | The index to begin searching from. |
---|
Sets the flags which determine what data to populate upon calling populate.
This value should be the bitwise or(|) of values from EnumDSSXMLObjectFlags
.
_flags | The flags value to use for object definition retrieval. |
---|
Sets the setting about whether the search result would include the browsing tree structure or not. When this sets it to true, user would be able to retrieve the search result in a tree structure by calling getChildrenInTree() on the return value from getResults() from this interface.
Sets whether the object is a hidden object. To save the change of this property to metadata,
DssXmlObjectBrowser
flag need to be set on WebObjectSource
before
calling save(WebObjectInfo)
with this object as input parameter.
hid | boolean true to set this object to hidden. |
---|
Set the icon path for the object
Set the restriction about machines for the change journal entries that the search returns.
Sets the maximum number of objects that the search will return. Default is -1, meaning return all objects.
_maxObjects | The maximum number of objects to return from the search. |
---|
Sets the maximum amount of time, in milliseconds, to wait for a search to finish in synchronous mode.
millis | The maximum wait time, in milliseconds. If this value is -1, then getResults will not return unless the search finishes or an error is detected. |
---|
Sets the pattern to search for in the name of the objects in metadata.
_namePattern | The name pattern that will be searched for. |
---|
Set flag of whether the object is not schedulable
Sets the current polling frequency, in milliseconds. This determines, in synchronous mode, how often the API will poll the Intelligence Server upon calling getResults.
millis | The desired polling frequency, in milliseconds. |
---|
Set the current property flags
flags | int binary OR of EnumDSSXMLPropertyXmlFlags
|
---|
Sets the setting about whether the search should be handled by the new quick search engine. When this sets it to true, the search will be handled by the new quick search engine.
Sets the scope that the search will be limited to. By default, scope is DssXmlSearchScopeRootedObjects
.
_scope | domain The new value for the scope, coming from the EnumDSSXMLSearchScope enumeration. |
---|
Sets the setting for the new quick search engine. Search Fields are combination of "name", "description" and "comment" separated by ",". When this is not set, search request will ask engine to use its default value - - Begin With - "name" - Exactly - "name" - Contains Any Word - "name,description,comment"
Sets the search flags for the search.
_searchFlags | A value corresponding to a bitwise OR from the enumeration class EnumDSSXMLSearchFlags. |
---|
Sets the search ID, which will be used when getResults is called.
_searchID | The search ID of a search which is executing or has results waiting on the Intelligence Server. |
---|
Sets the value of the owner restriction on the search.
_searchOwner | The user whose objects the search is limited to. |
---|
Sets the root folder that the search will be limited to. Requires an object ID corresponding to a folder.
_searchRoot | The folder ID of a folder that will be used as the root of the search. |
---|
Sets the setting for the new quick search engine.
Search Types are defined in EnumDSSXMLSearchTypes
When this is not set, search reqeust will be redirected to old searc engine.
Sets the current unit's selection status.
selected | Whether the unit should be set to be selected or not. |
---|
Set the restriction about sessions for the change journal entries that the search returns.
Sets the object states that the search is prohibited from returning.
_stateClear | An int corresponding to the bitwise OR of values from EnumDSSXMLObjectState. These states will not be in the search result set. |
---|
Sets the object states that should be returned in the search.
_stateSet | An int corresponding to the bitwise OR of values from EnumDSSXMLObjectState. Only objects with these states will be in the search result. |
---|
Set the restriction about transaction types for the change journal entries that the search returns.
Set the restriction about users for the change journal entries that the search returns.
Submits the given search XML to the Intelligence Server. This will cause the search ID to be set to the search ID which results from this submission.
newSearchXML | The search XML to be sent to the Intelligence Server. This overrides all properties on this WebSearch object. |
---|
WebObjectsException |
---|
Submits the current state of this search object to the Intelligence Server. This will cause the search ID to be set to the search ID which results from this submission.
WebObjectsException |
---|
Returns a SimpleList
from which types can be added or removed.
Note that the SimpleList
returned can only have java.lang.Integer
objects added to it.
SimpleList
reflecting the types of objects which will be searched for.
The resulting objects of the search is used by objects of the specified
type (EnumDSSXMLObjectTypes
) or subtype (EnumDSSXMLObjectSubTypes
).
type | specify type (EnumDSSXMLObjectTypes) or subtype (EnumDSSXMLObjectSubTypes). |
---|
Returns a SimpleList
which can be used to add or remove objects which
constrain the search to only return objects which are used by the given object(s).
Note that the SimpleList
returned can only have WebObjectInfo
objects
added to it.
SimpleList
reflecting the used-by objects which will constrain the
search.
Returns a SimpleList
which can be used to add or remove objects which
constrain the search to only return objects which use the given object(s).
Note that the SimpleList
returned can only have WebObjectInfo
objects
added to it.
SimpleList
reflecting the uses objects which will constrain the
search.
The resulting objects of the search uses the specified type (EnumDSSXMLObjectTypes
)
or subtype (EnumDSSXMLObjectSubTypes
).
type | specify type (EnumDSSXMLObjectTypes) or subtype (EnumDSSXMLObjectSubTypes). |
---|
Returns whether the incremental fetch for objects should be performed locally (on the web server tier) or not.
SAXException |
---|