## Uses of Interface
com.ibm.openpages.api.resource.IGRCObject

- Packages that use IGRCObject
  Package | Description
  --- | ---
  com.ibm.openpages.api.resource | Provides interfaces to work with the OpenPages content data: folders, GRC objects and document attachments.
  com.ibm.openpages.api.resource.util | Utilities for working with resources.
  com.ibm.openpages.api.service | Provides the main interfaces to work with the API services.
  com.ibm.openpages.api.trigger.oob.lifecycle | Implementations of the default Rules and Event Handlers for Lifecycle triggers.
  com.ibm.openpages.api.workflow | Provides interfaces to work with native workflow system.
  com.ibm.openpages.api.workflow.actions.util |

- - ### Uses of IGRCObject in com.ibm.openpages.api.resource

    Subinterfaces of IGRCObject in com.ibm.openpages.api.resource
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `IDocument` Represents a single version of a document stored in the system.

    Methods in com.ibm.openpages.api.resource that return IGRCObject
    Modifier and Type | Method and Description
    --- | ---
    `IGRCObject` | IResourceFactory.`createAutoNamedGRCObject(ITypeDefinition typeDefinition)` Creates an automatically named instance of the IGRCObject interface to be persisted in the system.
    `IGRCObject` | IResourceFactory.`createGRCObject(java.lang.String name, ITypeDefinition typeDefinition)` Creates a new instance of the IGRCObject interface to be persisted in the system.

    Methods in com.ibm.openpages.api.resource with parameters of type IGRCObject
    Modifier and Type | Method and Description
    --- | ---
    `void` | IGRCObject.`setPrimaryParent(IGRCObject grcObject)` Set the primary parent.

  - ### Uses of IGRCObject in com.ibm.openpages.api.resource.util

    Methods in com.ibm.openpages.api.resource.util with parameters of type IGRCObject
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.List<IField>` | ResourceUtil.`getModifiedFields(IGRCObject grcObject)` Gets a list of Fields that have been modified on the GRCObject before it is saved (committed).
    `static java.lang.Object` | ResourceUtil.`getOriginalValueForField(java.lang.String bundleFieldPath, IGRCObject object)` Gets the original value of an IField object by using bundleFieldPath.

  - ### Uses of IGRCObject in com.ibm.openpages.api.service

    Methods in com.ibm.openpages.api.service that return IGRCObject
    Modifier and Type | Method and Description
    --- | ---
    `IGRCObject` | IResourceService.`getGRCObject(Id id)` Get a GRC object by Id for the the current period including all fields and no associations.
    `IGRCObject` | IResourceService.`getGRCObject(Id id, GRCObjectFilter filter)` Get a GRC object by ID with specified filter for fields and associations.
    `IGRCObject` | IResourceService.`getGRCObject(java.lang.String path)` Get a GRC object by path for the current period including all fields and no associations.
    `IGRCObject` | IResourceService.`getGRCObject(java.lang.String path, GRCObjectFilter filter)` Get a GRC object by path with specified filter for fields and associations.
    `IGRCObject` | ITBRuleService.`processCalculationsOnDemand(IGRCObject object)` Evaluates applicable rules for a resource's fields and returns the object with calculated values set, but does not persist the calculated values.

    Methods in com.ibm.openpages.api.service that return types with arguments of type IGRCObject
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<IGRCObject>` | IApplicationService.`copyToParent(Id parentObjectId, java.util.List<Id> childrenToCopy, CopyObjectOptions copyOptions)` Copies one or more GRCObjects to a parent GRCObject based on the CopyObjectOptions and returns the copies made for each of the childrenToCopy that are specified.

    Methods in com.ibm.openpages.api.service with parameters of type IGRCObject
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | IResourceService.`determineDefaultFolder(ITypeDefinition typeToCreate, IGRCObject intendedParent, boolean createFolders)` Determines the correct default folder for a new GRC Object to be created as a child of an intended parent GRC Object.
    `Id` | IConfigurationService.`getApplicableTaskView(IGRCObject grcObject)` Returns Id of the responsive view that is applicable to the input GRC object, or null if there is no applicable view.
    `java.util.List<IWFProcessDefinition>` | IWorkflowService.`getProcessDefinitionsToStartOn(IGRCObject grcObject)` Returns the list of process definitions that a user can start on the given resource.
    `IGRCObject` | ITBRuleService.`processCalculationsOnDemand(IGRCObject object)` Evaluates applicable rules for a resource's fields and returns the object with calculated values set, but does not persist the calculated values.

  - ### Uses of IGRCObject in com.ibm.openpages.api.trigger.oob.lifecycle

    Methods in com.ibm.openpages.api.trigger.oob.lifecycle with parameters of type IGRCObject
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | DefaultLifecycleRule.`checkObjectType(IGRCObject object)`
    `IField` | DefaultLifecycleEventHandler.`getLifecycleAssigneeField(IGRCObject object)`
    `java.lang.String` | DefaultLifecycleEventHandler.`getTransitionAttribute(IGRCObject object, java.lang.String attrKey)`
    `java.lang.String` | DefaultLifecycleEventHandler.`getTransitionAttribute(IGRCObject object, java.lang.String attrKey, boolean useDefault)`
    `void` | DefaultLifecycleEventHandler.`setAssignee(IGRCObject object, java.lang.String assigneeValue)`

  - ### Uses of IGRCObject in com.ibm.openpages.api.workflow

    Methods in com.ibm.openpages.api.workflow that return IGRCObject
    Modifier and Type | Method and Description
    --- | ---
    `IGRCObject` | IEvaluationContext.`getResource()` Returns the GRCObject associated in this context.

  - ### Uses of IGRCObject in com.ibm.openpages.api.workflow.actions.util

    Methods in com.ibm.openpages.api.workflow.actions.util with parameters of type IGRCObject
    Modifier and Type | Method and Description
    --- | ---
    `static void` | WFActionUtil.`setFieldValue(IWFOperationContext context, IGRCObject grcObject, IWFFieldSetter field)` This method will apply the IWFFieldSetter object to the IGRCObject.

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2022. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.