|
Oracle Configuration Interface Object API Specification Version: 11.5.10.23.13 Part No: B14186-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--oracle.apps.cz.cio.CIO
Implements a configuration integration object that can be used to create, save, restore and delete configurations.
| Field Summary | |
boolean |
m_noRollBackSave |
oracle.apps.cz.utilities.LogWriter |
mLog |
static java.lang.String |
RCS_ID |
static boolean |
RCS_ID_RECORDED |
| Constructor Summary | |
CIO()Constructs a newly allocated configuration integration object. |
|
| Method Summary | |
void |
clearLogicFile(java.lang.Object key)Clears only the key specified file from the LCE file cache |
void |
clearLogicFileCache()Clears all LogicFile objects from the logic file cache. |
void |
close()Closes the CIO object and all associated runtime objects. |
void |
closeConfiguration(oracle.apps.cz.cio.Configuration config)Free up external resources (C allocated memory) associated with the configuration. |
oracle.apps.cz.cio.Configuration |
createConfiguration(int rootNodeID, oracle.apps.fnd.common.Context ctx, oracle.apps.cz.cio.IUserInterface userInterface, java.util.Calendar modelLookupDate, java.util.Calendar eff_date, java.lang.String eff_usage_name, java.lang.String sessionId, oracle.apps.cz.utilities.NameValuePairSet initParameters, double bomInitialQuantity)Deprecated. As of 11.5.9, use startConfiguration Creates a new configuration based on a root model node ID representing a configurable product or component. |
oracle.apps.cz.cio.Configuration |
createConfiguration(int inventoryItemId, int organizationId, java.util.Date explosionDate, oracle.apps.fnd.common.Context ctx, oracle.apps.cz.cio.IUserInterface userInterface, java.util.Calendar modelLookupDate, java.util.Calendar eff_date, java.lang.String eff_usage_name, java.lang.String sessionId, oracle.apps.cz.utilities.NameValuePairSet initParameters, double bomInitialQuantity)Deprecated. As of 11.5.9, use startConfiguration Creates a new BOM explosion configuration based on inventoryItemId, organizationId, and explosionDate representing a configurable product or component. |
java.lang.String |
getActiveModelPath()Gets the current active model path. |
static java.lang.String |
getConfigInfo(long headerId, long rev, oracle.apps.fnd.common.Context ctx)Returns a string representing a printout of the entire configuration specified, including all item inputs and values |
oracle.apps.cz.cio.InstalledBase |
getInstalledBase(oracle.apps.fnd.common.Context context)This method returns the repository for installed components. |
com.sun.java.util.collections.Collection |
getProperties(oracle.apps.cz.dio.model.DbModelNode node, oracle.apps.fnd.common.Context context)Returns a collection of the properties associated with this node. |
oracle.apps.cz.cio.Property |
getPropertyById(int id, oracle.apps.cz.dio.model.DbModelNode node, oracle.apps.fnd.common.Context context)Returns a particular property of this node, based on its ID. |
oracle.apps.cz.cio.Property |
getPropertyByName(java.lang.String name, oracle.apps.cz.dio.model.DbModelNode node, oracle.apps.fnd.common.Context context)Returns a particular property of this node, based on its name. |
oracle.apps.cz.cio.Configuration |
restoreConfiguration(long configHeaderID, long revNumber, int rootNodeID, oracle.apps.fnd.common.Context ctx, oracle.apps.cz.cio.IUserInterface userInterface, java.util.Calendar modelLookupDate, java.util.Calendar eff_date, java.lang.String eff_usage_name, java.lang.String sessionId, oracle.apps.cz.utilities.NameValuePairSet initParameters, double bomInitialQuantity)Deprecated. As of 11.5.9, use startConfiguration Restores a configuration from the database. |
void |
setActiveModelPath(java.lang.String path)Sets the path to the directory where the CIO will look for logic files, and where it will store logic files when generating them out of the database. |
void |
setInstalledBase(oracle.apps.cz.cio.InstalledBase ib)This method sets the repository for installed components. |
oracle.apps.cz.cio.Configuration |
startConfiguration(oracle.apps.cz.cio.ConfigParameters configParams, oracle.apps.fnd.common.Context ctx)This method creates a configuration based on the specified parameters. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String RCS_ID
public static final boolean RCS_ID_RECORDED
public boolean m_noRollBackSave
public oracle.apps.cz.utilities.LogWriter mLog
| Constructor Detail |
public CIO()
| Method Detail |
public void close()
public oracle.apps.cz.cio.Configuration startConfiguration(oracle.apps.cz.cio.ConfigParameters configParams,
oracle.apps.fnd.common.Context ctx)
throws LogicalException,
ModelLookupException,
oracle.apps.cz.utilities.EffectivityUsageException,
BomExplosionException
configParams - a ConfigParameters object containing all the data necessary to create the configurationctx - the Context object representing the application contextLogicalException - if a logic failure is encountered when initializing the configuration.MissingFileException - if a logic file cannot be found in the active model pathModelLookupException - if the modelLookupDate is nulloracle.apps.cz.utilities.EffectivityUsageException - if the effectivity is not validBomExplosionExceptionConfigurationpublic void closeConfiguration(oracle.apps.cz.cio.Configuration config)
config - the configuration to be deleted. (Normally the value returned by startConfiguration.)Configurationpublic void setActiveModelPath(java.lang.String path)
path - the path to the active model directory which should include the trailing path separator.public java.lang.String getActiveModelPath()
public void clearLogicFile(java.lang.Object key)
public void clearLogicFileCache()
public void setInstalledBase(oracle.apps.cz.cio.InstalledBase ib)
public oracle.apps.cz.cio.InstalledBase getInstalledBase(oracle.apps.fnd.common.Context context)
public static java.lang.String getConfigInfo(long headerId,
long rev,
oracle.apps.fnd.common.Context ctx)
public oracle.apps.cz.cio.Configuration createConfiguration(int rootNodeID,
oracle.apps.fnd.common.Context ctx,
oracle.apps.cz.cio.IUserInterface userInterface,
java.util.Calendar modelLookupDate,
java.util.Calendar eff_date,
java.lang.String eff_usage_name,
java.lang.String sessionId,
oracle.apps.cz.utilities.NameValuePairSet initParameters,
double bomInitialQuantity)
throws LogicalException,
ModelLookupException,
oracle.apps.cz.utilities.EffectivityUsageException
startConfiguration Creates a new configuration based on a root model node ID representing a configurable product or component.rootNodeID - the ID of the DIO model node representing the product or configuration to be configured.ctx - the Context object representing the application contextuserInterface - the User Interface referencemodelLookupDate - is the publication date to be saved with any future saveeff_date - the Effectivity dateeff_usage_name - the Effectivity Usage NamesessionId - the name of the user interface sessioninitParameters - the session parametersbomInitialQuantity - the initial quantity of the root BOM Model. Pass 0 if not a BOM Model.LogicalException - if a logic failure is encountered when initializing the configuration.MissingFileException - if a logic file cannot be found in the active model pathModelLookupException - if the modelLookupDate is nulloracle.apps.cz.utilities.EffectivityUsageException - if the effectivity is not valid
public oracle.apps.cz.cio.Configuration createConfiguration(int inventoryItemId,
int organizationId,
java.util.Date explosionDate,
oracle.apps.fnd.common.Context ctx,
oracle.apps.cz.cio.IUserInterface userInterface,
java.util.Calendar modelLookupDate,
java.util.Calendar eff_date,
java.lang.String eff_usage_name,
java.lang.String sessionId,
oracle.apps.cz.utilities.NameValuePairSet initParameters,
double bomInitialQuantity)
throws LogicalException,
ModelLookupException,
BomExplosionException,
oracle.apps.cz.utilities.EffectivityUsageException
startConfiguration Creates a new BOM explosion configuration based on inventoryItemId, organizationId, and explosionDate representing a configurable product or component.inventoryItemId - the inventory item id of the BOM explosion modelorganizationId - the organization id of the BOM explosion modelexplosionDate - the effective date of the BOM explosion modelctx - the Context object representing the application contextuserInterface - the User Interface referencemodelLookupDate - is the publication date to be saved with any future saveeff_date - the Effectivity dateeff_usage_name - the Effectivity Usage NamesessionId - the name of the user interface sessioninitParameters - the session parametersbomInitialQuantity - the initial quantity of the root BOM Model. Pass 0 if not a BOM Model.LogicalException - if a logic failure is encountered when initializing the configuration.ModelLookupException - if the modelLookupDate is nulloracle.apps.cz.utilities.EffectivityUsageException - if the effectivity is not validBomExplosionException
public oracle.apps.cz.cio.Configuration restoreConfiguration(long configHeaderID,
long revNumber,
int rootNodeID,
oracle.apps.fnd.common.Context ctx,
oracle.apps.cz.cio.IUserInterface userInterface,
java.util.Calendar modelLookupDate,
java.util.Calendar eff_date,
java.lang.String eff_usage_name,
java.lang.String sessionId,
oracle.apps.cz.utilities.NameValuePairSet initParameters,
double bomInitialQuantity)
throws LogicalException,
ModelLookupException,
oracle.apps.cz.utilities.EffectivityUsageException
startConfiguration Restores a configuration from the database.configHeaderID - the ID of the header containing information identifying the configuration to be restored.revNumber - the revision number of the header containing information identifying the configuration to be restored.rootNodeID - the ID of the root model node that the configuration will be restored against. Pass -1 to restore the default.ctx - the Context object representing the application contextuserInterface - the User Interface referencemodelLookupDate - the publication date to be saved with any future saveeff_date - the Effectivity dateeff_usage_name - the Effectivity Usage NamesessionId - the name of the user interface sessioninitParameters - the session parametersbomInitialQuantity - the initial quantity of the root BOM Model. Pass 0 to restore the default or if not a BOM Model.LogicalException - if a logic failure is encountered when initializing the configuration.MissingFileException - if a logic file cannot be found in the active model pathModelLookupException - if the modelLookupDate is nulloracle.apps.cz.utilities.EffectivityUsageException - if the effectivity is not valid
public com.sun.java.util.collections.Collection getProperties(oracle.apps.cz.dio.model.DbModelNode node,
oracle.apps.fnd.common.Context context)
public oracle.apps.cz.cio.Property getPropertyByName(java.lang.String name,
oracle.apps.cz.dio.model.DbModelNode node,
oracle.apps.fnd.common.Context context)
public oracle.apps.cz.cio.Property getPropertyById(int id,
oracle.apps.cz.dio.model.DbModelNode node,
oracle.apps.fnd.common.Context context)
|
Oracle Configuration Interface Object API Specification Version: 11.5.10.23.13 Part No: B14186-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1999, 2004, Oracle. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.