Added accessors for node history. Added those to console.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3135 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-06-18 15:32:45 +00:00
parent 6fff182633
commit c892c5a4b5
8 changed files with 180 additions and 16 deletions

View File

@@ -107,7 +107,7 @@ class PlainFileNodeImpl extends FileNodeImpl implements PlainFileNode
/**
* Get content for reading.
*/
public FileContent getContentForRead(Repository repo)
public FileContent getContentForRead()
{
return fContent;
}
@@ -157,8 +157,7 @@ class PlainFileNodeImpl extends FileNodeImpl implements PlainFileNode
null,
false,
-1,
getContentForRead(
lPath.getRepository())
getContentForRead()
.getLength(lPath.getRepository().getSuperRepository()));
}
@@ -186,8 +185,7 @@ class PlainFileNodeImpl extends FileNodeImpl implements PlainFileNode
null,
false,
-1,
getContentForRead(
getRepository())
getContentForRead()
.getLength(getRepository().getSuperRepository()));
}