Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


oracle.odi.domain.shortcuts
Interface IOdiShortcutService

All Known Implementing Classes:
OdiShortcutServiceImpl

public interface IOdiShortcutService

Interface for shortcut services.

Services:

materialize shortcut will create new real object from shortcut with shortcut id.
For each shortcut consumer:
Refresh to new real object as referenced object
If RELEASE_TAG is set:
Refresh to new real object as reference object for ANY OBJECT IN RELEASE_TAG that
consumes the shortcut base object. This is called promote.

Example usage: with dsss as the IShortcutable object.
IOdiShortcutService scs = new OdiShortcutServiceImpl(getOdiInstance());
IOdiShortcutService.MaterializeResult result = scs.materializeShortcutable(dsss, true);
OdiDataStore mdsss = (OdiDataStore)result.getMaterializedShorcutable();

Since:
11.1.1.6.0
See Also:
OdiDataStore, OdiPackage, OdiUserProcedure, OdiInterface, OdiShortcutServiceImpl

Nested Class Summary
static class IOdiShortcutService.MaterializeResult
          Result class for materializeShortcut.

 

Method Summary
 IOdiShortcutable deMaterializeShortcutable(IOdiShortcutable pShortcutable, IOdiShortcutable pReferenceObject)
          DeMaterialize a real object to shortcut.
 IOdiShortcutService.MaterializeResult materializeShortcutable(IOdiShortcutable pShortcutable, boolean pPromoteObjectsForRelease)
          Materialize a shortcut.
 IOdiShortcutService.MaterializeResult materializeShortcutables(java.util.List<IOdiShortcutable> pShortcutableList, boolean pPromoteObjectsForRelease)
          Materialize list of shortcuts.

 

Method Detail

materializeShortcutable

IOdiShortcutService.MaterializeResult materializeShortcutable(IOdiShortcutable pShortcutable,
                                                              boolean pPromoteObjectsForRelease)
                                                              throws OdiShortcutServiceException
Materialize a shortcut.

Create new real object from shortcut with shortcut id. For each shortcut consumer:
Refresh to new real object as referenced object
If pPromoteObjectsForRelease and RELEASE_TAG is set:
Refresh to new real object as reference object for ANY OBJECT IN RELEASE_TAG that consumes the shortcut base object. This is called promote.

Parameters:
pShortcutable -
pPromoteObjectsForRelease -
Returns:
class containing the result. This will include the materialized shortcut along with any or other objects references.
Throws:
OdiShortcutServiceException

materializeShortcutables

IOdiShortcutService.MaterializeResult materializeShortcutables(java.util.List<IOdiShortcutable> pShortcutableList,
                                                               boolean pPromoteObjectsForRelease)
                                                               throws OdiShortcutServiceException
Materialize list of shortcuts.

Create new real object from each shortcut with shortcut id in the list
If pPromoteObjectsForRelease and RELEASE_TAG is set:
Refresh to new real object as reference object for ANY OBJECT IN RELEASE_TAG that consumes the shortcut base object. This is called promote.

Parameters:
pShortcutableList -
pPromoteObjectsForRelease -
Returns:
class containing the result. This will include the materialized shortcuts along with any or other objects references.
Throws:
OdiShortcutServiceException

deMaterializeShortcutable

IOdiShortcutable deMaterializeShortcutable(IOdiShortcutable pShortcutable,
                                           IOdiShortcutable pReferenceObject)
                                           throws OdiShortcutServiceException
DeMaterialize a real object to shortcut.

Convert the real object to shortcut with same id.

Parameters:
pShortcutable -
pReferenceObject -
Returns:
shortcut
Throws:
OdiShortcutServiceException

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


Copyright © 2010, 2013, Oracle and/or its affiliates. All rights reserved.