Skip to content

Commit

Permalink
NXP-15040: remove old document query operation - keep compatibility w…
Browse files Browse the repository at this point in the history
…ith new one with same ID
  • Loading branch information
Vladimir Pasquier committed Sep 15, 2014
1 parent a6fbbd0 commit af03812
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
@Operation(id = Query.ID, category = Constants.CAT_FETCH, label = "Query",
description = "Perform a query on the repository. The query result " +
"will become the input for the next operation.",
addToStudio = true, deprecatedSince = "5.9.6")
addToStudio = false, deprecatedSince = "5.9.6")
public class Query {

public static final String ID = "Document.Query";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,6 @@
class="org.nuxeo.ecm.automation.core.operations.document.DeleteDocument" />
<operation class="org.nuxeo.ecm.automation.core.operations.document.FetchDocument" />
<operation class="org.nuxeo.ecm.automation.core.operations.document.LockDocument" />
<operation class="org.nuxeo.ecm.automation.core.operations.document.Query">
<widgets>
<widget name="query" type="codearea">
<labels>
<label mode="any">Query</label>
</labels>
<properties mode="any">
<property name="language">nxql</property>
<property name="width">100%</property>
<property name="height">100%</property>
</properties>
<fields>
<field>query</field>
</fields>
</widget>
</widgets>
</operation>
<operation
class="org.nuxeo.ecm.automation.core.operations.document.FetchByProperty" />
<operation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"operation.", since = "5.9.6", addToStudio = true)
public class DocumentPaginatedQuery {

public static final String ID = "Document.PaginatedQuery";
public static final String ID = "Document.Query";

public static final String CURRENT_USERID_PATTERN = "$currentUser";

Expand Down

0 comments on commit af03812

Please sign in to comment.