public interface IResourceController extends IController
IWorkflowInstance
,
ILinkedResource
Modifier and Type | Field and Description |
---|---|
static int |
BOTTOM_CONTAINER
The identifier of the bottom container.
|
static int |
TOP_CONTAINER
The identifier of the top container.
|
Modifier and Type | Method and Description |
---|---|
void |
alert(String message)
Allows to display an alert box.
|
void |
alert(String message,
com.axemble.vdp.ui.framework.components.listeners.AlertBoxListener listener)
Allows to display an alert box and get notified on the CLICK event.
|
void |
confirm(String message,
com.axemble.vdp.ui.framework.components.listeners.ConfirmBoxListener listener)
Allows to display a confirm box and interact with OK, CANCEL events.
|
void |
execute(com.axemble.vdp.ui.framework.widgets.CtlButton button)
Executes the button as if that was the logged on user.
|
String |
getAccessKey(String propertyName)
Gets the access key.
|
com.axemble.vdp.ui.framework.widgets.CtlButton |
getBottomButton(String buttonName)
Gets a button from the bottom container.
|
com.axemble.vdp.ui.framework.widgets.CtlButton |
getButton(String buttonName,
int container)
Gets a button from the specified container.
|
com.axemble.vdp.ui.framework.runtime.NamedContainer |
getButtonContainer(int container)
Gets a button container by selecting either the top or bottom container.
|
com.axemble.vdp.ui.framework.foundation.Widget |
getDefaultWidget(String propertyName)
Gets the first writable field.
|
int |
getTabIndex(String propertyName)
Gets the tab index.
|
com.axemble.vdp.ui.framework.widgets.CtlButton |
getTopButton(String buttonName)
Gets a button from the top container.
|
void |
inform(String propertyName,
String message)
Allow to set a message underneath the field widget.
|
void |
inform(String fragmentName,
String propertyName,
String message)
Allow to set a message underneath the field widget in a specified fragment.
|
boolean |
isAllEditable(String fragmentName,
String propertyName)
Checks if all specified fields are editable in a specified fragment.
|
boolean |
isAllHidden(String fragmentName,
String propertyName)
Checks if all specified fields are hidden in a specified fragment.
|
boolean |
isAllMandatory(String fragmentName,
String propertyName)
Checks if all specified fields are mandatory in a specified fragment.
|
boolean |
isEditable(String propertyName)
Checks if a specified field is writable.
|
boolean |
isHidden(String propertyName)
Checks if a specified field is hidden.
|
boolean |
isMandatory(String propertyName)
Checks if a specified field is mandatory.
|
void |
popup(String url)
Allows to open a child window (as a popup window).
|
void |
popup(String url,
String parameters)
Allows to open a child window (as a popup window) and specify the window.open parameters.
|
void |
setAccessKey(String propertyName,
String accessKey)
Sets the access key of the field.
|
void |
setDocumentInformation(String newInformation)
Sets the process document information message.
|
void |
setDocumentTitle(String newTitle)
Sets the process document title.
|
void |
setEditable(String propertyName,
boolean editable)
Sets to writable a specified field.
|
void |
setEditable(String fragmentName,
String propertyName,
boolean editable)
Sets to writable a specified field in a fragment.
|
void |
setHidden(String propertyName,
boolean hidden)
Hide a specified field.
|
void |
setHidden(String fragmentName,
String propertyName,
boolean hidden)
Hide a specified field in a specified fragment.
|
void |
setHtml(String id,
String content)
Allows to fill an tag with HTML content.
|
void |
setMandatory(String propertyName,
boolean mandatory)
Set to mandatory a specified field.
|
void |
setMandatory(String fragmentName,
String propertyName,
boolean mandatory)
Set to mandatory a specified field in a fragment.
|
void |
setTabIndex(String propertyName,
int tabIndex)
Sets the tab index of the field.
|
void |
setThrowEvents(String propertyName,
boolean throwEvents)
Allow the field to post-back to the server.
|
void |
setThrowEvents(String fragment,
String propertyName,
boolean throwEvents)
Allow the field in a specified fragment to post-back to the server.
|
void |
showBackToParentButton(boolean show)
Allows to hide or display the back to parent button.
|
void |
showBodyBlock(String marker,
boolean show)
Allows to hide or display a specified element by its marker within the body.
|
void |
showHeaderBlock(String marker,
boolean show)
Allows to hide or display a specified element by its marker within the header.
|
void |
showHeaderSection(boolean show)
Allows to hide or display the header section.
|
void |
showHelpButton(boolean show)
Allows to hide or display the main help section.
|
void |
showHistorySection(boolean show)
Allows to hide or display the history section.
|
void |
showPrintButton(boolean show)
Allows to hide or display the print button.
|
static final int TOP_CONTAINER
static final int BOTTOM_CONTAINER
com.axemble.vdp.ui.framework.widgets.CtlButton getTopButton(String buttonName)
buttonName
- the system name of the button.CtlButton
object.com.axemble.vdp.ui.framework.widgets.CtlButton getBottomButton(String buttonName)
buttonName
- the system name of the button.CtlButton
object.com.axemble.vdp.ui.framework.widgets.CtlButton getButton(String buttonName, int container)
buttonName
- the system name of the button.container
- either one of the following values :
CtlButton
object.com.axemble.vdp.ui.framework.runtime.NamedContainer getButtonContainer(int container)
container
- either one of the following values :
NamedContainer
object.void execute(com.axemble.vdp.ui.framework.widgets.CtlButton button)
button
- the CtlButton
object.void setMandatory(String propertyName, boolean mandatory)
propertyName
- the system name of the field.mandatory
- true or false.void setMandatory(String fragmentName, String propertyName, boolean mandatory)
fragmentName
- the system name of the fragmentpropertyName
- the system name of the field.mandatory
- true or false.boolean isMandatory(String propertyName)
propertyName
- the system name of the field.boolean isAllMandatory(String fragmentName, String propertyName)
fragmentName
- propertyName
- the system name of the field.void setHidden(String propertyName, boolean hidden)
propertyName
- the system name of the field.hidden
- void setHidden(String fragmentName, String propertyName, boolean hidden)
fragmentName
- the system name of the fragmentpropertyName
- the system name of the field.hidden
- boolean isHidden(String propertyName)
propertyName
- the system name of the field.boolean isAllHidden(String fragmentName, String propertyName)
fragmentName
- propertyName
- the system name of the field.void setEditable(String propertyName, boolean editable)
propertyName
- the system name of the field.editable
- void setEditable(String fragmentName, String propertyName, boolean editable)
fragmentName
- the system name of the fragmentpropertyName
- the system name of the field.editable
- boolean isEditable(String propertyName)
propertyName
- boolean isAllEditable(String fragmentName, String propertyName)
fragmentName
- propertyName
- the system name of the field.void setThrowEvents(String propertyName, boolean throwEvents)
propertyName
- the system name of the field.throwEvents
- true or false.void setThrowEvents(String fragment, String propertyName, boolean throwEvents)
fragment
- the system name of the fragmentpropertyName
- the system name of the field.throwEvents
- true or false.void inform(String propertyName, String message)
propertyName
- the system name of the field.message
- the message to display.void inform(String fragmentName, String propertyName, String message)
fragmentName
- the system name of the fragmentpropertyName
- the system name of the field.message
- the message to display.int getTabIndex(String propertyName)
propertyName
- the system name of the field.void setTabIndex(String propertyName, int tabIndex)
propertyName
- the system name of the field.tabIndex
- the index of the tab to set.String getAccessKey(String propertyName)
propertyName
- the system name of the field.String
object.void setAccessKey(String propertyName, String accessKey)
propertyName
- the system name of the field.accessKey
- the access key to set.com.axemble.vdp.ui.framework.foundation.Widget getDefaultWidget(String propertyName)
propertyName
- the system name of the field.Widget
object.void showHeaderBlock(String marker, boolean show)
marker
- the system name of the marker.show
- true or false.void showBodyBlock(String marker, boolean show)
marker
- the system name of the marker.show
- true or false.void showHeaderSection(boolean show)
show
- true or false.void showHistorySection(boolean show)
show
- true or false.void setDocumentTitle(String newTitle)
newTitle
- The new title to set.void setDocumentInformation(String newInformation)
newInformation
- The new information message to set.void showHelpButton(boolean show)
show
- true or false.void showPrintButton(boolean show)
show
- true or false.void showBackToParentButton(boolean show)
show
- true or false.void alert(String message)
message
- The message to display.void alert(String message, com.axemble.vdp.ui.framework.components.listeners.AlertBoxListener listener)
message
- The message to display.listener
- The listener object to handle events.void confirm(String message, com.axemble.vdp.ui.framework.components.listeners.ConfirmBoxListener listener)
message
- The message to display.listener
- The listener object to handle events.void popup(String url)
url
- The url to load.void popup(String url, String parameters)
url
- The url to load.parameters
- The parameters of the window.open() method. Example : "800 ,600, 1, 1, 1, 0".Copyright © 2022 Visiativ. All rights reserved.