String objDate = DateUtility.convertDateToXSDString(w.getLastModDate());
String reqDate = DateUtility.convertDateToXSDString(lastModifiedDate);
String msg = String.format("%s lastModifiedDate (%s) " +
"is more recent than the " +
"request (%s)", pid, objDate, reqDate);
throw new ObjectLockedException(msg);
}
}
if (state != null && !state.equals("")) {
if (!state.equals("A") && !state.equals("D")