mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
25629: ALF-7069: - changed getNodes to a POST request - beefed up unit tests + some performance tests ALF-7070: - initial checkin, works end-to-end, still work-in-progress - unit + performance tests 25630: ALF-7069: removed files that are no longer needed 25640: Merged BRANCHES\DEV\SOLR to BRANCHES\DEV\SWIFT 25079: SOLR check point: ALF-4259: SOLR Integration 25217: ALF-7068: SOLR 075 Improved cache rebuild performance - delta + query cache warming 25315: ALF-7068: SOLR 075 Improved cache rebuild performance - delta + query cache warming 25577: ALF-7068: SOLR 075 Improved cache rebuild performance - delta + query cache warming 25604: ALF-7068: SOLR 075 Improved cache rebuild performance - delta + query cache warming 25610: ALF-7068: SOLR 075 Improved cache rebuild performance - delta + query cache warming 25651: - enabled OpenCMIS server ticket authentication - added OpenCMIS client API (incomplete) 25667: Merged BRANCHES/DEV/BM to BRANCHES/DEV/SWIFT: 25030: Repo BM Sprint 1 - example using JMeter (WebDAV & CMIS) 25054: Repo BM Sprint 1 - milestone 2 25078: Repo BM sprint 1 - milestone 3 (ALF-6794) 25675: ALF-7068: SOLR 075 Improved cache rebuild performance - delta + query cache warming - fix queries against un-optimized index 25676: Merged BRANCHES/DEV/BM to BRANCHES/DEV/SWIFT: commit mergeinfo 25683: RepoBM: OpenCMIS - use shared libs (from 3rd-party project) - change default url (from ".../alfresco/opencmis-atom" to ".../alfresco/cmisatom") 25767: ALF-7339: SOLR 020 Index track and build from SOLR - Initial hook up point and proto type for config 25787: ALF-7070: - owner, associations, type conversions SOLR Client-side API to call into repository SOLR APIs 25818: added webscripts root object as an entry point to OpenCMIS client sessions (local and remote) 25855: Bug fix: keep CMIS connection manager reference git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28089 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
209 lines
4.2 KiB
Java
209 lines
4.2 KiB
Java
package org.alfresco.repo.domain.solr;
|
|
|
|
import java.util.List;
|
|
import java.util.Set;
|
|
|
|
import org.alfresco.service.namespace.QName;
|
|
|
|
/**
|
|
* Stores node query parameters for use in SOLR DAO queries
|
|
*
|
|
* @since 4.0
|
|
*/
|
|
public class NodeParameters
|
|
{
|
|
private List<Long> transactionIds;
|
|
private Long fromTxnId;
|
|
private Long toTxnId;
|
|
|
|
private Long fromNodeId;
|
|
private Long toNodeId;
|
|
|
|
// default is 'all' results
|
|
private int maxResults = 0;
|
|
|
|
private String storeProtocol;
|
|
private String storeIdentifier;
|
|
|
|
private Set<QName> includeNodeTypes;
|
|
private Set<QName> excludeNodeTypes;
|
|
private List<Long> includeTypeIds;
|
|
private List<Long> excludeTypeIds;
|
|
|
|
private Set<QName> includeAspects;
|
|
private Set<QName> excludeAspects;
|
|
private List<Long> includeAspectIds;
|
|
private List<Long> excludeAspectIds;
|
|
|
|
public int getMaxResults()
|
|
{
|
|
return maxResults;
|
|
}
|
|
|
|
public void setMaxResults(int maxResults)
|
|
{
|
|
this.maxResults = maxResults;
|
|
}
|
|
|
|
public boolean getStoreFilter()
|
|
{
|
|
return (storeProtocol != null || storeIdentifier != null);
|
|
}
|
|
|
|
public void setStoreProtocol(String storeProtocol)
|
|
{
|
|
this.storeProtocol = storeProtocol;
|
|
}
|
|
|
|
public String getStoreProtocol()
|
|
{
|
|
return storeProtocol;
|
|
}
|
|
|
|
public void setStoreIdentifier(String storeIdentifier)
|
|
{
|
|
this.storeIdentifier = storeIdentifier;
|
|
}
|
|
|
|
public String getStoreIdentifier()
|
|
{
|
|
return storeIdentifier;
|
|
}
|
|
|
|
public void setTransactionIds(List<Long> txnIds)
|
|
{
|
|
this.transactionIds = txnIds;
|
|
}
|
|
|
|
public List<Long> getTransactionIds()
|
|
{
|
|
return transactionIds;
|
|
}
|
|
|
|
public Long getFromTxnId()
|
|
{
|
|
return fromTxnId;
|
|
}
|
|
|
|
public void setFromTxnId(Long fromTxnId)
|
|
{
|
|
this.fromTxnId = fromTxnId;
|
|
}
|
|
|
|
public Long getToTxnId()
|
|
{
|
|
return toTxnId;
|
|
}
|
|
|
|
public void setToTxnId(Long toTxnId)
|
|
{
|
|
this.toTxnId = toTxnId;
|
|
}
|
|
|
|
public Long getFromNodeId()
|
|
{
|
|
return fromNodeId;
|
|
}
|
|
|
|
public void setFromNodeId(Long fromNodeId)
|
|
{
|
|
this.fromNodeId = fromNodeId;
|
|
}
|
|
|
|
public Long getToNodeId()
|
|
{
|
|
return toNodeId;
|
|
}
|
|
|
|
public void setToNodeId(Long toNodeId)
|
|
{
|
|
this.toNodeId = toNodeId;
|
|
}
|
|
|
|
public Set<QName> getIncludeNodeTypes()
|
|
{
|
|
return includeNodeTypes;
|
|
}
|
|
|
|
public Set<QName> getExcludeNodeTypes()
|
|
{
|
|
return excludeNodeTypes;
|
|
}
|
|
|
|
public Set<QName> getIncludeAspects()
|
|
{
|
|
return includeAspects;
|
|
}
|
|
|
|
public Set<QName> getExcludeAspects()
|
|
{
|
|
return excludeAspects;
|
|
}
|
|
|
|
public void setIncludeNodeTypes(Set<QName> includeNodeTypes)
|
|
{
|
|
this.includeNodeTypes = includeNodeTypes;
|
|
}
|
|
|
|
public void setExcludeNodeTypes(Set<QName> excludeNodeTypes)
|
|
{
|
|
this.excludeNodeTypes = excludeNodeTypes;
|
|
}
|
|
|
|
public void setIncludeAspects(Set<QName> includeAspects)
|
|
{
|
|
this.includeAspects = includeAspects;
|
|
}
|
|
|
|
public void setExcludeAspects(Set<QName> excludeAspects)
|
|
{
|
|
this.excludeAspects = excludeAspects;
|
|
}
|
|
|
|
public List<Long> getIncludeAspectIds()
|
|
{
|
|
return includeAspectIds;
|
|
}
|
|
|
|
public void setIncludeAspectIds(List<Long> includeAspectIds)
|
|
{
|
|
this.includeAspectIds = includeAspectIds;
|
|
}
|
|
|
|
public List<Long> getExcludeAspectIds()
|
|
{
|
|
return excludeAspectIds;
|
|
}
|
|
|
|
public void setExcludeAspectIds(List<Long> excludeAspectIds)
|
|
{
|
|
this.excludeAspectIds = excludeAspectIds;
|
|
}
|
|
|
|
public List<Long> getIncludeTypeIds()
|
|
{
|
|
return includeTypeIds;
|
|
}
|
|
|
|
public void setIncludeTypeIds(List<Long> includeTypeIds)
|
|
{
|
|
this.includeTypeIds = includeTypeIds;
|
|
}
|
|
|
|
public List<Long> getExcludeTypeIds()
|
|
{
|
|
return excludeTypeIds;
|
|
}
|
|
|
|
public void setExcludeTypeIds(List<Long> excludeTypeIds)
|
|
{
|
|
this.excludeTypeIds = excludeTypeIds;
|
|
}
|
|
|
|
public boolean isIncludeNodesTable()
|
|
{
|
|
return (getFromNodeId() != null || getToNodeId() != null || getIncludeTypeIds() != null || getExcludeTypeIds() != null || getIncludeAspectIds() != null || getExcludeAspectIds() != null);
|
|
}
|
|
|
|
}
|