|
Oracle® Mail Java API Reference 10g Release 1 (10.1.1) B14492-01 |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--oracle.mail.ldap.ESDSProcess
| Constructor Summary | |
ESDSProcess(ESDSAccess esdsAccess) |
|
| Method Summary | |
java.util.Vector |
addGroupInstance(java.util.Vector instanceDNs, java.lang.String processGroupName)This method takes a list of instance DNs and the process group names. |
void |
clearInstanceParameters(java.lang.String instanceDN)This method will clear all the values set for the target/instance. |
java.lang.String |
create(java.lang.String targetDN, ESDSLdapObject process)This method creates an instance for a process with the given target DN. |
java.lang.String |
createInstanceLike(java.lang.String instanceDN)This method creates an instance with the same attributes as those set in the given instance DN. |
void |
delete(java.lang.String instanceDN)This method deletes an instance represented by the given instance DN. |
ESDSLdapObject[] |
getAllInstances(java.lang.String targetDN, java.util.Vector attrsToFetch)This method gets all instances for the given process target DN. |
java.util.Hashtable |
getAllMailstoreParams(java.lang.String target, java.lang.String iasInstanceName)This method fetches all the mailstores associated with a given target and iAS instance and all relevant mailstore related parameters. |
java.util.Hashtable |
getAllMailstoreParams(java.lang.String target, java.lang.String hostName, java.lang.String oracleHome)This method fetches all the mailstores associated with a given target and a hostname-Oracle home and all relevant mailstore related parameters. |
java.lang.String[] |
getAllProcessGroups(java.lang.String prodType)This method returns names of all process groups. |
java.util.Hashtable |
getAllProductInstalls(java.lang.String prodType)This method returns the list of host names and their corresponding Oracle home values for the given product type(for email, its EMailServer). |
java.lang.String |
getAppServerHost(java.lang.String iasInstanceName)This method accepts an iAS instance name and returns the mid-tier host name associated with that iAS instance. |
java.lang.String |
getAppServerName(java.lang.String hostName, java.lang.String oracleHome)This method returns iAS instance name, given the host name and full path to Oracle home. |
java.lang.String |
getAppServerOracleHome(java.lang.String iasInstanceName)This method accepts an iAS instance name and returns the Oracle home associated with that iAS instance. |
java.util.Vector |
getAppServerTargets(java.lang.String iasInstanceName)This method returns all the target names available for a given iAS instance. |
ESDSLdapObject[] |
getGroupInstances(java.lang.String processGroupName, java.util.Vector attrsToFetch)This method gets all instances of a process target for a given process group name. |
java.lang.String |
getInstanceName(java.lang.String instanceDN)This method can be used to get the instance name given the instance DN. |
ESDSLdapObject |
getMetaData(java.lang.String DN)Deprecated. |
ESDSLdapObject |
getMetaData(java.lang.String DN, java.util.Vector attrsToFetch)Deprecated. |
java.lang.String[] |
getMidtierHosts(java.lang.String procType)This method returns all the hostnames of the mid-tiers that have a target entry in the DIT. |
java.util.Vector |
getOracleHomeTargets(java.lang.String hostName, java.lang.String oracleHome)This method returns all the target names available for the given hostname and Oracle home. |
java.lang.String[] |
getSMTPInsertOrder(java.lang.String instance)This method gets the mailstores associated with an instance/target with the returned mailstores ordered as per their insert order. |
java.lang.String |
getTargetDN(java.lang.String targetName, java.lang.String iasInstanceName)This method returns the DN of the target for the given target name and iAS instance name. |
java.lang.String |
getTargetDN(java.lang.String hostName, java.lang.String oraHome, java.lang.String targetName)This method returns the DN of the target for the given host and ORACLE_HOME. |
java.lang.String |
getTargetName(java.lang.String targetDN)This method can be used to get the target name given the target DN. |
ESDSLdapObject |
lookup(java.lang.String DN)This method can be used to lookup the attribute values in a process target or instance. |
ESDSLdapObject |
lookup(java.lang.String DN, java.util.Vector attrsToFetch)This method can be used to lookup the attribute values in a process target or instance. |
ESDSLdapObject |
lookupInstance(java.lang.String instanceDN, java.util.Vector attrsToFetch)Deprecated. |
ESDSAttributeValueList |
lookupMailstore(java.lang.String mailstore, java.util.Vector attrsToFetch)This method looks up a mailstore and returns the specified attributes |
ESDSLdapObject |
lookupMidtierGlobals(java.lang.String hostName, java.lang.String oraHome, java.util.Vector attrsToFetch)This method looks up the cn=mailProcessConfig entry for a given hostname and Oracle home and will return the requested attributes. |
ESDSLdapObject |
lookupMidtierGlobals(java.lang.String iasInstanceName, java.util.Vector attrsToFetch)This method looks up the cn=mailProcessConfig entry for a given iAS instance name and will return the requested attributes. |
void |
modify(java.lang.String processDN, ESDSLdapObject process)This method modifies a process target or instance in the directory. |
void |
modifyMailstore(java.lang.String mailstoreDN, ESDSModifyData mod)This method modifies a mailstore entry |
void |
modifyMidtierGlobals(java.lang.String iasInstanceName, ESDSLdapObject mtGlobals)This method modifies the mid-tier global attribute values stored in the cn=mailprocessconfig entry corresponding to the given iAS instance name. |
void |
modifyMidtierGlobals(java.lang.String hostName, java.lang.String oraHome, ESDSLdapObject mtGlobals)This method modifies the mid-tier global attribute values stored in the cn=mailprocessconfig entry corresponding to the given hostname and Oracle home. |
java.util.Vector |
modifyProcessMailstoreParams(java.lang.String target, java.lang.String iasInstanceName, java.util.Hashtable modData)This method modifies the instance entries of a target under a mailstore with the modification data provided. |
java.util.Vector |
modifyProcessMailstoreParams(java.lang.String target, java.lang.String hostName, java.lang.String oraHome, java.util.Hashtable modData)This method modifies the instance entries of a target under a mailstore with the modification data provided. |
java.util.Vector |
removeFromGroupInstance(java.util.Vector instanceDNs, java.lang.String processGroupName)This method takes a list of instance DNs and the process group name. |
java.util.Vector |
updateSMTPInsertOrder(java.lang.String[] mailstoreDNs, java.lang.String instance)This method updates the SMTP insert order value in instance/target entries under a mailstore. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ESDSProcess(ESDSAccess esdsAccess)
throws ESDSException
esdsAccess - An authenticated ESDSAccess object| Method Detail |
public java.util.Vector getAppServerTargets(java.lang.String iasInstanceName)
throws ESDSException
iasInstanceName - Name of the iAS instance
public java.util.Vector getOracleHomeTargets(java.lang.String hostName,
java.lang.String oracleHome)
throws ESDSException
hostName - Name of the mid-tier hostoracleHome - Full path of the Oracle home on that host
public java.lang.String getTargetDN(java.lang.String targetName,
java.lang.String iasInstanceName)
throws ESDSException
targetName - The name of the targetiasInstanceName - The iAS instance name
public java.lang.String getTargetDN(java.lang.String hostName,
java.lang.String oraHome,
java.lang.String targetName)
throws ESDSException
hostName - The middle-tier host nameoraHome - The middle tier ORACLE HOME(full path)targetName - The name of the target
public java.lang.String getTargetName(java.lang.String targetDN)
throws ESDSException
targetDN - DN of the target
public ESDSLdapObject getMetaData(java.lang.String DN,
java.util.Vector attrsToFetch)
throws ESDSException
DN - The DN of the target/instanceattrsToFetch - required attributes for the target/instance
public ESDSLdapObject getMetaData(java.lang.String DN)
throws ESDSException
DN - The DN of the target/instance
public ESDSLdapObject[] getAllInstances(java.lang.String targetDN,
java.util.Vector attrsToFetch)
throws ESDSException
targetDN - The DN of the targetattrsToFetch - A vector of strings containing the list of attribute names whose values are to be fetched
public java.lang.String getAppServerName(java.lang.String hostName,
java.lang.String oracleHome)
throws ESDSException
hostName - Name of mid-tier hostoracleHome - Full path to Oracle home
public java.lang.String getAppServerHost(java.lang.String iasInstanceName)
throws ESDSException
iasInstanceName - Name of the iAS instance
public java.lang.String getAppServerOracleHome(java.lang.String iasInstanceName)
throws ESDSException
iasInstanceName - Name of the iAS instance
public java.lang.String create(java.lang.String targetDN,
ESDSLdapObject process)
throws ESDSException
targetDN - The DN of the targetprocess - An ESDSLdapObject representing the new process
public void delete(java.lang.String instanceDN)
throws ESDSException
instanceDN - DN of the instance to be deleted
public void modify(java.lang.String processDN,
ESDSLdapObject process)
throws ESDSException
processDN - DN to be modified. Can be target or instance DNprocess - An ESDSLdapObject representing the modified process
public ESDSLdapObject lookupInstance(java.lang.String instanceDN,
java.util.Vector attrsToFetch)
throws ESDSException
instanceDN - DN of the instance to be looked upattrsToFetch - A vector containing list of attribute names whose values are to be fetched
public java.util.Hashtable getAllProductInstalls(java.lang.String prodType)
throws ESDSException
prodType - The product name for which the list of middle-tier host and Oracle homes are to be returned
public java.lang.String[] getAllProcessGroups(java.lang.String prodType)
throws ESDSException
prodType - The product name for which the process groups are needed
public ESDSLdapObject[] getGroupInstances(java.lang.String processGroupName,
java.util.Vector attrsToFetch)
throws ESDSException
processGroupName - The process group nameattrsToFetch - Vector of String objects containing list of attribute names whose values are to be fetches for each instance
public java.util.Vector addGroupInstance(java.util.Vector instanceDNs,
java.lang.String processGroupName)
throws ESDSException
instanceDNs - Vector of String objects containing the instance DNs to be added to the process groupprocessGroupName - Name of the process group
public java.util.Vector removeFromGroupInstance(java.util.Vector instanceDNs,
java.lang.String processGroupName)
throws ESDSException
instanceDNs - Vector of String objects containing the instance DNs to be removed from the process groupprocessGroupName - Name of the process group
public ESDSLdapObject lookupMidtierGlobals(java.lang.String hostName,
java.lang.String oraHome,
java.util.Vector attrsToFetch)
throws ESDSException
hostName - String containing the hostname of the mid-tier for which the global values are neededoraHome - String containing the Oracle home on the mid-tier for which the global values are neededattrsToFetch - Vector containing the attributes that need to be fetched. Cannot be null and should have at least one value
public ESDSLdapObject lookupMidtierGlobals(java.lang.String iasInstanceName,
java.util.Vector attrsToFetch)
throws ESDSException
iasInstanceName - String containing the iAS instance name of the mid-tier for which the global values are neededattrsToFetch - Vector containing the attributes that need to be fetched
public void modifyMidtierGlobals(java.lang.String hostName,
java.lang.String oraHome,
ESDSLdapObject mtGlobals)
throws ESDSException
hostName - String containing the hostname of the mid-tier for which the global values are neededoraHome - String containing the Oracle home on the mid-tier for which the global values are neededmtGlobals - ESDSLdapObject containing the modify data
public void modifyMidtierGlobals(java.lang.String iasInstanceName,
ESDSLdapObject mtGlobals)
throws ESDSException
iasInstanceName - String containing the iAS instance name of the mid-tier for which the global values are neededoraHome - String containing the Oracle home on the mid-tier for which the global values are neededmtGlobals - ESDSLdapObject containing the modify data
public java.util.Vector updateSMTPInsertOrder(java.lang.String[] mailstoreDNs,
java.lang.String instance)
throws ESDSException
mailstoreDNs - Order array of mailstore DNsinstance - The instance name
public java.lang.String getInstanceName(java.lang.String instanceDN)
throws ESDSException
instanceDN - DN of the instance
public java.lang.String[] getSMTPInsertOrder(java.lang.String instance)
throws ESDSException
instance - The name of the instance
public java.util.Hashtable getAllMailstoreParams(java.lang.String target,
java.lang.String iasInstanceName)
throws ESDSException
target - Name of the targetiasInstanceName - Name of the iAS instance
public java.util.Hashtable getAllMailstoreParams(java.lang.String target,
java.lang.String hostName,
java.lang.String oracleHome)
throws ESDSException
target - Name of the targethostName - Name of the mid-tier hostoracleHome - Oracle home on the mid-tier(full path)
public java.util.Vector modifyProcessMailstoreParams(java.lang.String target,
java.lang.String iasInstanceName,
java.util.Hashtable modData)
throws ESDSException
target - Name of the targetiasInstanceName - iAS instance name of the targetmodData - A hashtable with the key as the mailstore DN and the value as an ESDSModifyData object
public java.util.Vector modifyProcessMailstoreParams(java.lang.String target,
java.lang.String hostName,
java.lang.String oraHome,
java.util.Hashtable modData)
throws ESDSException
target - Name of the targethostName - iAS instance name of the mid-tier hostoraHome - Oracle home on the mid-tier(full path)modData - A hashtable with the key as the mailstore DN and the value as an ESDSModifyData object
public ESDSAttributeValueList lookupMailstore(java.lang.String mailstore,
java.util.Vector attrsToFetch)
throws ESDSException
mailstore - Name of the mailstoreattrsToFetch - Vector containing the attributes to be fetched
public void modifyMailstore(java.lang.String mailstoreDN,
ESDSModifyData mod)
throws ESDSException
mailstoreDN - DN of the mailstore to be modifiedmod - Object containing the modification data
public java.lang.String[] getMidtierHosts(java.lang.String procType)
throws ESDSException
processType - The email server process type(like imap, smtp_in etc). These are defined as constants in the ESDSConstants class.
public ESDSLdapObject lookup(java.lang.String DN)
throws ESDSException
DN - The DN of the entry being looked up. Should be either a process target or instance
public ESDSLdapObject lookup(java.lang.String DN,
java.util.Vector attrsToFetch)
throws ESDSException
DN - The DN of the entry being looked up. Should be either a process target or instanceattrsToFetch - The list of required attributes for target/instance
public void clearInstanceParameters(java.lang.String instanceDN)
throws ESDSException
instanceDN -
public java.lang.String createInstanceLike(java.lang.String instanceDN)
throws ESDSException
instanceDN - The instance to be "created like"
|
Oracle® Mail Java API Reference 10g Release 1 (10.1.1) B14492-01 |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||