read
Purpose
Retrieves an instance of the domain class for the specified id in a read-only state, if the object doesn't existnull
is returned.Examples
def b = Book.read(1)
Description
Parameters:id
- The id of the object to retrieve
(Quick Reference)
readPurposeRetrieves an instance of the domain class for the specified id in a read-only state, if the object doesn't existnull is returned.Examplesdef b = Book.read(1) DescriptionParameters:
|
Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet APITag LibrariesTags |