@Override public Long checkinInitiatedAsync(Long topicId, final Long poid, final String comment, Long deserializerOid, Long fileSize, String fileName, DataHandler dataHandler, Boolean merge) throws ServerException, UserException { SLongActionState checkinInitiatedInternal = checkinInitiatedInternal(topicId, poid, comment, deserializerOid, fileSize, fileName, dataHandler, merge, false, -1); return checkinInitiatedInternal.getTopicId(); }
public LongActionState convertFromSObject(SLongActionState input, LongActionState result, DatabaseSession session) throws BimserverDatabaseException { if (input == null) { return null; } if (input instanceof SLongCheckinActionState) { return convertFromSObject((SLongCheckinActionState)input, session); } result.setStart(input.getStart()); result.setEnd(input.getEnd()); result.setProgress(input.getProgress()); result.setState(ActionState.values()[input.getState().ordinal()]); result.setTitle(input.getTitle()); result.setStage(input.getStage()); result.getErrors().addAll(input.getErrors()); result.getWarnings().addAll(input.getWarnings()); result.getInfos().addAll(input.getInfos()); result.setTopicId(input.getTopicId()); return result; } public SServerState convertToSObject(ServerState input) {