mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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);
|
||||
}
|
Reference in New Issue
Block a user