Skip to content

Commit 98b3557

Browse files
committed
Temporary fix for ORM links until after lapping packages solution found
1 parent 296418f commit 98b3557

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

resources/doc.properties

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,10 @@ api.javax.servlet=http://download.oracle.com/javaee/1.4/api
9090
api.java.=http://docs.oracle.com/javase/6/docs/api
9191
api.groovy.=http://docs.groovy-lang.org/docs/latest/html/api
9292
api.org.codehaus.groovy.grails=http://grails.org/doc/3.0.x/api
93-
api.grails.=http://grails.github.io/grails-doc/latest/api
94-
api.org.grails.=http://grails.org/doc/3.0.x/api
93+
api.grails.orm.=http://grails.github.io/grails-data-mapping/latest/api
94+
api.grails.gorm.=http://grails.github.io/grails-data-mapping/latest/api
95+
api.grails.=http://grails.github.io/grails-doc/3.0.x/api
96+
api.org.grails.=http://grails.github.io/grails-doc/3.0.x/api
9597

9698
# Regular expression to parse out source code
9799
source.tag.regex=/\s*?def\s+?[a-zA-Z]+?\s*?=\s*?\{\s*?attrs\s*?,{0,1}\s*?body{0,1}\s*?->.+?/

src/en/ref/Domain Classes/createCriteria.gdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ h1. createCriteria
22

33
h2. Purpose
44

5-
Creates and returns an instance of Grails' [HibernateCriteriaBuilder|api:grails.orm.HibernateCriteriaBuilder] that can be used to construct criteria queries.
5+
Creates and returns an instance of Grails' [HibernateCriteriaBuilder|http://grails.github.io/grails-data-mapping/latest/api/grails/orm/HibernateCriteriaBuilder.html] that can be used to construct criteria queries.
66

77
h2. Examples
88

@@ -33,7 +33,7 @@ def results = c.list (max: 10, offset: 10) {
3333
}
3434
{code}
3535

36-
Because that query includes pagination parameters (max and offset), this will return a [PagedResultList|api:grails.orm.PagedResultList] which has a getTotalCount() method to return the total number of matching records for pagination. Two queries are still run, but they are run for you and the results and total count are combined in the @PagedResultList@.
36+
Because that query includes pagination parameters (max and offset), this will return a [PagedResultList|http://grails.github.io/grails-data-mapping/latest/api/grails/orm/PagedResultList.html] which has a getTotalCount() method to return the total number of matching records for pagination. Two queries are still run, but they are run for you and the results and total count are combined in the @PagedResultList@.
3737

3838
{code:java}
3939
println "Rendering ${results.size()} Accounts of ${results.totalCount}"

src/en/ref/Domain Classes/list.gdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def results = Book.list(max: 10, offset: 100, sort: "title", order: "desc")
2323
def results = Book.list(fetch: [authors: "eager"])
2424
{code}
2525

26-
When @max@ is specified as a named argument this will return a [PagedResultList|api:grails.orm.PagedResultList] which has a getTotalCount() method to return the total number of matching records for pagination. Two queries are still run, but they're run for you and the results and total count are combined in the @PagedResultList@.
26+
When @max@ is specified as a named argument this will return a [PagedResultList|http://grails.github.io/grails-data-mapping/latest/api/grails/orm/PagedResultList.html] which has a getTotalCount() method to return the total number of matching records for pagination. Two queries are still run, but they're run for you and the results and total count are combined in the @PagedResultList@.
2727

2828
h2. Description
2929

src/en/ref/Domain Classes/withCriteria.gdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def results = Book.withCriteria {
2727

2828
h2. Description
2929

30-
The @withCriteria@ method allows the inline definition of [Criteria|guide:criteria]. Arguments to the [HibernateCriteriaBuilder|api:grails.orm.HibernateCriteriaBuilder] can be passed as the first parameter:
30+
The @withCriteria@ method allows the inline definition of [Criteria|guide:criteria]. Arguments to the [http://grails.github.io/grails-data-mapping/latest/api/grails/orm/HibernateCriteriaBuilder.html] can be passed as the first parameter:
3131

3232
{code:java}
3333
def book = Book.withCriteria(uniqueResult: true) {

0 commit comments

Comments
 (0)