mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for ALF-3952 - Search/Read Permissions Evaluation Performance
Includes read permission evaluation optimisation, bulk loading of aspects git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -34,9 +34,12 @@ import java.util.List;
|
||||
*/
|
||||
public class NodeAspectsEntity
|
||||
{
|
||||
private Long id;
|
||||
private Long nodeId;
|
||||
private List<Long> aspectQNameIds;
|
||||
|
||||
|
||||
/** Carries data for queries */
|
||||
private List<Long> nodeIds;
|
||||
|
||||
/**
|
||||
* Required default constructor
|
||||
*/
|
||||
@@ -49,22 +52,22 @@ public class NodeAspectsEntity
|
||||
{
|
||||
StringBuilder sb = new StringBuilder(512);
|
||||
sb.append("NodeAspectsEntity")
|
||||
.append(", id=").append(id)
|
||||
.append(", nodeId=").append(nodeId)
|
||||
.append(", aspects=").append(aspectQNameIds)
|
||||
.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
public Long getNodeId()
|
||||
{
|
||||
return id;
|
||||
return nodeId;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
public void setNodeId(Long nodeId)
|
||||
{
|
||||
this.id = id;
|
||||
this.nodeId = nodeId;
|
||||
}
|
||||
|
||||
|
||||
public List<Long> getAspectQNameIds()
|
||||
{
|
||||
return aspectQNameIds;
|
||||
@@ -74,4 +77,14 @@ public class NodeAspectsEntity
|
||||
{
|
||||
this.aspectQNameIds = aspectQNameIds;
|
||||
}
|
||||
|
||||
public List<Long> getNodeIds()
|
||||
{
|
||||
return nodeIds;
|
||||
}
|
||||
|
||||
public void setNodeIds(List<Long> nodeIds)
|
||||
{
|
||||
this.nodeIds = nodeIds;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user