com.netgrif.application.engine.workflow.web.responsebodies.CountResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.workflow.web.responsebodies;
import lombok.Data;
@Data
public class CountResponse {
private long count;
private String entity;
public CountResponse() {
}
public CountResponse(long count, String entity) {
this.count = count;
this.entity = entity;
}
public static CountResponse caseCount(long count) {
return new CountResponse(count, "case");
}
public static CountResponse taskCount(long count) {
return new CountResponse(count, "task");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy