--- /dev/null
+/**\r
+ * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.\r
+ *\r
+ * This library is free software; you can redistribute it and/or modify it under\r
+ * the terms of the GNU Lesser General Public License as published by the Free\r
+ * Software Foundation; either version 2.1 of the License, or (at your option)\r
+ * any later version.\r
+ *\r
+ * This library is distributed in the hope that it will be useful, but WITHOUT\r
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more\r
+ * details.\r
+ */\r
+\r
+package com.liferay.portal.kernel.webdav;\r
+\r
+import com.liferay.portal.model.Lock;\r
+\r
+import java.io.InputStream;\r
+\r
+/**\r
+ * @author Brian Wing Shun Chan\r
+ * @author Alexander Chow\r
+ */\r
+public interface Resource {\r
+\r
+ public String getClassName();\r
+\r
+ public InputStream getContentAsStream() throws WebDAVException ;\r
+\r
+ public String getContentType();\r
+\r
+ public String getCreateDate();\r
+\r
+ public String getDisplayName();\r
+\r
+ public String getHREF();\r
+\r
+ public Object getModel();\r
+\r
+ public String getModifiedDate();\r
+\r
+ public long getPrimaryKey();\r
+\r
+ public long getSize();\r
+\r
+ public boolean isCollection();\r
+\r
+ public boolean isLocked();\r
+\r
+ public void setClassName(String className);\r
+\r
+ public void setModel(Object model);\r
+\r
+ public void setPrimaryKey(long primaryKey);\r
+ \r
+ public Lock getLock();\r
+\r
+ public void setLock(Lock lock);\r
+\r
+}
\ No newline at end of file