public VersionManagerImpl(WorkspaceManager workspaceManager) {
this.workspaceManager = workspaceManager;
}
public NodeEntry checkin(NodeState nodeState) throws RepositoryException {
Checkin ci = Checkin.create(nodeState, this);
workspaceManager.execute(ci);
return workspaceManager.getHierarchyManager().getNodeEntry(ci.getNewVersionId());
}