001/*
002 * Copyright (c) 2006-2011 Nuxeo SA (http://nuxeo.com/) and others.
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the Eclipse Public License v1.0
006 * which accompanies this distribution, and is available at
007 * http://www.eclipse.org/legal/epl-v10.html
008 *
009 * Contributors:
010 *     <a href="mailto:at@nuxeo.com">Anahide Tchertchian</a>
011 *
012 * $Id: DocumentLocation.java 25074 2007-09-18 14:23:08Z atchertchian $
013 */
014
015package org.nuxeo.ecm.core.api;
016
017import java.io.Serializable;
018
019/**
020 * Document server name with its unique identifier within this server.
021 */
022public interface DocumentLocation extends Serializable {
023
024    /**
025     * Returns the document server name.
026     */
027    String getServerName();
028
029    /**
030     * Returns the document reference.
031     */
032    DocumentRef getDocRef();
033
034    /**
035     * Returns the document path reference
036     */
037    PathRef getPathRef();
038
039    /**
040     * Returns the document id reference
041     */
042    IdRef getIdRef();
043
044}