Package org.ametys.cms.indexing.solr
Class SolrAclCacheInfluence
- java.lang.Object
-
- org.ametys.cms.indexing.solr.SolrAclCacheInfluence
-
public final class SolrAclCacheInfluence extends Object
Methods for handling influence of objects on Solr Acl cache.
SeeisUninfluent(java.lang.Object)
.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SolrAclCacheInfluence()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static boolean
_isWorkspaceContext(Object object)
private static String[]
_workspacesContexts()
static boolean
isUninfluent(Object object)
Determines if any change of profile assignment on the given context object ensures that there is no indexed object (neither the given object nor any other object in the whole application) that is affected in its ownread access
computing.
-
-
-
Constructor Detail
-
SolrAclCacheInfluence
private SolrAclCacheInfluence()
-
-
Method Detail
-
isUninfluent
public static boolean isUninfluent(Object object)
Determines if any change of profile assignment on the given context object ensures that there is no indexed object (neither the given object nor any other object in the whole application) that is affected in its ownread access
computing.
i.e. the given object has no influence at all on the whole Solr Acl cache.
SeeSolrAclCacheUninfluentialObject
.- Parameters:
object
- The object- Returns:
true
if the given object is uninfluent on the Solr Acl cache.
-
_isWorkspaceContext
private static boolean _isWorkspaceContext(Object object)
-
_workspacesContexts
private static String[] _workspacesContexts()
-
-