001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.documentlibrary.model;
016    
017    
018    /**
019     * <p>
020     * This interface is a model that represents the DLFolder table in the
021     * database.
022     * </p>
023     *
024     * <p>
025     * Customize {@link com.liferay.portlet.documentlibrary.model.impl.DLFolderImpl} and rerun the
026     * ServiceBuilder to generate the new methods.
027     * </p>
028     *
029     * @author    Brian Wing Shun Chan
030     * @see       DLFolderModel
031     * @see       com.liferay.portlet.documentlibrary.model.impl.DLFolderImpl
032     * @see       com.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl
033     * @generated
034     */
035    public interface DLFolder extends DLFolderModel {
036            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getAncestors()
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException;
039    
040            public com.liferay.portlet.documentlibrary.model.DLFolder getParentFolder()
041                    throws com.liferay.portal.kernel.exception.PortalException,
042                            com.liferay.portal.kernel.exception.SystemException;
043    
044            public java.lang.String getPath()
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException;
047    
048            public java.lang.String[] getPathArray()
049                    throws com.liferay.portal.kernel.exception.PortalException,
050                            com.liferay.portal.kernel.exception.SystemException;
051    
052            public boolean hasLock(long userId);
053    
054            public boolean isLocked();
055    
056            public boolean isRoot();
057    }