fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/user/UserNotificationClient.java
public List<UserNotification> getAllByUserAndDateBetween(
			User userParam,
			int queryLimitParam,
			int offsetParam,
			Date fromDateParam,
			Date toDateParam
	) {
		if(this.serviceTicket != null && userParam != null) {
			userParam.setServiceTicket(this.serviceTicket);
		}

		long fromDate =
				(fromDateParam == null) ?
						System.currentTimeMillis() - TimeUnit.DAYS.toMillis(7)
						: fromDateParam.getTime();
		long toDate =
				(toDateParam == null) ?
						System.currentTimeMillis() : toDateParam.getTime();

		try {
			return new UserNotificationListing(this.postJson(
					userParam,
					WS.Path.UserNotification.Version1.getAllByUserAndDate(
							queryLimitParam,
							offsetParam,
							fromDate,
							toDate
					))).getListing();
		} catch (JSONException jsonExcept) {
			//rethrow as a Fluid Client exception.
			throw new FluidClientException(jsonExcept.getMessage(),
					FluidClientException.ErrorCode.JSON_PARSING);
		}
	}
public List<UserNotification> getAllByUserAndDateBetween(
			User userParam,
			int queryLimitParam,
			int offsetParam,
			Date fromDateParam,
			Date toDateParam
	) {
		if(this.serviceTicket != null && userParam != null) {
			userParam.setServiceTicket(this.serviceTicket);
		}

		long fromDate =
				(fromDateParam == null) ?
						System.currentTimeMillis() - TimeUnit.DAYS.toMillis(7)
						: fromDateParam.getTime();
		long toDate =
				(toDateParam == null) ?
						System.currentTimeMillis() : toDateParam.getTime();

		try {
			return new UserNotificationListing(this.postJson(
					userParam,
					WS.Path.UserNotification.Version1.getAllByUserAndDate(
							queryLimitParam,
							offsetParam,
							fromDate,
							toDate
					))).getListing();
		} catch (JSONException jsonExcept) {
			//rethrow as a Fluid Client exception.
			throw new FluidClientException(jsonExcept.getMessage(),
					FluidClientException.ErrorCode.JSON_PARSING);
		}
	}
public List < UserNotification > getAllByUserAndDateBetween ( User userParam , int queryLimitParam , int offsetParam , Date fromDateParam , Date toDateParam ) { if ( this . serviceTicket != null && userParam != null ) { userParam . setServiceTicket ( this . serviceTicket ) ; } long fromDate = ( fromDateParam == null ) ? System . currentTimeMillis ( ) - TimeUnit . DAYS . toMillis ( 7 ) : fromDateParam . getTime ( ) ; long toDate = ( toDateParam == null ) ? System . currentTimeMillis ( ) : toDateParam . getTime ( ) ; try { return new UserNotificationListing ( this . postJson ( userParam , WS . Path . UserNotification . Version1 . getAllByUserAndDate ( queryLimitParam , offsetParam , fromDate , toDate ) ) ) . getListing ( ) ; } catch ( JSONException jsonExcept ) { //rethrow as a Fluid Client exception. throw new FluidClientException ( jsonExcept . getMessage ( ) , FluidClientException . ErrorCode . JSON_PARSING ) ; } }
Retrieves all User Notification items for user {@code userParam}
between date {@code fromDateParam} and {@code toDateParam}.

@param userParam The user to retrieve notifications for.
@param queryLimitParam The query limit.
@param offsetParam The query offset.
@param fromDateParam The notification from date.
@param toDateParam The notification to date.

@return The User Notification items for the logged in {@code User}.
Retrieves all User Notification items for user { @code userParam } between date { @code fromDateParam } and { @code toDateParam } .