Maurizio Vitale ecd7c85de5 [ADF-2854] Fix demoshell task/process filter and routing (#3360)
* Fix demoshell task/process filter and routing

* Use the correct js api model

* Fix unit test
2018-05-23 13:14:27 +01:00

1.6 KiB

Added, Status
Added Status
v2.0.0 Active

Filter model

Contains classes related to filters in Process Services.

Details

You can find more information about the usage of these classes in the APS Rest API docs and in various ADF docs (see the See Also section for links).

class AppDefinitionRepresentationModel {
    defaultAppId: string;
    deploymentId: string;
    name: string;
    description: string;
    theme: string;
    icon: string;
    id: number;
    modelId: number;
    tenantId: number;
}

class FilterParamsModel {
    id: number;
    name: string;
    index: number;
}

class FilterRepresentationModel implements UserTaskFilterRepresentation {
    id: number;
    appId: number;
    name: string;
    recent: boolean;
    icon: string;
    filter: FilterParamRepresentationModel;
    index: number;
}

class FilterParamRepresentationModel {
    processDefinitionId: string;
    processDefinitionKey: string;
    name: string;
    state: string;
    sort: string;
    assignment: string;
    dueAfter: Date;
    dueBefore: Date;
}

class TaskQueryRequestRepresentationModel implements TaskQueryRequestRepresentation {
    appDefinitionId: string;
    processInstanceId: string;
    processDefinitionId: string;
    text: string;
    assignment: string;
    state: string;
    start: string;
    sort: string;
    page: number;
    size: number;
}

See also