mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
A new concurrency test. Fixed bug in the way that paths were being handed
back in AVMNodeDescriptors. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -31,6 +31,11 @@ public class AVMNodeDescriptor
|
||||
*/
|
||||
private String fPath;
|
||||
|
||||
/**
|
||||
* The base name of the path.
|
||||
*/
|
||||
private String fName;
|
||||
|
||||
/**
|
||||
* The type of this node. AVMNodeType constants.
|
||||
*/
|
||||
@@ -113,22 +118,24 @@ public class AVMNodeDescriptor
|
||||
* @param layerID The layer id.
|
||||
* @param length The file length.
|
||||
*/
|
||||
public AVMNodeDescriptor(String path,
|
||||
int type,
|
||||
String creator,
|
||||
String owner,
|
||||
String lastModifier,
|
||||
long createDate,
|
||||
long modDate,
|
||||
long accessDate,
|
||||
long id,
|
||||
int versionID,
|
||||
String indirection,
|
||||
public AVMNodeDescriptor(String path,
|
||||
String name,
|
||||
int type,
|
||||
String creator,
|
||||
String owner,
|
||||
String lastModifier,
|
||||
long createDate,
|
||||
long modDate,
|
||||
long accessDate,
|
||||
long id,
|
||||
int versionID,
|
||||
String indirection,
|
||||
boolean isPrimary,
|
||||
long layerID,
|
||||
long length)
|
||||
long layerID,
|
||||
long length)
|
||||
{
|
||||
fPath = path;
|
||||
fName = name;
|
||||
fType = type;
|
||||
fCreator = creator;
|
||||
fOwner = owner;
|
||||
@@ -342,6 +349,14 @@ public class AVMNodeDescriptor
|
||||
return fLength;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the name of the node.
|
||||
*/
|
||||
public String getName()
|
||||
{
|
||||
return fName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a debuggable string representation of this.
|
||||
* @return A string representation of this.
|
||||
|
Reference in New Issue
Block a user