Package ch.aaap.harvestclient.impl
Class ProjectAssignmentsApiImpl
Object
ch.aaap.harvestclient.impl.ProjectAssignmentsApiImpl
- All Implemented Interfaces:
ProjectAssignmentsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList Project Assignment for a User, sorted by creation date, newest first, optionally filtered by updatedSince.List Project Assignment for a User, sorted by creation date, newest first, optionally filtered by updatedSince.listSelf()listSelf(int page, int perPage) Return a list of all ProjectAssignment for the current user.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.aaap.harvestclient.api.ProjectAssignmentsApi
list
-
Constructor Details
-
ProjectAssignmentsApiImpl
-
-
Method Details
-
list
Description copied from interface:ProjectAssignmentsApiList Project Assignment for a User, sorted by creation date, newest first, optionally filtered by updatedSince.- Specified by:
listin interfaceProjectAssignmentsApi- Parameters:
userReference- which user to get the ProjectAssignment forupdatedSince- If set, return only assignments that have been updated this point in time. If null, no filtering takes place- Returns:
- a List of ProjectAssignment for the user, filtered accordingly
-
list
public Pagination<ProjectAssignment> list(Reference<User> userReference, Instant updatedSince, int page, int perPage) Description copied from interface:ProjectAssignmentsApiList Project Assignment for a User, sorted by creation date, newest first, optionally filtered by updatedSince. Page and perPage allow controlling how many results to return.- Specified by:
listin interfaceProjectAssignmentsApi- Parameters:
userReference- which user to get the ProjectAssignment forupdatedSince- If set, return only assignments that have been updated this point in time. If null, no filtering takes placepage- the page numberperPage- how many results to return for one page. Max 100- Returns:
- a List of ProjectAssignment for the user, filtered accordingly
-
listSelf
- Specified by:
listSelfin interfaceProjectAssignmentsApi- Returns:
- a list of all ProjectAssignment for the current user.
-
listSelf
Description copied from interface:ProjectAssignmentsApiReturn a list of all ProjectAssignment for the current user. Page and perPage allow controlling how many results to return.- Specified by:
listSelfin interfaceProjectAssignmentsApi- Parameters:
page- the page numberperPage- how many results to return for one page. Max 100- Returns:
- a list of all ProjectAssignment for the current user.
-