|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface EditNavigationInterface
Defines an interface for editing a TransformationBean. Defines the interface to be implemented by a TranformationBean which will use a NavigationBarEditingElement to navigate and edit the TranformationBean's model.
| Method Summary | |
|---|---|
void |
cancel()
Cancel any changes. |
void |
commit()
Commit any changes. |
void |
delete(int row)
Delete the given row. |
int |
getCurrentRow()
Returns the current row being rendered. |
void |
insert(int row)
Insert a row before the given row. |
boolean |
isAutoCommit()
Determines whether changed values are committed automatically or the user is prompted to commit the changes. |
boolean |
isCancelSupported()
Determines whether canceling a change is supported. |
boolean |
isCommitSupported()
Determines whether commiting values is supported. |
boolean |
isDeleteSupported()
Determines whether deleting a row is supported. |
boolean |
isInsertSupported()
Determines whether inserting a row is supported. |
boolean |
isPromptOnDelete()
Determines whether to prompt the user when deleting a row. |
boolean |
isUpdateSupported()
Determines whether updating a row is supported. |
void |
setRowsToDelete(java.util.Map rows)
Sets the map containing the name/value pairs of the rows selected for deletion. |
void |
setUncommittedValues(java.util.Map values)
Sets the map containing the name/value pairs of the editable fields that have changed and need to be committed. |
void |
update(int row)
Changes the given row from browse mode to edit mode. |
| Methods inherited from interface com.sas.actionprovider.URLTemplateViewInterface |
|---|
getURLTemplate, setURLTemplate |
| Method Detail |
|---|
boolean isInsertSupported()
insert(int)boolean isCommitSupported()
commit()boolean isDeleteSupported()
delete(int)boolean isCancelSupported()
cancel()boolean isUpdateSupported()
update(int)boolean isAutoCommit()
boolean isPromptOnDelete()
void delete(int row)
row - the row to delete
java.lang.UnsupportedOperationException - Thrown if
isDeleteSupported() returns falseisDeleteSupported()void insert(int row)
row - the row to insert before
java.lang.UnsupportedOperationException - Thrown if
isInsertSupported() returns falseisInsertSupported()void cancel()
java.lang.UnsupportedOperationException - Thrown if
isCancelSupported() returns falseisCancelSupported()void commit()
java.lang.UnsupportedOperationException - Thrown if
isCommitSupported() returns falseisCommitSupported()void update(int row)
row - the row to update
java.lang.UnsupportedOperationException - Thrown if
isUpdateSupported() returns falseisUpdateSupported()int getCurrentRow()
void setUncommittedValues(java.util.Map values)
values - the map containing the name/value pairs of the editable
fields that need to be committedvoid setRowsToDelete(java.util.Map rows)
values - the map containing the name/value pairs of the selected
rows to be deleted
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||