public class MobileClockLogServiceImpl extends Object implements MobileClockLogService
Modifier and Type | Field and Description |
---|---|
static String |
MESSAGE_INVALID_CARD_DATA |
static String |
MESSAGE_INVALID_CLOCK_LOG |
static String |
MESSAGE_INVALID_DEVICE |
static String |
MESSAGE_INVALID_UID |
static String |
MESSAGE_MULTIPLE_POSITIONS |
static String |
MESSAGE_NO_POSITION |
static String |
MESSAGE_UPDATED |
static String |
MESSAGES |
static String |
POSITIONS |
static String |
STATUS |
static String |
STATUS_FAILURE |
static String |
STATUS_MULTIPLE_POSITIONS |
static String |
STATUS_SUCCESS |
ADD_CLOCK_LOG_PATH_NAME, HEARTBEAT_PATH_NAME, TYPE_APPLICATION_JSON
Constructor and Description |
---|
MobileClockLogServiceImpl() |
Modifier and Type | Method and Description |
---|---|
String |
addClockLog(String clockLogString,
javax.servlet.http.HttpServletRequest hsr) |
protected org.kuali.rice.kim.api.identity.Person |
getPersonFromCardData(RemoteSwipeData remoteSwipeData) |
void |
heartbeat(javax.servlet.http.HttpServletRequest hsr)
Receive request from mobile devices and update RemoteSwipeDevice maintenance table
|
protected boolean |
validateInputData(RemoteClockLog remoteClockLog,
RemoteSwipeData remoteSwipeData,
RemoteSwipeDevice remoteSwipeDevice,
List<String> messages) |
public static final String POSITIONS
public static final String STATUS
public static final String MESSAGES
public static final String STATUS_MULTIPLE_POSITIONS
public static final String STATUS_SUCCESS
public static final String STATUS_FAILURE
public static final String MESSAGE_NO_POSITION
public static final String MESSAGE_INVALID_CLOCK_LOG
public static final String MESSAGE_INVALID_CARD_DATA
public static final String MESSAGE_INVALID_UID
public static final String MESSAGE_UPDATED
public static final String MESSAGE_MULTIPLE_POSITIONS
public static final String MESSAGE_INVALID_DEVICE
public MobileClockLogServiceImpl()
public void heartbeat(@Context javax.servlet.http.HttpServletRequest hsr)
MobileClockLogService
heartbeat
in interface MobileClockLogService
public String addClockLog(String clockLogString, @Context javax.servlet.http.HttpServletRequest hsr)
addClockLog
in interface MobileClockLogService
protected boolean validateInputData(RemoteClockLog remoteClockLog, RemoteSwipeData remoteSwipeData, RemoteSwipeDevice remoteSwipeDevice, List<String> messages)
protected org.kuali.rice.kim.api.identity.Person getPersonFromCardData(RemoteSwipeData remoteSwipeData)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.