public static class RMFactory.ReportDefinition
extends java.lang.Object
ReportDefinition
instances.Modifier and Type | Method and Description |
---|---|
static ReportDefinition |
createInstance(FilePlanRepository fpRepository)
Creates a
ReportDefinition instance that
is associated with the given FilePlanRepository . |
static ReportDefinition |
createInstance(FilePlanRepository fpRepository,
java.lang.String idStr)
Creates a
ReportDefinition instance that
is associated with the given FilePlanRepository . |
static ReportDefinition |
fetchInstance(FilePlanRepository fpRepository,
java.lang.String reportDefId,
RMPropertyFilter filter)
Retrieves a
ReportDefinition from a file plan repository. |
static ReportDefinition |
getInstance(FilePlanRepository fpRepository,
java.lang.String reportDefId)
Constructs a placeholder instance of the specified
ReportDefinition object. |
public static ReportDefinition fetchInstance(FilePlanRepository fpRepository, java.lang.String reportDefId, RMPropertyFilter filter)
ReportDefinition
from a file plan repository.fpRepository
- the FilePlanRepository
to retrieve from.
This entry cannot be null
.reportDefId
- the ID String
of the desired report definition.
This entry cannot be null
or blank.filter
- an optional RMPropertyFilter
defining
which properties to retrieve.
This entry can be null
.ReportDefinition
instance.public static ReportDefinition getInstance(FilePlanRepository fpRepository, java.lang.String reportDefId)
ReportDefinition
object.fpRepository
- the FilePlanRepository
that the report definition is associated with.
This entry cannot be null
.reportDefId
- the ID String
of the desired report definition.
This entry cannot be null
or blank.ReportDefinition
instance.public static ReportDefinition createInstance(FilePlanRepository fpRepository)
ReportDefinition
instance that
is associated with the given FilePlanRepository
.
For this createInstance
method version, an Id value will be
automatically generated for the new instance.
fpRepository
- the FilePlanRepository
to associate
the new instance with and eventually save to.
This entry cannot be null
.ReportDefinition
instance.public static ReportDefinition createInstance(FilePlanRepository fpRepository, java.lang.String idStr)
ReportDefinition
instance that
is associated with the given FilePlanRepository
.
This createInstance
method version allows the caller to optionally
specify an Id value to assign the the new instance.
fpRepository
- the FilePlanRepository
to associate
the new instance with and eventually save to.
This entry cannot be null
.idStr
- a String
value to be assigned as report id of the new report definition.
This parameter can be null
in which case an id value
will be automatically generated for the new instance.ReportDefinition
instance.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.