Package com.sas.lsaf.content.repository
Class SearchQuery
java.lang.Object
com.sas.lsaf.content.repository.SearchQuery
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the string to query the contents of files that are of the type specified in object type.Gets theRepositoryItem.Syncableenumeration which controls workspace copy behavior for a specific repository node.Gets the identifier of the user who created the item.Gets the start date of the range for the creation date of the item.Gets the start date of the range for the last modified date of the item.Gets the identifier of the user who last modified the item.Gets the location of the item.getName()Gets the name of the item.getOwner()Sets the identifier of the owner of the item.Gets the end date of the range for the creation date of the item.Gets the end date of the range for the last modified date of the item.Gets the object type of the item.inthashCode()voidsetContent(String content) Sets the string to query the contents of files that are of the type specified in object type.voidsetCopyToWorkspaceStatus(RepositoryItem.Syncable copyToWorkspaceStatus) Sets theRepositoryItem.Syncableenumeration which controls workspace copy behavior for a specific repository node.voidsetCreatedBy(String createdBy) Sets the identifier of the user who created the item.voidsetFromCreated(Date fromCreated) Sets the start date of the range for the creation date of the item.voidsetFromLastModifiedDate(Date fromLastModifiedDate) Sets the start date of the range for the last modified date of the item.voidsetLastModifiedBy(String lastModifiedBy) Sets the identifier of the user who last modified the item.voidsetLocation(String location) Sets the location of the item.voidSets the name of the item.voidSets the identifier of the owner of the item.voidsetToCreated(Date toCreated) Sets the end date of the range for the creation date of the item.voidsetToLastModifiedDate(Date toLastModifiedDate) Sets the end date of the range for the last modified date of the item.voidSets the object type of the item.toString()
-
Constructor Details
-
SearchQuery
public SearchQuery()The zero-argument constructor.
-
-
Method Details
-
getLastModifiedBy
Gets the identifier of the user who last modified the item.- Returns:
- The identifier of the user who last modified the item.
-
setLastModifiedBy
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
Gets the identifier of the user who created the item.- Returns:
- The identifier of the user who created the item.
-
setCreatedBy
Sets the identifier of the user who created the item. Supports wildcards.- Parameters:
createdBy- The identifier of the user who created the item.
-
getTypeId
Gets the object type of the item.- Returns:
- The object type of the item.
-
setTypeId
Sets the object type of the item.- Parameters:
typeId- The object type of the item.
-
getName
Gets the name of the item.- Returns:
- The name of the item.
-
setName
Sets the name of the item. Supports wildcards.- Parameters:
name- The name of the item.
-
getLocation
Gets the location of the item.- Returns:
- The location of the item.
-
setLocation
Sets the location of the item. Wildcards are not supported in location.- Parameters:
location- The location.
-
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
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
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
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
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
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
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
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
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
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
Sets the identifier of the owner of the item.- Returns:
- The identifier of the owner of the item.
-
setOwner
Sets the identifier of the owner of the item. Supports wildcards.- Parameters:
owner- The identifier of the owner of the item.
-
getCopyToWorkspaceStatus
Gets theRepositoryItem.Syncableenumeration which controls workspace copy behavior for a specific repository node.- Returns:
- The enumeration which controls workspace copy behavior for a specific repository node
-
setCopyToWorkspaceStatus
Sets theRepositoryItem.Syncableenumeration 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() -
equals
-
toString
-