This checks in the current state of WCM development.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-06-16 16:59:15 +00:00
parent 6b52660c8a
commit 936f6d7021
57 changed files with 9563 additions and 3827 deletions

View File

@@ -14,25 +14,26 @@
* language governing permissions and limitations under the
* License.
*/
package org.alfresco.repo.avm;
/**
* Base class for file objects.
* Interface for the generic idea of a file.
* @author britt
*/
public abstract class FileNode extends AVMNode
interface FileNode extends AVMNode
{
/**
* Get the content object associated with this node, for reading.
* @param version The version to get in.
* @return A FileContent object.
*/
public abstract FileContent getContentForRead(int version, Repository repo);
public FileContent getContentForRead(Repository repo);
/**
* Get the content object for writing. This will do COW
* as needed.
* @param The repository.
* @return A FileContent object.
*/
public abstract FileContent getContentForWrite(Repository repo);
}
public FileContent getContentForWrite(Repository repo);
}