com.microstrategy.web.beans.FolderBean |
This interface along with its super interface ObjectBean
supports the concept of object browsing. It specializes the
ObjectBean
in the following ways:
WebFolder
interface. To walk through the list of
child nodes in a folder, the transform code may operate directly on the
org.w3c.dom.Document
or use the WebFolder
interface.
getTypeRestrictions()
method returns a SimpleList
collection interface that allows the caller to specify a set of object
types.
This interface also allows users to carry out search on objects. The default
setting on the WebSearch
object is in synchronized mode. The search
result could be acquired through the method call
getFolderObject
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
cancelRequest()
Cancels the current search request.
| ||||||||||
abstract boolean |
getDereferenceShortcuts()
This method returns false if Shortcut objects are not to be dereferenced.
| ||||||||||
abstract WebObjectFilter | getFilter() | ||||||||||
abstract WebFolder |
getFolderObject()
Returns a
WebFolder object representing this bean. | ||||||||||
abstract WebSearch | getSearchObject() | ||||||||||
abstract int |
getSysFolder()
Returns the system folder name as defined in
EnumDSSXMLFolderNames . | ||||||||||
abstract SimpleList |
getTypeRestrictions()
Returns a collection of object types (
EnumDSSXMLObjectTypes ). | ||||||||||
abstract boolean |
isSearchDefined()
Returns true if the search object was previously created using
getSearchObject() call
This method is useful when the intention is to just check for the existense of a search object
without actually forcing the creation of one. | ||||||||||
abstract void |
setDereferenceShortcuts(boolean dereferenceShortcuts)
This method sets the flag for whether to dereference shortcuts.
| ||||||||||
abstract void | setFilter(WebObjectFilter value) | ||||||||||
abstract void |
setIgnoreAccessDenialError(boolean ignoreAccessDenialError)
aggregationByValue
| ||||||||||
abstract void |
setSysFolder(int sysFolder)
Sets a new system folder name on this folder.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Cancels the current search request. This call purges the search object if possible.
This method returns false if Shortcut objects are not to be dereferenced. Or else, it returns true if shortcuts are dereferenced (i.e. converted to their targets). If not set, the default value is false.
Returns a WebFolder
object representing this bean. The contents
of the folder are restricted by a SimpleList
collection returned
from the method getTypeRestrictions
.
WebFolder
representing this bean.WebBeanException | thrown if error occurs while retrieving the folder contents. |
---|
Returns the system folder name as defined in
EnumDSSXMLFolderNames
. If this folder is not a predefined system
folder, returns 0.
WebBeanException | thrown if the system folder name can not be retrieved. |
---|
Returns a collection of object types (EnumDSSXMLObjectTypes
).
The elements in the collection is non-repeating. This collection
restricts the folder bean content to contain only those objects whose
types are contained in the collection.
With respect to Shortcut objects, a shortcut is included in the output if the shortcut's target object meets the type restrictions specified here.
SimpleList
, containing a restricted collection
of object types.
Returns true if the search object was previously created using getSearchObject()
call
This method is useful when the intention is to just check for the existense of a search object
without actually forcing the creation of one.
This method sets the flag for whether to dereference shortcuts. Set the dereferenceShortcuts argument to be true, and shortcuts in the folder will be dereferenced. Or else, shortcuts in the folder will not be dereferenced.
aggregationByValue
Sets a new system folder name on this folder. System folder names are
defined in EnumDSSXMLFolderNames
and can uniquely identify
a WebFolder
object in a project.
sysFolder | a new system folder name. |
---|