mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added the opacity bit to layered directories, and a method to set it. The opacity
status is returned in AVMNodeDescriptors now. Basic test added. Also restored a bunch of commented out checks in a number of tests. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3257 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -100,6 +100,11 @@ public class AVMNodeDescriptor
|
||||
* The length, if this is a file or -1 otherwise.
|
||||
*/
|
||||
private long fLength;
|
||||
|
||||
/**
|
||||
* The opacity for layered directories.
|
||||
*/
|
||||
private boolean fOpacity;
|
||||
|
||||
/**
|
||||
* Make one up.
|
||||
@@ -132,6 +137,7 @@ public class AVMNodeDescriptor
|
||||
String indirection,
|
||||
boolean isPrimary,
|
||||
long layerID,
|
||||
boolean opacity,
|
||||
long length)
|
||||
{
|
||||
fPath = path;
|
||||
@@ -149,6 +155,7 @@ public class AVMNodeDescriptor
|
||||
fIsPrimary = isPrimary;
|
||||
fLayerID = layerID;
|
||||
fLength = length;
|
||||
fOpacity = opacity;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -356,7 +363,15 @@ public class AVMNodeDescriptor
|
||||
{
|
||||
return fName;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return the opacity
|
||||
*/
|
||||
public boolean getOpacity()
|
||||
{
|
||||
return fOpacity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a debuggable string representation of this.
|
||||
* @return A string representation of this.
|
||||
|
Reference in New Issue
Block a user