mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Retyped a counter so had to muck with many beans. Forced creation of layered directories
to work. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2930 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -105,7 +105,7 @@ public abstract class AVMNode
|
||||
* Set the version number.
|
||||
* @param version The version number to set.
|
||||
*/
|
||||
public void setVersion(long version)
|
||||
public void setVersion(int version)
|
||||
{
|
||||
fData.setVersionID(version);
|
||||
}
|
||||
@@ -212,15 +212,6 @@ public abstract class AVMNode
|
||||
fData.setRepository(repo.getDataBean());
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the Repository we 'belong' to.
|
||||
* @return The Repository.
|
||||
*/
|
||||
public Repository getRepository()
|
||||
{
|
||||
return RepositoryFactory.GetInstance().createFromBean(fData.getRepository());
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the data bean in this node.
|
||||
* @return The data bean.
|
||||
@@ -242,5 +233,11 @@ public abstract class AVMNode
|
||||
/**
|
||||
* Get the type of this node.
|
||||
*/
|
||||
public abstract AVMNodeType getType();
|
||||
public abstract int getType();
|
||||
|
||||
/**
|
||||
* Get a debugging string representation.
|
||||
* @param lPath The Lookup.
|
||||
*/
|
||||
public abstract String toString(Lookup lPath);
|
||||
}
|
||||
|
Reference in New Issue
Block a user