Package com.polarion.alm.tracker
Class SavedQuery
java.lang.Object
com.polarion.alm.tracker.SavedQuery
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionInternal field, not an API.static final String
boolean
int
static final int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionSavedQuery
(int scope, String name, String query) SavedQuery
(int scope, String name, String query, boolean isDefault) -
Method Summary
Modifier and TypeMethodDescriptionstatic SavedQuery.Builder
create()
boolean
getUniqueId
(String projectId) Returns a unique identifier of the saved query.int
hashCode()
void
setUpdated
(String updated) void
setUpdatedBy
(String updatedBy) toString()
-
Field Details
-
SCOPE_GLOBAL
public static final int SCOPE_GLOBAL- See Also:
-
SCOPE_PROJECT
public static final int SCOPE_PROJECT- See Also:
-
SCOPE_USER
public static final int SCOPE_USER- See Also:
-
INDEX_FIELD
- Since:
- 3.24.10
- See Also:
-
scope
public int scope -
name
-
query
-
isDefault
public boolean isDefault -
id
Internal field, not an API.
-
-
Constructor Details
-
SavedQuery
public SavedQuery() -
SavedQuery
-
SavedQuery
- Since:
- 3.10.0
-
-
Method Details
-
create
- Since:
- 3.24.10
-
toString
-
getUniqueId
Returns a unique identifier of the saved query.- Parameters:
projectId
- the ID of the project. Can be null if the scope of the query is not project-specific.- Returns:
- a string representing the unique identifier of the saved query. The format is "scope/projectId/queryId" where scope is either "global", "project", or "user", and the projectId is omitted if the query is not project-specific.
- Since:
- 3.24.10
-
getCreated
- Since:
- 3.24.10
-
getUpdated
- Since:
- 3.24.10
-
getCreatedBy
- Since:
- 3.24.10
-
getUpdatedBy
- Since:
- 3.24.10
-
setUpdated
- Since:
- 3.24.10
-
setUpdatedBy
- Since:
- 3.24.10
-
hashCode
public int hashCode() -
equals
-