Rework of Layered path resolutions that make snapshots of stores containing layers

actually capture the repository context at snapshot creation time. 
Gave ListEntry and MapEntry proper equals() and hashCode methods and backed out 
hibernate-cfg.properties changes.  Doh!  
Added cache configuration for AttributeService entities.
Did some warning removal in a few places.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5576 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-04-30 16:37:36 +00:00
parent fe970f03fe
commit d0d7e61fcd
46 changed files with 1008 additions and 70 deletions

View File

@@ -98,6 +98,11 @@ public class AVMNodeDescriptor implements Serializable
*/
private String fIndirection;
/**
* The indirection version if this is a layer.
*/
private int fIndirectionVersion;
/**
* Is this a primary indirection node.
*/
@@ -143,6 +148,7 @@ public class AVMNodeDescriptor implements Serializable
* @param versionID The version id.
* @param guid The GUID.
* @param indirection The indirection.
* @param indirectionVersion The indirection version.
* @param isPrimary Whether this is a primary indirection.
* @param layerID The layer id.
* @param length The file length.
@@ -161,6 +167,7 @@ public class AVMNodeDescriptor implements Serializable
String guid,
int versionID,
String indirection,
int indirectionVersion,
boolean isPrimary,
long layerID,
boolean opacity,
@@ -180,6 +187,7 @@ public class AVMNodeDescriptor implements Serializable
fGuid = guid;
fVersionID = versionID;
fIndirection = indirection;
fIndirectionVersion = indirectionVersion;
fIsPrimary = isPrimary;
fLayerID = layerID;
fLength = length;
@@ -223,6 +231,15 @@ public class AVMNodeDescriptor implements Serializable
return fIndirection;
}
/**
* Get the indirection version.
* @return The indirection version.
*/
public int getIndirectionVersion()
{
return fIndirectionVersion;
}
/**
* Is this a primary indirection node. Will always
* be false for non-layered nodes.