|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.actionprovider.util.relational.HttpRelationalActionUtil
public class HttpRelationalActionUtil
| Field Summary | |
|---|---|
static java.lang.String |
EDIT_URL_TEMPLATE
Default url pattern to be used with edit actions. |
static java.lang.String |
EDIT_URL_TEMPLATE_PPR
Default url pattern to be used with edit actions. |
static java.lang.String |
ROW_EDIT_URL_TEMPLATE
Default url pattern to be used with edit actions. |
static java.lang.String |
ROW_EDIT_URL_TEMPLATE_FOR_DELETE
Default url pattern to be used with edit actions. |
static java.lang.String |
ROW_EDIT_URL_TEMPLATE_FOR_DELETE_PPR
Default url pattern to be used with edit actions. |
static java.lang.String |
ROW_EDIT_URL_TEMPLATE_PPR
Default url pattern to be used with edit actions. |
| Fields inherited from interface com.sas.actionprovider.support.tableview.TableViewAreaInterface |
|---|
COLUMN_HEADER_AREA, DATA_CELL_AREA, EDIT_COLUMN_AREA, EDIT_ROW_AREA, ROW_HEADER_AREA, TITLE_AREA |
| Fields inherited from interface com.sas.actionprovider.util.DynamicValueKeys |
|---|
AREA_VALUE, AREA_VALUE_ATTRKEY, VIEWER, VIEWER_COMPONENT |
| Fields inherited from interface com.sas.actionprovider.ActionStatusKeysInterface |
|---|
AREA_DISABLED, DISABLED, ENABLED, IS_CURRENT_STATE_DISABLED, MODEL_MEMBER_DISABLED, MODEL_STATE_DISABLED, MODEL_TYPE_DISABLED, UNSUPPORTED, VIEWER_DISABLED |
| Constructor Summary | |
|---|---|
HttpRelationalActionUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
getAreaValue(ActionSupportFilter filter)
|
java.lang.Object |
getColumnHeaderShortDescription(ActionSupportFilter filter)
This will return back the column header description based on what popUp menu launch event has been registered against the viewer. |
int |
getCommitDeleteStatus(ActionSupportFilter filter,
int currentStatus,
BaseAction action)
|
java.lang.Object |
getCustomAttributeValue(java.lang.String attributeName,
ActionSupportFilter filter)
|
int |
getSortAscendingActionStatus(ActionSupportFilter filter,
int currentStatus)
|
java.lang.Object |
getSortAscendingImage(ActionSupportFilter filter)
|
int |
getSortDescendingActionStatus(ActionSupportFilter filter,
int currentStatus)
|
java.lang.Object |
getSortDescendingImage(ActionSupportFilter filter)
|
int |
getViewerDisabledIfEditDisabledOrNotSortable(ActionSupportFilter filter,
int currentStatus)
|
int |
getViewerDisabledIfSingleRowEditEnabled(ActionSupportFilter filter,
int currentStatus)
|
static int |
validateColumnHeaderArea(TableViewActionSupportFilter filter)
Validates if the current area, as specified via various attributes on the filter, matches any of the ColumnHeaderArea objects on the filter's validAreaValues list. |
static int |
validateDataCellArea(TableViewActionSupportFilter filter)
Validates if the current area, as specified via various attributes on the filter, matches any of the DataCellArea objects on the filter's validAreaValues list. |
| Methods inherited from class com.sas.actionprovider.util.relational.RelationalActionUtil |
|---|
getHeldColumn, getHeldColumnIndex, getHeldRow, getHeldRowIndex, getHiddenColumn, getHiddenColumnIndex, getSelectedHeldColumn, getSelectedHeldColumnIndex, getSelectedHeldRow, getSelectedHeldRowIndex, getViewerDisabledIfEditDisabled, getViewerDisabledIfEditEnabled, getViewerDisabledIfHeldColumn, getViewerDisabledIfRowOrColumnMax, getViewerDisabledIfUncommittedRow |
| Field Detail |
|---|
public static final java.lang.String EDIT_URL_TEMPLATE
Default url pattern to be used with edit actions.
public static final java.lang.String EDIT_URL_TEMPLATE_PPR
Default url pattern to be used with edit actions.
public static final java.lang.String ROW_EDIT_URL_TEMPLATE_FOR_DELETE
Default url pattern to be used with edit actions.
public static final java.lang.String ROW_EDIT_URL_TEMPLATE_FOR_DELETE_PPR
Default url pattern to be used with edit actions.
public static final java.lang.String ROW_EDIT_URL_TEMPLATE
Default url pattern to be used with edit actions.
public static final java.lang.String ROW_EDIT_URL_TEMPLATE_PPR
Default url pattern to be used with edit actions.
| Constructor Detail |
|---|
public HttpRelationalActionUtil()
| Method Detail |
|---|
public static java.lang.Object getAreaValue(ActionSupportFilter filter)
public java.lang.Object getCustomAttributeValue(java.lang.String attributeName,
ActionSupportFilter filter)
getCustomAttributeValue in class RelationalActionUtilpublic java.lang.Object getColumnHeaderShortDescription(ActionSupportFilter filter)
public java.lang.Object getSortAscendingImage(ActionSupportFilter filter)
public java.lang.Object getSortDescendingImage(ActionSupportFilter filter)
public int getViewerDisabledIfEditDisabledOrNotSortable(ActionSupportFilter filter,
int currentStatus)
public int getViewerDisabledIfSingleRowEditEnabled(ActionSupportFilter filter,
int currentStatus)
public int getCommitDeleteStatus(ActionSupportFilter filter,
int currentStatus,
BaseAction action)
public int getSortAscendingActionStatus(ActionSupportFilter filter,
int currentStatus)
public int getSortDescendingActionStatus(ActionSupportFilter filter,
int currentStatus)
public static int validateColumnHeaderArea(TableViewActionSupportFilter filter)
filter - The object that holds the current area specification as
well as the list of valid ColumnHeaderArea objects for which an Action
is registered.
public static int validateDataCellArea(TableViewActionSupportFilter filter)
filter - The object that holds the current area specification as
well as the list of valid DataCellArea objects for which an Action
is registered.
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||