Class SearchQuery

java.lang.Object
com.sas.lsaf.content.repository.SearchQuery
All Implemented Interfaces:
Serializable

public class SearchQuery extends Object implements Serializable
The class that represents the information to search for repository items. To search file content, call setTypeId with one of these types: Note: Because job files contain XML content, only attribute values are searched.
See Also:
  • Constructor Details

    • SearchQuery

      public SearchQuery()
      The zero-argument constructor.
  • Method Details

    • getLastModifiedBy

      public String getLastModifiedBy()
      Gets the identifier of the user who last modified the item.
      Returns:
      The identifier of the user who last modified the item.
    • setLastModifiedBy

      public void setLastModifiedBy(String lastModifiedBy)
      Sets the identifier of the user who last modified the item. Supports wildcards.
      Parameters:
      lastModifiedBy - The identifier of the user who last modified the item.
    • getCreatedBy

      public String getCreatedBy()
      Gets the identifier of the user who created the item.
      Returns:
      The identifier of the user who created the item.
    • setCreatedBy

      public void setCreatedBy(String createdBy)
      Sets the identifier of the user who created the item. Supports wildcards.
      Parameters:
      createdBy - The identifier of the user who created the item.
    • getTypeId

      public String getTypeId()
      Gets the object type of the item.
      Returns:
      The object type of the item.
    • setTypeId

      public void setTypeId(String typeId)
      Sets the object type of the item.
      Parameters:
      typeId - The object type of the item.
    • getName

      public String getName()
      Gets the name of the item.
      Returns:
      The name of the item.
    • setName

      public void setName(String name)
      Sets the name of the item. Supports wildcards.
      Parameters:
      name - The name of the item.
    • getLocation

      public String getLocation()
      Gets the location of the item.
      Returns:
      The location of the item.
    • setLocation

      public void setLocation(String location)
      Sets the location of the item. Wildcards are not supported in location.
      Parameters:
      location - The location.
    • getFromCreated

      public Date getFromCreated()
      Gets the start date of the range for the creation date of the item.
      Returns:
      The start date of the range for the creation date of the item.
    • setFromCreated

      public void setFromCreated(Date fromCreated)
      Sets the start date of the range for the creation date of the item.
      Parameters:
      fromCreated - The start date of the range for the creation date of the item.
    • getToCreated

      public Date getToCreated()
      Gets the end date of the range for the creation date of the item.
      Returns:
      The end date of the range for the creation date of the item.
    • setToCreated

      public void setToCreated(Date toCreated)
      Sets the end date of the range for the creation date of the item.
      Parameters:
      toCreated - The end date of the range for the creation date of the item.
    • getFromLastModifiedDate

      public Date getFromLastModifiedDate()
      Gets the start date of the range for the last modified date of the item.
      Returns:
      The start date of the range for the last modified date of the item.
    • setFromLastModifiedDate

      public void setFromLastModifiedDate(Date fromLastModifiedDate)
      Sets the start date of the range for the last modified date of the item.
      Parameters:
      fromLastModifiedDate - The start date of the range for the last modified date of the item.
    • getToLastModifiedDate

      public Date getToLastModifiedDate()
      Gets the end date of the range for the last modified date of the item.
      Returns:
      The end date of the range for the last modified date of the item.
    • setToLastModifiedDate

      public void setToLastModifiedDate(Date toLastModifiedDate)
      Sets the end date of the range for the last modified date of the item.
      Parameters:
      toLastModifiedDate - The end date of the range for the last modified date of the item.
    • getContent

      public String getContent()
      Gets the string to query the contents of files that are of the type specified in object type. To search file content, setObjectType must be called with one of these types:
      Returns:
      The string to query the contents of files that are of the type specified in object type
    • setContent

      public void setContent(String content)
      Sets the string to query the contents of files that are of the type specified in object type. Supports wild cards. To search file content, setTypeId must be called with one of these types:
      Parameters:
      content - the string to query the contents of files that are of the type specified in object type
    • getOwner

      public String getOwner()
      Sets the identifier of the owner of the item.
      Returns:
      The identifier of the owner of the item.
    • setOwner

      public void setOwner(String owner)
      Sets the identifier of the owner of the item. Supports wildcards.
      Parameters:
      owner - The identifier of the owner of the item.
    • getCopyToWorkspaceStatus

      public RepositoryItem.Syncable getCopyToWorkspaceStatus()
      Gets the RepositoryItem.Syncable enumeration which controls workspace copy behavior for a specific repository node.
      Returns:
      The enumeration which controls workspace copy behavior for a specific repository node
    • setCopyToWorkspaceStatus

      public void setCopyToWorkspaceStatus(RepositoryItem.Syncable copyToWorkspaceStatus)
      Sets the RepositoryItem.Syncable enumeration which controls workspace copy behavior for a specific repository node.
      Parameters:
      copyToWorkspaceStatus - the enumeration that controls workspace copy behavior for a specific repository node
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object