IISCaseberryLoggingObjectsApplicationLogLController Class
Extends ListFormController
Module: ember-flexberry
Application log list form controller.
Item Index
Methods
Methods
_getNextSortDirection
(
String
private
-
currentDirection
Get next sorting direction.
Parameters:
-
currentDirection
StringCurrent sorting direction.
Returns:
String:
Sorting direction.
actions.addColumnToSorting
(
-
column
-
sortPath
Add column into end list sorting.
actions.sortByColumn
(
-
column
-
sortPath
Sorting list by column.
getCellComponent
(
Object
-
attr
-
bindingPath
-
modelClass
Method to get type and attributes of component, which will be embeded in object-list-view cell.
Parameters:
Returns:
Object:
Object containing name & properties of component, which will be used to render current table cell
({ componentName: 'my-component', componentProperties: { ... } }).
getCellComponent.
(
Object
-
attr
-
bindingPath
-
modelClass
Method to get type and attributes of a component, which will be embeded in object-list-view cell.
Parameters:
Returns:
Object:
Object containing name & properties of component, which will be used to render current table cell. { componentName: 'my-component', componentProperties: { ... } }.
onDeleteActionFulfilled.
()
This method will be invoked when delete operation successfully completed.
Override this method to add some custom logic on delete operation success.
Example:
onDeleteActionFulfilled() {
alert('Delete operation succeed!');
}
onDeleteActionRejected.
(
-
errorData
This method will be invoked when delete operation completed, but failed.
Override this method to add some custom logic on delete operation fail.
Parameters:
-
errorData
ObjectData about delete operation fail.
Example:
onDeleteActionRejected() {
alert('Delete operation failed!');
}
onDeleteActionStarted.
()
This method will be invoked before delete operation will be called.
Override this method to add custom logic on delete operation start.
Example:
onDeleteActionStarted() {
alert('Delete operation started!');
}
onSaveActionAlways.
(
-
data
This method will be invoked always when delete operation completed,
regardless of save promise's state (was it fulfilled or rejected).
Override this method to add some custom logic on delete operation completion.
Parameters:
-
data
ObjectData about completed save operation.
Example:
onDeleteActionAlways(data) {
alert('Delete operation completed!');
}
Properties
editFormRoute
String
Name of related edit form route.
Default: 'i-i-s-caseberry-logging-objects-application-log-e'
lookupController
Ember.InjectedProperty
Controller to show colsconfig modal window.
Default: controller('colsconfig-dialog')
queryParams
Array
Defines which query parameters the controller accepts.
[More info](https://emberjs.com/api/ember/release/classes/Controller#property_queryParams).
Default: ['sort']