Class Node

java.lang.Object
org.alfresco.solr.client.Node

public class Node extends Object
  • Constructor Details

    • Node

      public Node()
  • Method Details

    • getId

      public long getId()
    • setId

      public void setId(long id)
    • getNodeRef

      public String getNodeRef()
    • setNodeRef

      public void setNodeRef(String nodeRef)
    • getTxnId

      public long getTxnId()
    • setTxnId

      public void setTxnId(long txnId)
    • getStatus

      public Node.SolrApiNodeStatus getStatus()
    • setStatus

      public void setStatus(Node.SolrApiNodeStatus status)
    • getTenant

      public String getTenant()
      Returns:
      the tenant
    • setTenant

      public void setTenant(String tenant)
      Parameters:
      tenant - the tenant to set
    • getAclId

      public long getAclId()
      Returns:
      the aclId
    • setAclId

      public void setAclId(long aclId)
      Parameters:
      aclId - the aclId to set
    • getShardPropertyValue

      public String getShardPropertyValue()
      The property value to use for sharding - as requested
      Returns:
      null - if the node does not have the property, the standard "String" value of the property if it is present on the node. For dates and datetime properties this will be the ISO formatted datetime.
    • setShardPropertyValue

      public void setShardPropertyValue(String shardPropertyValue)
    • getExplicitShardId

      public Integer getExplicitShardId()
    • setExplicitShardId

      public void setExplicitShardId(Integer explicitShardId)
    • toString

      public String toString()
      Overrides:
      toString in class Object