org.nakedobjects.example.expenses.claims.ClaimRepository Maven / Gradle / Ivy
The newest version!
package org.nakedobjects.example.expenses.claims;
import java.util.List;
import org.nakedobjects.example.expenses.employee.Employee;
public interface ClaimRepository {
final static int MAX_CLAIMS = 20;
final static int MAX_ITEMS = 10;
List findClaims(
final Employee employee,
final ClaimStatus status,
final String description);
List findRecentClaims(final Employee employee);
boolean descriptionIsUniqueForClaimant(final Employee employee, final String initialDescription);
List findExpenseItemsLike(final ExpenseItem item);
List findClaimsAwaitingApprovalBy(Employee approver);
ClaimStatus findClaimStatus(String title);
ExpenseItemStatus findExpenseItemStatus(String title);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy