com.microstrategy.web.app.beans.DerivedElementsEditorBean |
This bean supports editing a collection of Derived Elements belonging to a given template attribute.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
acceptElementChanges()
Generate deltas for all changes in the current derived element
| ||||||||||
abstract WebDerivedElement |
addElement(int type)
Adds a new Derived Alement
| ||||||||||
abstract void |
applyChanges()
Applies accumulated changes
| ||||||||||
abstract void | cancellChanges() | ||||||||||
abstract void |
convertToLocalElements()
Converts stand-alone derived elements to local derived elements.
| ||||||||||
abstract WebAttribute |
getAttribute()
Returns attribute Derived Elements belong to.
| ||||||||||
abstract DerivedElementsBrowserBean | getBrowserBean() | ||||||||||
abstract WebDerivedElement |
getCurrentElement()
Returns current Derived Element
| ||||||||||
abstract DerivedElementBean |
getCurrentElementBean()
Returns a bean representing current element
| ||||||||||
abstract WebDerivedElements | getDerivedElements() | ||||||||||
abstract KeyedList |
getElementList()
Returns Derived Elements collection
| ||||||||||
abstract AppComponent |
getFormatEditor()
Returns format editor bean that can be used to edit the current derived element formats
| ||||||||||
abstract String |
getLinkedObjectName()
Returns name of linked derived elements
| ||||||||||
abstract int | getSourceMode() | ||||||||||
abstract String |
getUnitId()
Returns template unit ID
| ||||||||||
abstract WebBeanError |
getValidationErrorInfo()
Returns validation error info.
| ||||||||||
abstract boolean | hasElementChanged() | ||||||||||
abstract void |
importElements(String deId)
Adds a reference to the stand alone derived element to template attribute.
| ||||||||||
abstract boolean | isEditable() | ||||||||||
abstract boolean | isForSort() | ||||||||||
abstract boolean |
isModified()
Returns whether or not current derived elements is modified
| ||||||||||
abstract int |
move(String deId, int offset)
Moves specified Derived Element by specified offset
| ||||||||||
abstract void |
open(String attId)
Opens the editor to edit derived elements of the specified template attribute
| ||||||||||
abstract WebDerivedElement |
remove(String deId)
Removes specified Derived Element
| ||||||||||
abstract void |
removeAll()
Removes all Derived Elements.
| ||||||||||
abstract void |
saveElements(String name, String description, String folderId, boolean overwrite)
Save template attribute's local derived elements as a stand alone object.
| ||||||||||
abstract void |
setAttributeId(String value)
Sets template unit ID
| ||||||||||
abstract void |
setCurrentElement(String id)
Sets the current Derived Element
| ||||||||||
abstract void | setForSort(boolean value) | ||||||||||
abstract void | setForSortStr(String value) | ||||||||||
abstract void |
setModified(boolean isModified)
Sets the modified status of current derived elements
| ||||||||||
abstract void |
setValidationErrorInfo(WebBeanError err)
Sets validation error info.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Generate deltas for all changes in the current derived element
Adds a new Derived Alement
type | element type |
---|
WebException | |
WebObjectsException | |
WebException |
Applies accumulated changes
WebBeanException | |
WebObjectsException | |
WebBeanException |
Converts stand-alone derived elements to local derived elements.
WebBeanException |
---|
Returns attribute Derived Elements belong to.
Returns current Derived Element
Returns a bean representing current element
Returns Derived Elements collection
Returns format editor bean that can be used to edit the current derived element formats
Returns name of linked derived elements
Returns template unit ID
Returns validation error info.
Adds a reference to the stand alone derived element to template attribute. If the template attribute had another stand alone or local derived elements all of them will be removed.
deId | DSS ID of the stand alone derived element. |
---|
WebBeanException |
---|
Returns whether or not current derived elements is modified
Moves specified Derived Element by specified offset
deId | element ID |
---|---|
offset | offset |
Opens the editor to edit derived elements of the specified template attribute
attId | DSS ID of the template attribute |
---|
WebObjectsException | |
---|---|
WebException | |
IllegalArgumentException |
Removes specified Derived Element
deId | element ID |
---|
Save template attribute's local derived elements as a stand alone object. It also replaces local derived elements with the reference to the saved stand alone object.
name | - name of saved object |
---|---|
description | - object description |
folderId | - DSS ID of the folder where the object shall be saved |
overwrite | - indicates whether the saave operation can overwrite existing object with the same name |
WebBeanException |
---|
Sets template unit ID
value | unit ID |
---|
Sets the current Derived Element
id | Derived Element ID |
---|
Sets the modified status of current derived elements
Sets validation error info.
err | error info. |
---|