code: public int getLastOrderNumber(final NodeData nodeData) throws RepositoryException
     {
        final WorkspaceStorageConnection con = dataContainer.openConnection();
        try
        {
           return con.getLastOrderNumber(nodeData);
        }
        finally
        {
           con.close();
        }
     }
docs: {@inheritDoc}