|
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.ESDSDirServerAccess
This class provides the DS API's for Email Server 6.0.
Constructor Summary | |
ESDSDirServerAccess() Constructor, Default debugmode is off |
|
ESDSDirServerAccess(boolean debug) Constructor for Debug Mode |
|
ESDSDirServerAccess(OESContext cx) Constructor for Debug Mode, Default debugmode is off |
|
ESDSDirServerAccess(OESContext cx, boolean debug) Constructor for Debug Mode |
Method Summary | |
void |
CreateContactInfo(OESContext oesctx, ESDSLdapObject contactinfo) Deprecated. |
java.util.Hashtable |
CreateDistributionList(OESContext oesctx, ESDSLdapObject list, java.util.Hashtable members) Deprecated. |
void |
CreateMailUser(OESContext oesctx, java.lang.String publicUserDN, ESDSLdapObject mailuser) Deprecated. |
void |
CreatePrivateList(OESContext oesctx, ESDSLdapObject privatelist) Deprecated. |
void |
DeleteContactInfo(OESContext oesctx, java.lang.String contactName) Deprecated. |
void |
DeleteDistributionList(OESContext oesctx, java.lang.String emailId) Deprecated. |
void |
DeleteMailUser(OESContext oesctx, java.lang.String emailId) Deprecated. |
void |
DeletePrivateList(OESContext oesctx, java.lang.String listName) Deprecated. |
java.util.Vector |
ESDSAddEntry(ESDSContext ctx, ESDSAddData[] data) This method adds an entry to the directory. |
java.util.Vector |
ESDSAddEntry(ESDSContext ctx, ESDSAddData[] data, boolean toContinue) This method adds an entry to the directory. |
ESDSContext |
ESDSClientLogon(ESDSContext serverContext, java.lang.String method, ESDSAuthObject logonParams) This method is going to be called when a server logons on on behalf of a client, say for example, imap for mailuser. |
ESDSContext |
ESDSClientLogon(java.lang.String ldapHost, java.lang.String ldapPort, java.lang.String method, ESDSAuthObject logonParams) This method is going to be called to logon a client (mailuser etc.) It will check if the client ctx has a key to pool, if not then will call connectAs repository API to logon as a APP type. |
void |
ESDSConfigureProcessInstanceDBPool(ESDSContext ctx, java.lang.String instanceName, java.lang.String mailStoreDn, java.util.Hashtable poolParams) Deprecated. |
void |
ESDSCreateContactInfo(ESDSContext ctx, ESDSLdapObject contactinfo) Deprecated. |
java.util.Hashtable |
ESDSCreateDistributionList(ESDSContext ctx, ESDSLdapObject list, boolean ifPrivate, java.util.Hashtable members) Deprecated. |
java.util.Hashtable |
ESDSCreateDistributionList(ESDSContext ctx, ESDSLdapObject list, java.lang.String domain, java.util.Hashtable members) This method creates a public distribution list object in the directory. |
void |
ESDSCreateDomain(ESDSContext ctx, java.lang.String installationName, java.lang.String domainName, java.lang.String parentDomain) This method creates a domain object in the directory. |
void |
ESDSCreateMailUser(ESDSContext context, java.sql.Connection conn, java.lang.String publicUser, ESDSLdapObject mailuser, int provisioningType) Deprecated. |
void |
ESDSCreateMailUser(ESDSContext context, java.sql.Connection conn, java.lang.String publicUser, java.lang.String domain, ESDSLdapObject mailuser, int provisioningType) This method creates a mailuser in the directory and db. |
void |
ESDSCreateMailUser(ESDSContext context, java.lang.String publicUser, ESDSLdapObject mailuser, int provisioningType) Deprecated. |
void |
ESDSCreateMailUser(ESDSContext context, java.lang.String publicUser, java.lang.String domain, ESDSLdapObject mailuser, int provisioningType) This method creates a mailuser in the directory and db. |
void |
ESDSCreatePrivateList(ESDSContext ctx, ESDSLdapObject list) Deprecated. |
java.lang.String |
ESDSCreateProcess(ESDSContext ctx, java.lang.String targetName, ESDSLdapObject process) Deprecated. |
void |
ESDSCreatePublicAlias(ESDSContext ctx, ESDSLdapObject alias, java.lang.String domain) |
void |
ESDSCreateRule(ESDSContext ctx, java.lang.String ruleType, java.lang.String instalOrDomainOrEmail, java.util.Vector ruleData) This method creates a Rule object in the directory. |
void |
ESDSCreateSharedFolder(ESDSContext context, java.lang.String folderName, ESDSLdapObject folder) This method creates a shared folder in the directory. |
void |
ESDSCreateSharedFolder(ESDSContext context, java.lang.String folderName, ESDSLdapObject folder, boolean ifPublic) This method creates a shared folder in the directory. |
void |
ESDSDeleteContactInfo(ESDSContext ctx, java.lang.String contactName) Deprecated. |
void |
ESDSDeleteDistributionList(ESDSContext ctx, java.lang.String listName, boolean ifPrivate) This method deletes a dl. |
void |
ESDSDeleteDomain(ESDSContext ctx, java.lang.String installationName, java.lang.String domainName) This method deletes the partially created email domain. |
void |
ESDSDeleteEntry(ESDSContext ctx, java.lang.String dn) This method deletes an entry from the directory. |
void |
ESDSDeleteMailStore(ESDSContext ctx, java.lang.String installationName, java.lang.String domainName, java.lang.String mailStore) This method deletes a mailstore object in the directory. |
void |
ESDSDeleteMailUser(ESDSContext ctx, java.sql.Connection conn, java.lang.String mailUser, int provisioningType) This method deletes a mailuser. |
void |
ESDSDeleteMailUser(ESDSContext ctx, java.lang.String mailUser, int provisioningType) This method deletes a mailuser. |
void |
ESDSDeletePrivateList(ESDSContext ctx, java.lang.String list) Deprecated. |
void |
ESDSDeleteProcess(ESDSContext ctx, java.lang.String processDN) Deprecated. |
void |
ESDSDeletePublicAlias(ESDSContext ctx, java.lang.String aliasName, java.lang.String domain) This method deletes an alias object in the directory. |
void |
ESDSDeleteRule(ESDSContext ctx, java.lang.String ruleType, java.lang.String instalOrDomainOrEmail) This method deletes an existing rule object in the directory. |
void |
ESDSDeleteSharedFolder(ESDSContext ctx, java.lang.String folderName) This method deletes a shared folder from the directory. |
void |
ESDSDeProvisionOIDGrp(ESDSContext ctx, java.lang.String domain, java.lang.String grpMailid) |
ESDSLdapObject |
ESDSGetAliasMetaData(ESDSContext ctx, java.lang.String domain) This method returns the metadata for a DL Must call ESDSLogon before this. |
ESDSAttributeValueList[] |
ESDSGetAllInstances(ESDSContext context, java.lang.String targetName) Deprecated. |
java.lang.String[] |
ESDSGetAllMailStores(ESDSContext ctx, java.lang.String installationName) This method returns all the mailstore dns for the given installation. |
java.lang.String[] |
ESDSGetAllMailStores(ESDSLdapHandle handle, java.lang.String installationName) |
java.util.Hashtable |
ESDSGetAllSubscribers(ESDSContext ctx) |
java.util.Vector |
ESDSGetAllTargets(ESDSContext context, java.lang.String installationName) Deprecated. |
ESDSAttributeValueList[] |
ESDSGetAttributes(ESDSContext ctx, java.lang.String searchBase, java.lang.String filter, java.util.Vector attributeNames) This method searches the directory for the given filter with the given searchbase and returns the value/values of attributes. |
ESDSAttributeValueList[] |
ESDSGetAttributes(ESDSContext ctx, java.lang.String searchBase, java.lang.String filter, java.util.Vector attributeNames, javax.naming.directory.SearchControls ctl) This method searches the directory for the given filter with the given searchbase and returns the value/values of attributes. |
ESDSAttributeValueList[] |
ESDSGetAttributes(ESDSContext ctx, java.lang.String filter, java.util.Vector attributeNames) This method searches the directory for the given filter and returns the value/values of attributes. |
ESDSAttributeValueList[] |
ESDSGetAttributes(java.lang.String searchBase, java.lang.String filter, java.util.Vector attributeNames, javax.naming.directory.SearchControls ctl, ESDSLdapHandle conn) This method searches the directory for the given filter with the given searchbase and returns the value/values of attributes. |
ESDSLdapObject |
ESDSGetContactInfoMetaData(ESDSContext ctx) Deprecated. |
java.lang.String[] |
ESDSGetContacts(ESDSContext ctx) Deprecated. |
java.lang.String[] |
ESDSGetContacts(ESDSContext ctx, java.lang.String searchCriteria) Deprecated. |
int |
ESDSGetDBUserID(ESDSContext ctx, java.lang.String mailid) This method returns the database userid of an email user. |
ESDSLdapObject |
ESDSGetDLMetaData(ESDSContext context, java.lang.String domain) This method returns the metadata for a DL Must call ESDSLogon before this. |
ESDSLdapObject |
ESDSGetDomainPreferences(ESDSContext ctx, java.lang.String installationName, java.lang.String domainName, java.lang.String preferenceType) This method returns the domain preferences depending on the type of pref. |
java.util.Vector |
ESDSGetDomains(ESDSContext ctx, java.lang.String installionName) This method returns the list of domains for a given installation. |
ESDSLdapObject[] |
ESDSGetEntriesManagedByUser(ESDSContext ctx, java.lang.String usermailid, java.lang.String[] types, java.util.Vector attrsToFetch) This API returns the list of entries the given mailuser owns for the given types. |
ESDSAttributeValueList |
ESDSGetEntry(ESDSContext context, java.lang.String dn, java.util.Vector attributeNames) This method looks up an entry in the directory. |
java.util.Vector |
ESDSGetInstallations(ESDSContext ctx) This method returns the list of installations. |
java.lang.String[] |
ESDSGetMailstoreConnectString(ESDSContext ctx, java.lang.String mailstoreDN) This method returns the mailstore connect info for a given mailstoredn. |
java.lang.String[] |
ESDSGetMailstoreConnectString(ESDSContext ctx, java.lang.String installation, java.lang.String globaldbname) This method returns the mailstore connect info for a given mailstore. |
java.lang.String[] |
ESDSGetMailstoreDBNames(ESDSContext ctx, java.lang.String installation) This method creates returns the list of global database names for a given installation. |
java.lang.String[] |
ESDSGetMailstoreGuestConnectInfo(ESDSContext ctx, java.lang.String mailstoreDN) This method returns the mailstore connect info for a given mailstoredn. |
java.lang.String[] |
ESDSGetMailstoreInfo(ESDSContext ctx, java.lang.String installation, java.lang.String globaldbname) This method returns the mailstore info for a given installation and global database name. |
ESDSLdapObject |
ESDSGetMailStoreMetaData(ESDSContext ctx, java.lang.String mailstoredn) This method returns the metadata for the given Mailstore DN. |
ESDSAttributeValueList |
ESDSGetMailUserDBParams(ESDSContext context) This method returns the mailstore attributes for a mailuser. |
ESDSLdapObject |
ESDSGetMailUserMetaData(ESDSContext context, java.lang.String domain) This method returns the metadata for a mailuser. |
ESDSLdapObject |
ESDSGetPrivateListMetaData(ESDSContext ctx) Deprecated. |
java.lang.String[] |
ESDSGetPrivateLists(ESDSContext ctx) Deprecated. |
java.lang.String[] |
ESDSGetPrivateLists(ESDSContext ctx, java.lang.String searchCriteria) Deprecated. |
ESDSAttributeValueList[] |
ESDSGetProcessDBParams(ESDSContext context, java.util.Vector mailstoredns) This method returns the mailstore attributes for a process. |
java.util.Hashtable |
ESDSGetProcessInstanceDBPoolParams(ESDSContext ctx, java.lang.String instanceName, java.lang.String mailStoreDn) Deprecated. |
ESDSLdapObject |
ESDSGetProcessMetaData(ESDSContext context, java.lang.String targetName) Deprecated. |
java.util.Hashtable |
ESDSGetPublicFolderAciForUser(ESDSContext context, java.lang.String memberName) Given a mail user, returns all the public folder aci's for the user. |
java.util.Hashtable |
ESDSGetPublicGroups(ESDSContext ctx, java.lang.String SearchCriteria, java.lang.String SubscriberDN) |
java.util.Hashtable |
ESDSGetPublicGroupsNotProvisioned(ESDSContext ctx, java.lang.String SubscriberDN) |
java.util.Hashtable |
ESDSGetPublicGroupsNotProvisioned(ESDSContext ctx, java.lang.String SubscriberDN, java.lang.String cnFilter) |
java.util.Hashtable |
ESDSGetRule(ESDSContext ctx, java.lang.String ruleType, java.lang.String instalOrDomainOrEmail) This method modifies an existing rule object in the directory. |
java.util.Hashtable |
ESDSGetSharedFolderAci(ESDSContext context, java.lang.String folderName) Given a folder, returns all it's members and their ACI's |
java.util.Hashtable |
ESDSGetSharedFolderAci(ESDSContext context, java.lang.String folderName, boolean fetchPublicAci) Given a folder, returns all it's members and their ACI's Folder ACIs due to DL membership will not be calculated when the system property oracle.mail.ldap.folder.dlmembership is set to false. |
java.util.Hashtable |
ESDSGetSharedFolderAciForUser(ESDSContext context, java.lang.String memberName) Given a member, returns all the aci's for that member to all folders he/she has subscribed to Folder ACIs due to DL membership will not be calculated when the system property oracle.mail.ldap.folder.dlmembership is set to false. |
java.util.Hashtable |
ESDSGetSharedFolderAciForUser(ESDSContext context, java.lang.String memberName, boolean fetchPublicAci) Given a member, returns all the aci's for that member to all folders he/she has subscribed to Folder ACIs due to DL membership will not be calculated when the system property oracle.mail.ldap.folder.dlmembership is set to false. |
java.util.Hashtable |
ESDSGetSharedFolderAciForUser(ESDSContext context, java.lang.String folderName, java.lang.String memberName) Given a member, returns all the aci's for that member for the given folder |
java.util.Hashtable |
ESDSGetSharedFolderAciForUser(ESDSContext context, java.lang.String folderName, java.lang.String memberName, boolean fetchPublicAci) Given a member, returns all the aci's for that member for the given folder Folder ACIs due to DL membership will not be calculated when the system property oracle.mail.ldap.folder.dlmembership is set to false. |
ESDSAttributeValueList |
ESDSGetSharedFolderCreatorsInfo(ESDSContext ctx, java.lang.String folderName) Given a folder, returns the creators info |
ESDSAttributeValueList |
ESDSGetSharedFolderCreatorsInfo(ESDSContext ctx, java.lang.String folderName, boolean ifDisplayName) Given a folder, returns the creators info |
ESDSLdapObject |
ESDSGetSharedFolderMetaData(ESDSContext context) This method returns the metadata for a shared folder. |
java.lang.String[] |
ESDSGetSubscribedDLs(ESDSContext ctx, java.lang.String userMailID) This method returns the list of DL's a user is subscribed to. |
void |
ESDSInitialization(ESDSContext ctx, int minSize, int initialSize, int maxSize, int incrementSize, int shrinkingTimeOutInterval, int timeOutInterval) This method will initialize the ldap pool. |
boolean |
ESDSIsAPartiallyCreatedEntry(ESDSContext ctx, java.lang.String installationName, java.lang.String entryType, java.lang.String entryName) This method checks to see if the entry is a valid one or not. |
boolean |
ESDSIsInheritedAciExists(ESDSContext context, ESDSLdapHandle handle, java.lang.String folder) |
boolean |
ESDSIsInheritedAciExists(ESDSContext context, ESDSLdapHandle handle, java.lang.String folder, java.lang.String member, java.util.Vector vectfolderAci, java.util.Vector vectRecursiveAci, java.util.Vector vectUserfolderAci, int flag) |
boolean |
ESDSIsInheritedAciExists(ESDSContext context, java.lang.String folderName, java.lang.String memberName) |
int |
ESDSLogoff(ESDSContext ctx) This method is called to log off. |
ESDSContext |
ESDSLogon(java.lang.String callerType, java.lang.String callerDN, java.lang.String oraHome) Authenticates a server or an applications to the directory and return the ESDSContext of the server or app. |
ESDSContext |
ESDSLogon(java.lang.String ldapHost, java.lang.String ldapPort, java.lang.String method, ESDSAuthObject logonParams) Authenticates a server or an applications to the directory and return the ESDSContext. |
ESDSLdapObject |
ESDSLookupContact(ESDSContext ctx, java.lang.String contactName) Deprecated. |
ESDSLdapObject |
ESDSLookupDistributionList(ESDSContext ctx, java.lang.String mailId) This method looks up a DL. |
ESDSLdapObject |
ESDSLookupDomain(ESDSContext ctx, java.lang.String domain) This method will lookup a given domain name and return an ESDSLdapObject. |
ESDSLdapObject |
ESDSLookupMailProcessConfig(ESDSContext ctx, java.lang.String host, java.lang.String oraHome, java.lang.String prodType, java.util.Vector attrsToFetch) Deprecated. |
ESDSAttributeValueList |
ESDSLookupMailStore(ESDSContext ctx, java.lang.String mailstoredn) This method returns the mailstore attributes for the given mailstoredn. |
ESDSLdapObject |
ESDSLookupMailUser(ESDSContext ctx, java.lang.String mailId) This method looks up a mailuser. |
ESDSLdapObject |
ESDSLookupMailUser(ESDSContext ctx, java.lang.String mailId, java.util.Vector attrsToFetch) This method looks up a mailuser. |
ESDSLdapObject |
ESDSLookupPrivateList(ESDSContext ctx, java.lang.String listName) Deprecated. |
ESDSLdapObject |
ESDSLookupProcessInstance(ESDSContext ctx, java.lang.String instanceDN) Deprecated. |
ESDSLdapObject |
ESDSLookupPublicAlias(ESDSContext ctx, java.lang.String aliasName, java.lang.String domain) This method looks up an alias object in the directory for the given domain. |
ESDSAttributeValueList |
ESDSLookupSharedFolder(ESDSContext context, java.lang.String folderName) This method returns all folder attribute values if the folder exists in LDAP, returns null if folder doesn't exist in LDAP. |
void |
ESDSManageDomainAdmins(ESDSContext ctx, java.lang.String mailid, java.lang.String domain, int operationType) Adds/Removes a mailuser to/from the domain admin list |
void |
ESDSModifyContactInfo(ESDSContext ctx, ESDSLdapObject contactinfo) Deprecated. |
void |
ESDSModifyDistributionList(ESDSContext ctx, java.lang.String mailOrName, ESDSLdapObject list, boolean ifPrivate) This method modifies a distribution list object in the directory. |
java.util.Vector |
ESDSModifyDLMembers(ESDSContext ctx, java.lang.String list, boolean ifPrivate, java.lang.String modificationType, java.lang.String memberType, java.util.Vector members) This method modifies the members of a dl. |
void |
ESDSModifyDomainPreferences(ESDSContext ctx, java.lang.String installationName, java.lang.String domainName, java.lang.String preferenceType, ESDSLdapObject preferences) This method modifies the domain preferences for a domain in the directory. |
void |
ESDSModifyEntry(ESDSContext ctx, java.lang.String dn, ESDSModifyData data) This method modifies an entry in the directory. |
void |
ESDSModifyMailProcessConfig(ESDSContext ctx, java.lang.String host, java.lang.String oraHome, java.lang.String prodType, ESDSLdapObject conf) Deprecated. |
void |
ESDSModifyMailStore(ESDSContext ctx, java.lang.String mailStoreDN, ESDSLdapObject mailStore) This method modifies a mailstore object in the directory. |
void |
ESDSModifyMailUser(ESDSContext ctx, java.lang.String mailId, ESDSLdapObject mailUser) This method modifies a mailuser in the directory. |
void |
ESDSModifyPrivateList(ESDSContext ctx, ESDSLdapObject list) Deprecated. |
void |
ESDSModifyProcess(ESDSContext ctx, java.lang.String targetName, ESDSLdapObject process) Deprecated. |
void |
ESDSModifyProcessInstance(ESDSContext ctx, java.lang.String instanceDN, ESDSLdapObject process) Deprecated. |
void |
ESDSModifyPublicAlias(ESDSContext ctx, java.lang.String aliasName, java.lang.String domain, ESDSLdapObject alias) This method modifies an alias object in the directory. |
void |
ESDSModifyRule(ESDSContext ctx, java.lang.String ruleType, java.lang.String instalOrDomainOrEmail, java.util.Vector ruleData) This method modifies an existing rule object in the directory. |
void |
ESDSModifySharedFolder(ESDSContext ctx, java.lang.String folderName, ESDSLdapObject folder) This method modifies a shared folder in the directory. |
void |
ESDSProvisionOIDGrpForMail(ESDSContext ctx, java.lang.String domain, java.lang.String oidGrpDN, ESDSLdapObject Attrs, boolean ifExists) |
java.util.Hashtable |
ESDSPublicGroupsAlreadyProvisioned(ESDSContext ctx, java.lang.String SubscriberDN) |
java.util.Hashtable |
ESDSPublicGroupsAlreadyProvisioned(ESDSContext ctx, java.lang.String SubscriberDN, java.lang.String mailcnFilter) |
ESDSLdapObject[] |
ESDSQueryContacts(ESDSContext ctx, java.lang.String searchCriteria, java.util.Vector attrsToFetch) Deprecated. |
ESDSLdapObject[] |
ESDSQueryPrivateLists(ESDSContext ctx, java.lang.String searchCriteria, java.util.Vector attrsToFetch) Deprecated. |
java.util.Vector |
ESDSQueryUsers(ESDSContext ctx, java.lang.String userQuery, java.lang.String domainName, int sizeLimit, boolean sortResults) This method queries the mailusers based on the search criteria. |
java.util.Vector |
ESDSQueryUsers(ESDSContext ctx, java.lang.String userQuery, java.lang.String domainName, int sizeLimit, java.lang.String sortingAttr, java.util.Vector attrsToFetch) This method queries the mailusers based on the search criteria. |
void |
ESDSRenameSharedFolder(ESDSContext context, java.lang.String oldFolderName, java.lang.String newFolderName) This method renames a shared folder in the directory. |
void |
ESDSRenameUserEmail(ESDSContext ctx, java.lang.String oldmailId, java.lang.String newmailId) This method renames a mailuser. |
void |
ESDSRepairCreatedDomain(ESDSContext ctx, java.lang.String installationName, java.lang.String domainName, java.lang.String parentDomain) This method completes the creation of a partially created email domain and the containers in the directory. |
java.lang.String |
ESDSResolveEmailID(ESDSContext ctx, java.lang.String mailId) This method resolves a mailID. |
java.util.Hashtable |
ESDSResolveEntry(ESDSContext ctx, java.lang.String entryName, java.lang.String entryType, java.lang.String resolutionType, boolean ifPrivate, boolean sortResultSet, int sizeLimit) Deprecated. |
ESDSMemberList |
ESDSResolveName(ESDSContext ctx, java.lang.String entryName, java.lang.String resolutionType, java.lang.String domainName, int sortResultSet, int sizeLimit) Deprecated. |
ESDSMemberList |
ESDSResolvePrivateList(ESDSContext ctx, java.lang.String listName, java.lang.String resolutionType) Deprecated. |
java.util.Vector |
ESDSSearchDLs(ESDSContext ctx, java.lang.String dlQueryString, java.lang.String domainName, int sizeLimit) This method queries for lists based on the given search criteria. |
java.util.Vector |
ESDSSearchDLs(ESDSContext ctx, java.lang.String dlQueryString, java.lang.String domainName, int sizeLimit, java.lang.String sortingAttr, java.util.Vector attrsToFetch) This method queries for lists based on the given search criteria. |
java.util.Hashtable |
ESDSSearchMembersInDL(ESDSContext ctx, java.lang.String dlEmailID, java.lang.String memberQueryString, java.lang.String memberType, int sizeLimit) This method looks up the given list, resolves it and returns only the members matching the query criteria. |
java.util.Hashtable |
ESDSSearchMembersInDL(ESDSContext ctx, java.lang.String dlEmailID, java.lang.String memberQueryString, java.lang.String memberType, int sizeLimit, java.util.Vector attrsToFetch) This method looks up the given list, resolves it and returns only the members matching the query criteria. |
java.lang.String[] |
ESDSSearchPublicAliases(ESDSContext ctx, java.lang.String searchCriteria, java.lang.String domain) This method searches for public aliases for the given domain depending on the search criteria. |
java.util.Vector |
ESDSSearchPublicAliases(ESDSContext ctx, java.lang.String query, java.lang.String domainName, int sizeLimit) This method searches for public aliases for the given domain depending on the search criteria. |
java.util.Vector |
ESDSSearchPublicAliases(ESDSContext ctx, java.lang.String query, java.lang.String domainName, int sizeLimit, java.lang.String sortingAttr, java.util.Vector attrsToFetch) This method searches for public aliases for the given domain depending on the search criteria. |
void |
ESDSSetSharedFolderAci(ESDSContext context, java.lang.String folderName, ESDSLdapObject folder) Given a user/dl/group and Shared folder ; set the aci of the user/dl/group |
void |
ESDSSetSharedFolderAci(ESDSContext context, java.lang.String folderName, ESDSLdapObject folder, int flags) Given a user/dl/group and Shared folder ; set the aci of the user/dl/group |
void |
ESDSSetUserObjectID(ESDSContext userCtx, long userid) This method updates the orclobjectid of the user in case of on demand database record creation of user |
void |
ESDSUpdatePubUserRefs(ESDSContext ctx, java.lang.String oldDN, java.lang.String newDN) This method updates all public user references when a public user is renamed This API needs to be called by the admin whenever the public user is renamed This API queries and updates all the public user references to the new DN. |
java.lang.String[] |
GetAllContacts(OESContext oesctx) Deprecated. |
java.lang.String[] |
GetAllPrivateLists(OESContext oesctx) Deprecated. |
ESDSLdapObject |
GetContactInfoMetaData(OESContext oesctx) Deprecated. |
ESDSLdapObject |
GetDistributionListMetaData(OESContext oesctx, java.lang.String domain) Deprecated. |
ESDSAttributeValueList |
GetEntry(java.lang.String dn, java.util.Vector attributeNames, ESDSLdapHandle conn) |
ESDSLdapObject |
GetMailUserMetaData(OESContext oesctx, java.lang.String domain) Deprecated. |
java.util.Vector |
getParentDomains(ESDSLdapHandle handle, java.lang.String domain, java.lang.String installdn) |
ESDSLdapObject |
GetPrivateListMetaData(OESContext oesctx) Deprecated. |
ESDSAttributeValueList |
inheritDefaultValues(ESDSLdapHandle handle, java.util.Vector parentDNs, java.lang.String entryType) |
ESDSLdapObject |
LookupContactInfo(OESContext oesctx, java.lang.String contactName) Deprecated. |
ESDSLdapObject |
LookupDistributionList(OESContext oesctx, java.lang.String emailId) Deprecated. |
ESDSLdapObject |
LookupMailUser(OESContext oesctx, java.lang.String emailId) Deprecated. |
ESDSLdapObject |
LookupPrivateList(OESContext oesctx, java.lang.String listName) Deprecated. |
void |
ModifyContactInfo(OESContext oesctx, ESDSLdapObject contactinfo) Deprecated. |
void |
ModifyDistributionList(OESContext oesctx, java.lang.String emailId, ESDSLdapObject dl) Deprecated. |
java.util.Vector |
ModifyDistributionListMembers(OESContext oesctx, java.lang.String emailId, java.lang.String modificationType, java.lang.String memberType, java.util.Vector members) Deprecated. |
void |
ModifyMailUser(OESContext oesctx, java.lang.String emailId, ESDSLdapObject mailUser) Deprecated. |
void |
modifyNestedDlParentAttr(ESDSContext ctx, java.lang.String modificationType, java.lang.String listDN, java.util.Vector parentsDlDNAttrList) |
void |
ModifyPrivateList(OESContext oesctx, ESDSLdapObject privatelist) Deprecated. |
java.util.Hashtable |
ResolveDistributionList(OESContext oesctx, java.lang.String emailId) Deprecated. |
java.util.Vector |
ResolvePrivateList(OESContext oesctx, java.lang.String listName, java.lang.String resolutionType) Deprecated. |
java.lang.String[] |
SearchContacts(OESContext oesctx, java.lang.String searchCriteria) Deprecated. |
java.lang.String[] |
SearchPrivateLists(OESContext oesctx, java.lang.String searchCriteria) Deprecated. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ESDSDirServerAccess()
void
-public ESDSDirServerAccess(boolean debug)
debug
- True if running in debug modepublic ESDSDirServerAccess(OESContext cx)
cx
- The OESContext, which is the global context for all applicationspublic ESDSDirServerAccess(OESContext cx, boolean debug)
cx
- The OESContext, which is the global context for all applicationsdebug
- True if running in debug modeMethod Detail |
public ESDSContext ESDSLogon(java.lang.String ldapHost, java.lang.String ldapPort, java.lang.String method, ESDSAuthObject logonParams) throws ESDSException
ldapHost
- LDAPHostnameldapPort
- LDAP Portmethod
- type of connection DS_LOGON_ANONYMOUS, DS_LOGON_SIMPLE, DS_LOGON_SSL, DS_LOGON_SASL defined in ESDSConstantslogonParams
- Logonparams depends on the type of authentication method selected. If the method is DS_LOGON_ANONYMOUS, then it's null, if the method is DS_LOGON_SIMPLE, then set simple auth methods of ESDSAuthObject. Similar methods to be provided for SSL, and SASL. Pass the type of caller in the logon params (refer ESDSAuthObject)public ESDSContext ESDSLogon(java.lang.String callerType, java.lang.String callerDN, java.lang.String oraHome) throws ESDSException
callerType
- The caller typecallerDN
- DN of the server instance if the caller type is DS_CALLERTYPE_SERVER, else nulloracleHome
- The full path for the oracle home.public ESDSContext ESDSClientLogon(ESDSContext serverContext, java.lang.String method, ESDSAuthObject logonParams) throws ESDSException
serverContext
- The server's contextmethod
- type of connection DS_LOGON_ANONYMOUS, DS_LOGON_SIMPLE, DS_LOGON_SSL, DS_LOGON_SASLlogonParams
- Logonparams depends on the type of authentication method selected. If the method is DS_LOGON_ANONYMOUS, then it's null, if the method is DS_LOGON_SIMPLE, then it's set simple auth methods of ESDSAuthObject. Similar methods to be provided for SSL, and SASL. Pass the type of caller in the logon params (refer ESDSAuthObject, pass ESDSConstants.DS_CALLERTYPE_MAILUSER for the mailusers)public ESDSContext ESDSClientLogon(java.lang.String ldapHost, java.lang.String ldapPort, java.lang.String method, ESDSAuthObject logonParams) throws ESDSException
ldapHost
- LDAPHostname null while running in ias environmentldapPort
- LDAP Port null while running in ias environmentmethod
- type of connection DS_LOGON_ANONYMOUS, DS_LOGON_SIMPLE, DS_LOGON_SSL, DS_LOGON_SASLlogonParams
- Logonparams depends on the type of authentication method selected. If the method is DS_LOGON_ANONYMOUS, then it's null, if the method is DS_LOGON_SIMPLE, then set simple auth methods of ESDSAuthObject. Similar methods to be provided for SSL, and SASL. Pass the type of caller in the logon params (refer ESDSAuthObject, pass ESDSConstants.DS_CALLERTYPE_MAILUSER for mailusers )public void ESDSInitialization(ESDSContext ctx, int minSize, int initialSize, int maxSize, int incrementSize, int shrinkingTimeOutInterval, int timeOutInterval) throws ESDSException
ctx
- The Server ContextminSize
- Minimun Size of the connection poolinitialSize
- Initial Size of the connection poolmaxSize
- Maximum Size of the connection poolincrementSize
- Pool increment SizeshrinkingTimeOutInterval
- Pool Srinkage Time In secstimeOutInterval
- Timeout Interval For Getting A Connection. In other words when all conns in pool are in use, if any incoming requests comes in, it will wait for max this amount of time (thread sleeps for this amount of time, but if a free conn is available within this time it gets notified, so only in worst case if no conns get freed up, this timeout comes into picture). The second scenario is, if the ldap server goes down, we try to reconnect, it will wait for timeout amount of time before it reconnects. Starting reconnect EBF: a new system property is defined - oracle.mail.ldap.reconnecttime to have the reconnect time in secs. If we experience any ldap server connection errors, it will wait for this amount of time and then try to reconnect. If set to 0, then will retry immediately without waiting.public ESDSLdapObject GetMailUserMetaData(OESContext oesctx, java.lang.String domain) throws ESDSException
oesctx
- The caller's OES context. This must have been an authenticated oes context.domain
- The domain under which users will be created. for eg, for us.oracle.compublic void CreateMailUser(OESContext oesctx, java.lang.String publicUserDN, ESDSLdapObject mailuser) throws ESDSException
oesctx
- The caller's OES context. This must have been an authenticated oes context.publicUser
- The public user dn. This is the public user at the organizational level. This user must have been created prior to creating the mailuser.mailUser
- The mail user attribute and values.public ESDSLdapObject LookupMailUser(OESContext oesctx, java.lang.String emailId) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.emailId
- The fully qualified emailid of the user. For ex., user1@oracle.com.public void ModifyMailUser(OESContext oesctx, java.lang.String emailId, ESDSLdapObject mailUser) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.emailId
- The fully qualified emailid of the user to be modified. For ex., user1@oracle.com.mailUser
- The new data for modification. It can be set using the modifyAttributeValue method of the ESDSLdapObject class. The caller needs to specify the type of modification. The list of allowed modifications are as follows.
public void DeleteMailUser(OESContext oesctx, java.lang.String emailId) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.emailId
- The fully qualified emailid of the user to be deleted. For ex., user1@oracle.com.public ESDSLdapObject GetDistributionListMetaData(OESContext oesctx, java.lang.String domain) throws ESDSException
oesctx
- The caller's OES context. This must have been an authenticated oes context.domain
- The domain under which DL will be created. for eg, for us.oracle.compublic java.util.Hashtable CreateDistributionList(OESContext oesctx, ESDSLdapObject list, java.util.Hashtable members) throws ESDSException
oesctx
- The caller's OES context. This must have been an authenticated oes context.list
- The DL attributes and values, the mail attribute must contain the fully qualified mailid for the distribution list for example, list1@oracle.com. The attribute valuea can be set as shown above.members
- A hashtable containing the members of the list. The key of the hashtable is a string representing the type of member, it can be one of the following.
public ESDSLdapObject LookupDistributionList(OESContext oesctx, java.lang.String emailId) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.emailId
- The fully qualified emailid of the DL.For ex., list1@oracle.com.public void ModifyDistributionList(OESContext oesctx, java.lang.String emailId, ESDSLdapObject dl) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.emailId
- The fully qualified emailid of the DL to be modified. For ex., list1@oracle.com.dl
- The new data for modification . It can be set using the modifyAttributeValue method of the ESDSLdapObject class. The caller needs to specify the type of modification. The list of allowed modifications are as follows.
public void DeleteDistributionList(OESContext oesctx, java.lang.String emailId) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.emailId
- The fully qualified emailid of the DL to be deleted. For ex., list1@oracle.com.public java.util.Hashtable ResolveDistributionList(OESContext oesctx, java.lang.String emailId) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.emailId
- The fully qualified emailid of the DL to be resolved. For ex., list1@oracle.com.public java.util.Vector ModifyDistributionListMembers(OESContext oesctx, java.lang.String emailId, java.lang.String modificationType, java.lang.String memberType, java.util.Vector members) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.emailId
- The fully qualified emailid of the DL to be modified. For ex., list1@oracle.com.modificationType
- The type of modification operation. The list of allowed modifications are as follows.
memberType
- The type of members for the modification operaion. The list of allowed membertypes are
members
- The members to be added or deletd. Is a vector of string values depending on the type.public ESDSLdapObject GetContactInfoMetaData(OESContext oesctx) throws ESDSException
oesctx
- The caller's OES context. This must have been an authenticated oes context belonging to the user logged on.public void CreateContactInfo(OESContext oesctx, ESDSLdapObject contactinfo) throws ESDSException
oesctx
- The caller's OES context. This must have been an authenticated oes context.contactinfo
- The contact info attribute and values.public ESDSLdapObject LookupContactInfo(OESContext oesctx, java.lang.String contactName) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.contactName
- The name of the contact in the user's addressbook.public void ModifyContactInfo(OESContext oesctx, ESDSLdapObject contactinfo) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.contactinfo
- The new data for modification. It can be set using the modifyAttributeValue method of the ESDSLdapObject class. The caller needs to specify the type of modification. The list of allowed modifications are as follows.
public void DeleteContactInfo(OESContext oesctx, java.lang.String contactName) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.contactName
- The name of the contact to be deleted.public java.lang.String[] GetAllContacts(OESContext oesctx) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.public java.lang.String[] SearchContacts(OESContext oesctx, java.lang.String searchCriteria) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.searchCriteria
- The search criteria in the ldap filter format oes context.public ESDSLdapObject GetPrivateListMetaData(OESContext oesctx) throws ESDSException
oesctx
- The caller's OES context. This must have been an authenticated oes context belonging to the user logged on.public void CreatePrivateList(OESContext oesctx, ESDSLdapObject privatelist) throws ESDSException
oesctx
- The caller's OES context. This must have been an authenticated oes context.privatelist
- The private list attribute and values.public ESDSLdapObject LookupPrivateList(OESContext oesctx, java.lang.String listName) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.listName
- The name of the private list in the user's addressbook.public void ModifyPrivateList(OESContext oesctx, ESDSLdapObject privatelist) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.privatelist
- The new data for modification. It can be set using the modifyAttributeValue method of the ESDSLdapObject class. The caller needs to specify the type of modification. The list of allowed modifications are as follows.
public void DeletePrivateList(OESContext oesctx, java.lang.String listName) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.listName
- The name of the private list to be deleted.public java.lang.String[] GetAllPrivateLists(OESContext oesctx) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.public java.lang.String[] SearchPrivateLists(OESContext oesctx, java.lang.String searchCriteria) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.searchCriteria
- The search criteria in the ldap filter format oes context.public java.util.Vector ResolvePrivateList(OESContext oesctx, java.lang.String listName, java.lang.String resolutionType) throws ESDSException
oescxt
- The caller's OES context. This must have been an authenticated oes context.listName
- The name of the private listresolutionType
- The resolution type, which is the attribute name to resolve topublic void ESDSManageDomainAdmins(ESDSContext ctx, java.lang.String mailid, java.lang.String domain, int operationType) throws ESDSException
ctx
- is the admin contextmailID
- is the fully qualified email id of the user who is to be made the domain administratordomain
- is the domain name operationType: 0 make user a domain administrator 1 remove user from the domain administrator listpublic java.util.Vector ESDSAddEntry(ESDSContext ctx, ESDSAddData[] data) throws ESDSException
ctx
- The caller's contextdata
- The entries to be addedpublic java.util.Vector ESDSAddEntry(ESDSContext ctx, ESDSAddData[] data, boolean toContinue) throws ESDSException
ctx
- The caller's contextdata
- The entries to be addedtoContinue
- If true, then continues adding ignoring the failurespublic void ESDSModifyEntry(ESDSContext ctx, java.lang.String dn, ESDSModifyData data) throws ESDSException
ctx
- The caller's contextdn
- The DN of the entry to be modifieddata
- The data to be modifiedpublic void ESDSDeleteEntry(ESDSContext ctx, java.lang.String dn) throws ESDSException, javax.naming.NamingException
context
- The caller's contextdn
- The DN of the entry to be modifiedpublic java.util.Vector ESDSQueryUsers(ESDSContext ctx, java.lang.String userQuery, java.lang.String domainName, int sizeLimit, boolean sortResults) throws ESDSException
context
- The caller's contextuserQuery
- The filter. For eg, t* for user names with "t*".domainName
- The domain namesizeLimit
- The no of results to be returned per iteration, if this is 0 or -1, then it retrieves allsortResults
- true if result is to be sortedpublic java.util.Vector ESDSQueryUsers(ESDSContext ctx, java.lang.String userQuery, java.lang.String domainName, int sizeLimit, java.lang.String sortingAttr, java.util.Vector attrsToFetch) throws ESDSException
context
- The caller's contextuserQuery
- The filter. For eg, t* for user names with "t*".domainName
- The domain namesizeLimit
- The no of results to be returned per iteration, if this is 0 or -1, then it retrieves allsortingAttr
- The name attribute for which results are to be sorted, this will be using server side sorting feature (provided server side ldap sorting is supported by OID). null implies no sortingattrsToFetch
- a vector containing list of attributes to fetch, when this is null, it fetches everythingpublic java.util.Hashtable ESDSResolveEntry(ESDSContext ctx, java.lang.String entryName, java.lang.String entryType, java.lang.String resolutionType, boolean ifPrivate, boolean sortResultSet, int sizeLimit) throws ESDSException
ctx
- The caller's contextentryName
- The string that needs to be resolved. If it's a public dl, then it should be the fully qualified email address of the dl.entryType
- The type of entry that is to be resolved, can be ESDSConstants.DS_LIST, ESDSConstants.DS_ALIASresolutionType
- The type of entry that is to be resolved, eg, mail. Pass ESDSConstants.DS_MAIL for mail resolutionsortResultSet
- Specifies whether the results will be sortedsizeLimit
- The no of results to be returned per iteration, if this is -1, then it retrieves allpublic ESDSMemberList ESDSResolveName(ESDSContext ctx, java.lang.String entryName, java.lang.String resolutionType, java.lang.String domainName, int sortResultSet, int sizeLimit) throws ESDSException
ctx
- The caller's contextentryName
- The string that needs to be resolved.entryType
- The type of entry that is to be resolved, eg., ESDSConstants.DS_RESOLUTION_MAILUSERresolutionType
- The type of entry that is to be resolved, eg, mail, * phoneno, if the type is ESDSConstants.DS_RESOLUTION_MAILUSER, it will search for mailusers given the search criteria, for this type, the search criteria is specified as the entryName param, for eg, "t*", returns a list of users whose mail or uid matches the filter t*sortResultSet
- Specifies how the results will be sortedsizeLimit
- The no of results to be returned per iteration, if this is 0, then it retrieves allpublic java.util.Vector ESDSSearchDLs(ESDSContext ctx, java.lang.String dlQueryString, java.lang.String domainName, int sizeLimit) throws ESDSException
ctx
- The caller's contextdlQueryString
- The filter. For eg, t* for list mailids with "t*".domainName
- The domain to search for the dl'ssizeLimit
- The no of results to be returned per iteration, if this is <=0, then it retrieves allpublic java.util.Vector ESDSSearchDLs(ESDSContext ctx, java.lang.String dlQueryString, java.lang.String domainName, int sizeLimit, java.lang.String sortingAttr, java.util.Vector attrsToFetch) throws ESDSException
ctx
- The caller's contextdlQueryString
- The filter. For eg, t* for list mailids with "t*".domainName
- The domain to search for the dl'ssizeLimit
- The no of results to be returned per iteration, if this is <=0, then it retrieves allsortingAttr
- The name attribute for which results are to be sorted, this will be using server side sorting feature (provided server side ldap sorting is supported by OID). null implies no sortingattrsToFetch
- a vector containing list of attributes to fetch, when this is null, it fetches everythingpublic java.lang.String[] ESDSGetSubscribedDLs(ESDSContext ctx, java.lang.String userMailID) throws ESDSException
context
- The caller's contextuserMailID
- The fully qualified email id of the userpublic ESDSAttributeValueList[] ESDSGetAttributes(ESDSContext ctx, java.lang.String filter, java.util.Vector attributeNames) throws javax.naming.NamingException
ctx
- The caller's contextfilter
- The search filterattributeNames
- Returning attributespublic ESDSAttributeValueList[] ESDSGetAttributes(ESDSContext ctx, java.lang.String searchBase, java.lang.String filter, java.util.Vector attributeNames) throws javax.naming.NamingException
ctx
- The caller's contextsearchBase
- The search basefilter
- The search filterattributeNames
- Returning attributespublic ESDSAttributeValueList[] ESDSGetAttributes(ESDSContext ctx, java.lang.String searchBase, java.lang.String filter, java.util.Vector attributeNames, javax.naming.directory.SearchControls ctl) throws javax.naming.NamingException
ctx
- The caller's contextsearchBase
- The search basefilter
- The search filterattributeNames
- Returning attributespublic ESDSAttributeValueList[] ESDSGetAttributes(java.lang.String searchBase, java.lang.String filter, java.util.Vector attributeNames, javax.naming.directory.SearchControls ctl, ESDSLdapHandle conn) throws javax.naming.NamingException
searchBase
- The search basefilter
- The search filterattributeNames
- Returning attributesconn
- The ldap connpublic ESDSAttributeValueList ESDSGetEntry(ESDSContext context, java.lang.String dn, java.util.Vector attributeNames) throws javax.naming.NamingException
context
- The caller's contextdn
- The DN of the entryattributeNames
- Returning attributespublic ESDSAttributeValueList GetEntry(java.lang.String dn, java.util.Vector attributeNames, ESDSLdapHandle conn) throws javax.naming.NamingException
public ESDSLdapObject ESDSGetSharedFolderMetaData(ESDSContext context) throws ESDSException
context
- The caller's contextpublic void ESDSCreateSharedFolder(ESDSContext context, java.lang.String folderName, ESDSLdapObject folder) throws ESDSException
context
- The caller's contextfolderName
- The shared folder name, enter in the format /shared/folder1/folder2, if shared and folder1 don't exist, it will create those first and then create folder2folder
- the folder paramspublic void ESDSCreateSharedFolder(ESDSContext context, java.lang.String folderName, ESDSLdapObject folder, boolean ifPublic) throws ESDSException
context
- The caller's contextfolderName
- The shared folder name, enter in the format /shared/folder1/folder2, if shared and folder1 don't exist, it will create those first and then create folder2folder
- the folder paramsifPublic
- When this flag is true, this API will create a public folder. It will set the display name for the folders while creating.public ESDSAttributeValueList ESDSLookupSharedFolder(ESDSContext context, java.lang.String folderName) throws ESDSException
context
- The caller's context, must be a user contextfolderName
- The shared folder name, enter in the format /shared/folder1/folder2public void ESDSDeleteSharedFolder(ESDSContext ctx, java.lang.String folderName) throws ESDSException
context
- The caller's contextfolderName
- The shared folder name to be deleted.public void ESDSModifySharedFolder(ESDSContext ctx, java.lang.String folderName, ESDSLdapObject folder) throws ESDSException
context
- The caller's contextfolder
- The folder to be modified, please use modifyAttributeValue method of ESDSLdapObject to set the values for modificationpublic void ESDSRenameSharedFolder(ESDSContext context, java.lang.String oldFolderName, java.lang.String newFolderName) throws ESDSException
context
- The caller's contextoldFolderName
- The folder that is to be renamednewFolderName
- The new folder namepublic void ESDSSetSharedFolderAci(ESDSContext context, java.lang.String folderName, ESDSLdapObject folder) throws ESDSException
context
- The caller's contextfolderName
- The folder namefolder
- The folder object, set aci using the setMembersACI method of the ESDSLdapObject classpublic void ESDSSetSharedFolderAci(ESDSContext context, java.lang.String folderName, ESDSLdapObject folder, int flags) throws ESDSException
context
- The caller's contextfolderName
- The folder namefolder
- The folder object, set aci using the setMembersACI method of the ESDSLdapObject classpublic boolean ESDSIsInheritedAciExists(ESDSContext context, java.lang.String folderName, java.lang.String memberName) throws ESDSException
public boolean ESDSIsInheritedAciExists(ESDSContext context, ESDSLdapHandle handle, java.lang.String folder, java.lang.String member, java.util.Vector vectfolderAci, java.util.Vector vectRecursiveAci, java.util.Vector vectUserfolderAci, int flag) throws ESDSException
public boolean ESDSIsInheritedAciExists(ESDSContext context, ESDSLdapHandle handle, java.lang.String folder) throws ESDSException
public java.util.Hashtable ESDSGetSharedFolderAciForUser(ESDSContext context, java.lang.String folderName, java.lang.String memberName) throws ESDSException
context
- The caller's context Folder ACIs due to DL membership will not be calculated when the system property oracle.mail.ldap.folder.dlmembership is set to false. When this property is not set or set to true, ACIs due to DL memberships will be computed.folderName
- The folder namememberName
- The mailid of the userpublic java.util.Hashtable ESDSGetSharedFolderAciForUser(ESDSContext context, java.lang.String folderName, java.lang.String memberName, boolean fetchPublicAci) throws ESDSException
context
- The caller's contextfolderName
- The folder namememberName
- The mailid of the userfetchPublicAci
- When true, then the public folder aci will also be returnedpublic java.util.Hashtable ESDSGetPublicFolderAciForUser(ESDSContext context, java.lang.String memberName) throws ESDSException
context
- The caller's contextmemberName
- The fully qualified mailid of the userpublic java.util.Hashtable ESDSGetSharedFolderAciForUser(ESDSContext context, java.lang.String memberName) throws ESDSException
context
- The caller's contextmemberName
- The mailid of the userpublic java.util.Hashtable ESDSGetSharedFolderAciForUser(ESDSContext context, java.lang.String memberName, boolean fetchPublicAci) throws ESDSException
context
- The caller's contextmemberName
- The mailid of the userfetchPublicAci
- When true, then the public folder aci will also be returnedpublic java.util.Hashtable ESDSGetSharedFolderAci(ESDSContext context, java.lang.String folderName) throws ESDSException
context
- The caller's contextfolderName
- The folder namepublic java.util.Hashtable ESDSGetSharedFolderAci(ESDSContext context, java.lang.String folderName, boolean fetchPublicAci) throws ESDSException
context
- The caller's contextfolderName
- The folder namefetchPublicAci
- When true, then the public folder aci will also be returnedpublic ESDSAttributeValueList ESDSGetSharedFolderCreatorsInfo(ESDSContext ctx, java.lang.String folderName) throws ESDSException
context
- The caller's contextfolderName
- The folder namepublic ESDSAttributeValueList ESDSGetSharedFolderCreatorsInfo(ESDSContext ctx, java.lang.String folderName, boolean ifDisplayName) throws ESDSException
context
- The caller's contextfolderName
- The folder nameifDisplayName
- When this flag is true, it will search for the folder based on the display name, so folderName MUST be the display name when this flag is truepublic int ESDSLogoff(ESDSContext ctx) throws ESDSException
context
- The caller's contextpublic ESDSLdapObject ESDSGetMailUserMetaData(ESDSContext context, java.lang.String domain) throws ESDSException
context
- The caller's contextdomain
- The domain under which users will be created. for eg, for us.oracle.compublic ESDSLdapObject ESDSLookupMailUser(ESDSContext ctx, java.lang.String mailId) throws ESDSException
context
- The caller's contextmailId
- The fully qualified email id of the userpublic ESDSLdapObject ESDSLookupMailUser(ESDSContext ctx, java.lang.String mailId, java.util.Vector attrsToFetch) throws ESDSException
context
- The caller's contextmailId
- The fully qualified email id of the userattrsToFetch
- A vector of strings containing the name of attributes to be returned.public java.lang.String ESDSResolveEmailID(ESDSContext ctx, java.lang.String mailId) throws ESDSException
context
- The caller's contextmailId
- The fully qualified email id of the userpublic ESDSLdapObject[] ESDSGetEntriesManagedByUser(ESDSContext ctx, java.lang.String usermailid, java.lang.String[] types, java.util.Vector attrsToFetch) throws ESDSException
ctx
- The authenticated ESDSContextusermailid
- fully qalified email id of the mailusertypes,
- the types of entries to be searched for, null searchs for all types (dls, newsgroups and public folders currently) Pass ESDSConstants.DS_LIST to find out dls the user is owner/moderator/approver/editor of, ESDSConstants.DS_NEWSGROUP to find out news groups the user is owner/moderator of, ESDSConstants.DS_FOLDER to find out public folders the user is owner ofattrsToFetch
- a vector containing list of attributes to fetch for the matching entries, when this is null, it fetches all attributespublic void ESDSCreateMailUser(ESDSContext context, java.sql.Connection conn, java.lang.String publicUser, ESDSLdapObject mailuser, int provisioningType) throws ESDSException
context
- The caller's contextconn
- The JDBC ConnectionpublicUser
- Thepublic user dnmailUser
- The mail user dataprovisioningType
- The user provisioning typepublic void ESDSCreateMailUser(ESDSContext context, java.sql.Connection conn, java.lang.String publicUser, java.lang.String domain, ESDSLdapObject mailuser, int provisioningType) throws ESDSException
context
- The caller's contextconn
- The JDBC ConnectionpublicUser
- The public user dndomain
- The domain where user is to be createdmailUser
- The mail user dataprovisioningType
- The user provisioning typepublic void ESDSSetUserObjectID(ESDSContext userCtx, long userid) throws ESDSException
userCtx
- The mailuser contextuserid
- userid of the userpublic void ESDSCreateMailUser(ESDSContext context, java.lang.String publicUser, ESDSLdapObject mailuser, int provisioningType) throws ESDSException
context
- The caller's contextpublicUser
- Thepublic user dnmailUser
- The mail user dataprovisioningType
- The user provisioning typepublic void ESDSCreateMailUser(ESDSContext context, java.lang.String publicUser, java.lang.String domain, ESDSLdapObject mailuser, int provisioningType) throws ESDSException
context
- The caller's contextpublicUser
- The public user dndomain
- The domain where user has to be createdmailUser
- The mail user dataprovisioningType
- The user provisioning typepublic void ESDSDeleteMailUser(ESDSContext ctx, java.sql.Connection conn, java.lang.String mailUser, int provisioningType) throws ESDSException
cxt
- The caller's contextconn
- The jdbc connectionmailUser
- The mail user to be deletedprovisioningType
- The user deprovisioning typepublic void ESDSDeleteMailUser(ESDSContext ctx, java.lang.String mailUser, int provisioningType) throws ESDSException
cxt
- The caller's contextmailUser
- The mail user to be deletedprovisioningType
- The user deprovisioning typepublic void ESDSRenameUserEmail(ESDSContext ctx, java.lang.String oldmailId, java.lang.String newmailId) throws ESDSException
cxt
- The caller's ESDS context. This must have been an authenticated context.oldmailId
- The old fully qualified emailid of the user to be renamed.newmailId
- The new fully qualified emailid of the user to be renamed.public void ESDSUpdatePubUserRefs(ESDSContext ctx, java.lang.String oldDN, java.lang.String newDN) throws ESDSException
cxt
- The caller's ESDS context. This must have been an authenticated context.oldDN
- The old DN of the public usernewDN
- The new DN of the public userpublic void ESDSModifyMailUser(ESDSContext ctx, java.lang.String mailId, ESDSLdapObject mailUser) throws ESDSException
cxt
- The caller's contextmailId
- The mailid of the user to be modifiedmailUser
- The new data for modification, please use modifyAttributeValue method of ESDSLdapObject to set the values for modificationpublic ESDSLdapObject ESDSLookupMailProcessConfig(ESDSContext ctx, java.lang.String host, java.lang.String oraHome, java.lang.String prodType, java.util.Vector attrsToFetch) throws ESDSException
ctx
- The caller's contexthost
- The host nameorahome
- The full path for ORACLE_HOMEprodType
- The product name. It's the name of the container that's created under "cn=oracle_home" in the process DIT. For, email it's going to be EMailServer (ESDSConstants.PROD_ES)attrsToFetch
- The list of attributes to be fetched - Vector of Strings null if all attributes are to be fetchedpublic void ESDSModifyMailProcessConfig(ESDSContext ctx, java.lang.String host, java.lang.String oraHome, java.lang.String prodType, ESDSLdapObject conf) throws ESDSException
ctx
- The caller's contexthost
- The host nameorahome
- The full path for ORACLE_HOMEprodType
- The product name. It's the name of the container that's created under "cn=oracle_home" in the process DIT. For, email it's going to be EMailServer (ESDSConstants.PROD_ES)conf
- The list of attributes with modification type to be modified. The new data can be set using the modifyAttributeValue method of the ESDSLdapObject class. The caller needs to specify the type of modification.public ESDSLdapObject ESDSGetProcessMetaData(ESDSContext context, java.lang.String targetName) throws ESDSException
context
- The caller's contexttargetName
- The targetnamepublic ESDSAttributeValueList[] ESDSGetAllInstances(ESDSContext context, java.lang.String targetName) throws ESDSException
context
- The caller's contexttargetname
- the target namepublic java.util.Vector ESDSGetAllTargets(ESDSContext context, java.lang.String installationName) throws ESDSException
context
- The caller's contextinstallationname
- the installation namepublic java.lang.String ESDSCreateProcess(ESDSContext ctx, java.lang.String targetName, ESDSLdapObject process) throws ESDSException
ctx
- The caller's contexttargetName
- The process nameprocess
- The Process objectpublic void ESDSDeleteProcess(ESDSContext ctx, java.lang.String processDN) throws ESDSException
ctx
- The caller's contextprocessDN
- The Process DNpublic void ESDSModifyProcess(ESDSContext ctx, java.lang.String targetName, ESDSLdapObject process) throws ESDSException
ctx
- The caller's contexttargetName
- The process nameprocess
- The Process object, please use modifyAttributeValue method of ESDSLdapObject to set the values for modificationpublic ESDSLdapObject ESDSLookupProcessInstance(ESDSContext ctx, java.lang.String instanceDN) throws ESDSException
ctx
- The caller's contexttargetName
- The process nameprocess
- The Process object, please use modifyAttributeValue method of ESDSLdapObject to set the values for modificationpublic void ESDSModifyProcessInstance(ESDSContext ctx, java.lang.String instanceDN, ESDSLdapObject process) throws ESDSException
ctx
- The caller's contextinstanceDN
- The process DNprocess
- The Process object, please use modifyAttributeValue method of ESDSLdapObject to set the values for modificationpublic java.util.Hashtable ESDSGetProcessInstanceDBPoolParams(ESDSContext ctx, java.lang.String instanceName, java.lang.String mailStoreDn) throws ESDSException
ctx
- The caller's contextinstanceName
- The process instance name, eg: hostname:installname:IMAP:12345mailStoreDn
- The dn of the mailstore which is being configuredpublic void ESDSConfigureProcessInstanceDBPool(ESDSContext ctx, java.lang.String instanceName, java.lang.String mailStoreDn, java.util.Hashtable poolParams) throws ESDSException
ctx
- The caller's contextinstanceName
- The process instance name, eg: hostname:installname:IMAP:12345mailStoreDn
- The dn of the mailstore which is being configuredpoolParams
- The DB connection pool parameters for this mailstore key is the ldap attribute name (all lowercase) and value is an Integer. Possible ldap attributes are orclmailprocessdbminconn, orclmailprocessdbmaxconn, orclmailprocessdbincrconn and orclmaildbtimeoutpublic java.util.Vector ESDSGetInstallations(ESDSContext ctx) throws ESDSException
ctx
- The caller's contextpublic java.util.Vector ESDSGetDomains(ESDSContext ctx, java.lang.String installionName) throws ESDSException
ctx
- The caller's contextinstallationName
- The name of the installationpublic void ESDSCreateDomain(ESDSContext ctx, java.lang.String installationName, java.lang.String domainName, java.lang.String parentDomain) throws ESDSException
ctx
- The caller's contextinstallationName
- The installation namedomainName
- The domain nameparentDomain
- The parent domain name, if it's a top level domain, then "", if it's a subdomain, then the parent domain name, for eg, for us.oracle.com domain creation, while creating the com domain, this param value will be "", for oracle, it will be "com" and for us it will be "oracle.com"public void ESDSRepairCreatedDomain(ESDSContext ctx, java.lang.String installationName, java.lang.String domainName, java.lang.String parentDomain) throws ESDSException
ctx
- The caller's contextinstallationName
- The installation namedomainName
- The domain nameparentDomain
- The parent domain name, if it's a top level domain, then "", if it's a subdomain, then the parent domain name, for eg, for us.oracle.com domain creation, while creating the com domain, this param value will be "", for oracle, it will be "com" and for us it will be "oracle.com"public boolean ESDSIsAPartiallyCreatedEntry(ESDSContext ctx, java.lang.String installationName, java.lang.String entryType, java.lang.String entryName) throws ESDSException
ctx
- The caller's contextinstallationName
- The installation nameentryType
- ESDSConstants.DS_DOMAIN for checking if domain is partially created or not. This is the only type supported in 9.0.2entryName
- The name of the entry, the domain name is entryType is ESDSConstants.DS_DOMAINpublic void ESDSDeleteDomain(ESDSContext ctx, java.lang.String installationName, java.lang.String domainName) throws ESDSException
ctx
- The caller's contextinstallationName
- The installation namedomainName
- The domain namepublic ESDSLdapObject ESDSGetDomainPreferences(ESDSContext ctx, java.lang.String installationName, java.lang.String domainName, java.lang.String preferenceType) throws ESDSException
ctx
- The caller's contextinstallationName
- The installation namedomainName
- The domain namepreferenceType
- The preference type, ESDSConstants.DS_USER or ESDSConstants.DS_LIST, ESDSConstants.DS_DOMAIN for domainpublic void ESDSModifyDomainPreferences(ESDSContext ctx, java.lang.String installationName, java.lang.String domainName, java.lang.String preferenceType, ESDSLdapObject preferences) throws ESDSException
ctx
- The caller's contextinstallationName
- The installation namedomainName
- The complete domain name, for eg, oracle.compreferenceType
- The type of preference, ESDSConstants.DS_USER for mailuser, ESDSConstants.DS_LIST for list ESDSConstants.DS_DOMAIN for domainpreferences
- The new set of preferences, please use modifyAttributeValue method of ESDSLdapObject to set the values for modificationpublic java.lang.String[] ESDSGetAllMailStores(ESDSContext ctx, java.lang.String installationName) throws ESDSException
ctx
- The caller's contextinstallationname
- the installation namepublic java.lang.String[] ESDSGetAllMailStores(ESDSLdapHandle handle, java.lang.String installationName) throws ESDSException
public ESDSLdapObject ESDSGetMailStoreMetaData(ESDSContext ctx, java.lang.String mailstoredn) throws ESDSException
context
- The caller's contextmailstore
- dnpublic void ESDSModifyMailStore(ESDSContext ctx, java.lang.String mailStoreDN, ESDSLdapObject mailStore) throws ESDSException
ctx
- The caller's contextmailStoreDN
- The Mailstore DNmailStore
- The mailstore attributespublic void ESDSDeleteMailStore(ESDSContext ctx, java.lang.String installationName, java.lang.String domainName, java.lang.String mailStore) throws ESDSException
ctx
- The caller's contextinstallationName
- The installation namedomainName
- The domain namemailStore
- The mailstorepublic ESDSLdapObject ESDSGetDLMetaData(ESDSContext context, java.lang.String domain) throws ESDSException
context
- The caller's contextpublic java.util.Hashtable ESDSCreateDistributionList(ESDSContext ctx, ESDSLdapObject list, boolean ifPrivate, java.util.Hashtable members) throws ESDSException
ctx
- The caller's contextlist
- The dl attributes and values, the mail attribute should contain the fully qualified mailid if a public dlifPrivate
- true if a private list, false if a public listmembers
- The members of the list. The key of the hashtable is the type of member, it can be ESDSConstants.DS_USER for mailuser, DS_LIST for a list, DS_ALIAS for an alias, DS_UMATTR for phone no, sms, device id etc and DS_FOREIGN for the foreign entries. value is a vector of values.public java.util.Hashtable ESDSCreateDistributionList(ESDSContext ctx, ESDSLdapObject list, java.lang.String domain, java.util.Hashtable members) throws ESDSException
ctx
- The caller's contextlist
- The dl attributes and values, the mail attribute should contain the fully qualified mailid if a public dldomain
- Name of the domain where DL is createdmembers
- The members of the list. The key of the hashtable is the type of member, it can be ESDSConstants.DS_USER for mailuser, DS_LIST for a list, DS_ALIAS for an alias, DS_UMATTR for phone no, sms, device id etc and DS_FOREIGN for the foreign entries. value is a vector of values.public ESDSLdapObject ESDSLookupDistributionList(ESDSContext ctx, java.lang.String mailId) throws ESDSException
context
- The caller's contextmailId
- The fully qualified email id of the DLpublic void ESDSModifyDistributionList(ESDSContext ctx, java.lang.String mailOrName, ESDSLdapObject list, boolean ifPrivate) throws ESDSException
ctx
- The caller's contextmailOrName
- The mailid of the listlist
- The dl objectifPrivate
- if it's a private or a public listpublic java.util.Vector ESDSModifyDLMembers(ESDSContext ctx, java.lang.String list, boolean ifPrivate, java.lang.String modificationType, java.lang.String memberType, java.util.Vector members) throws ESDSException
ctx
- The caller's contextlist
- The fully qualified email id of the dl if a public dl, and the dl name if a private dlifPrivate
- true if a private list, false if a public listmembers
- The members of the list. The key of the hashtable is the type of member, it can be ESDSConstants.DS_USER for mailuser, DS_LIST for a list, DS_ALIAS for an alias, and DS_FOREIGN for the foreign entries. value is a vector of values.public void ESDSDeleteDistributionList(ESDSContext ctx, java.lang.String listName, boolean ifPrivate) throws ESDSException
ctx
- The caller's contextlistName
- The fully qualified emailid of the DLifPrivate
- true if a private list, false if a public listpublic java.util.Hashtable ESDSSearchMembersInDL(ESDSContext ctx, java.lang.String dlEmailID, java.lang.String memberQueryString, java.lang.String memberType, int sizeLimit, java.util.Vector attrsToFetch) throws ESDSException
ctx
- The caller's contextdlEmailID
- The fully qualified email address of the dl.memberQueryString
- The query string for member search, "*" if all members are to be fetched.memberType
- The type of member to search for ESDSConstants.DS_USER, ESDSConstants.DS_LIST, ESDSConstants.DS_ALIAS ESDSConstants.DS_FOREIGN When member type is null, it fetches all memberssizeLimit
- The no of results to be returned per iteration, if this is 0, then it retrieves allattrsToFetch
- Vector of Strings containing member attribute names that are to be fetched. Null means fetch all member attributespublic java.util.Hashtable ESDSSearchMembersInDL(ESDSContext ctx, java.lang.String dlEmailID, java.lang.String memberQueryString, java.lang.String memberType, int sizeLimit) throws ESDSException
ctx
- The caller's contextdlEmailID
- The fully qualified email address of the dl.memberQueryString
- The query string for member search, "*" if all members are to be fetched.memberType
- The type of member to search for ESDSConstants.DS_USER, ESDSConstants.DS_LIST, ESDSConstants.DS_ALIAS ESDSConstants.DS_FOREIGN When member type is null, it fetches all memberssizeLimit
- The no of results to be returned per iteration, if this is 0, then it retrieves allpublic ESDSLdapObject ESDSGetAliasMetaData(ESDSContext ctx, java.lang.String domain) throws ESDSException
context
- The caller's contextdomain
- The domain name, eg us.oracle.compublic void ESDSCreatePublicAlias(ESDSContext ctx, ESDSLdapObject alias, java.lang.String domain) throws ESDSException
public void ESDSModifyPublicAlias(ESDSContext ctx, java.lang.String aliasName, java.lang.String domain, ESDSLdapObject alias) throws ESDSException
ctx
- The caller's contextaliasName
- The alias aliasdomain
- The domain namealias
- The alias object please use modifyAttributeValue method of ESDSLdapObject to set the values for modificationpublic java.lang.String[] ESDSSearchPublicAliases(ESDSContext ctx, java.lang.String searchCriteria, java.lang.String domain) throws ESDSException
ctx
- The caller's contextsearchCriteria
- * for all, a* for alias names starting with a and so ondomain
- The domain in which the search is to be performedpublic java.util.Vector ESDSSearchPublicAliases(ESDSContext ctx, java.lang.String query, java.lang.String domainName, int sizeLimit) throws ESDSException
ctx
- The caller's contextquery
- * for all, a* for alias names starting with a and so ondomainName
- The domain in which the search is to be performedsizeLimit
- The no of results to be returned per iteration, if this is 0 or -1, then it retrieves allpublic java.util.Vector ESDSSearchPublicAliases(ESDSContext ctx, java.lang.String query, java.lang.String domainName, int sizeLimit, java.lang.String sortingAttr, java.util.Vector attrsToFetch) throws ESDSException
ctx
- The caller's contextquery
- * for all, a* for alias names starting with a and so ondomainName
- The domain in which the search is to be performedsizeLimit
- The no of results to be returned per iteration, if this is 0 or -1, then it retrieves allsortingAttr
- The name attribute for which results are to be sorted, this will be using server side sorting feature (provided server side ldap sorting is supported by OID). null implies no sortingattrsToFetch
- a vector containing list of attributes to fetch, when this is null, it fetches everythingpublic ESDSLdapObject ESDSLookupPublicAlias(ESDSContext ctx, java.lang.String aliasName, java.lang.String domain) throws ESDSException
ctx
- The caller's contextaliasName
- The aliasdomain
- The domain in which the alias is to be looked uppublic void ESDSDeletePublicAlias(ESDSContext ctx, java.lang.String aliasName, java.lang.String domain) throws ESDSException
ctx
- The caller's contextaliasName
- The aliaspublic ESDSLdapObject ESDSGetContactInfoMetaData(ESDSContext ctx) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.public void ESDSCreateContactInfo(ESDSContext ctx, ESDSLdapObject contactinfo) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.contactinfo:
- The contact info object, this will contain the contactinfo attributes and values.public void ESDSModifyContactInfo(ESDSContext ctx, ESDSLdapObject contactinfo) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.contactinfo:
- The contact info object, this will contain the contactinfo attributes and values. Use modifyAttributeValue method of In order to address backward compatibility issue [name is no longer mandatory in 905, when system property oracle.mail.addressbook.mapnametoid is set to "true", "orcladdressbookid" will be returned for "name". ESDSLdapObject to set the values for modification and the modification type.public void ESDSDeleteContactInfo(ESDSContext ctx, java.lang.String contactName) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.contactName:
- The name of the contact to be deleted.public java.lang.String[] ESDSGetContacts(ESDSContext ctx) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.public java.lang.String[] ESDSGetContacts(ESDSContext ctx, java.lang.String searchCriteria) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.public ESDSLdapObject[] ESDSQueryContacts(ESDSContext ctx, java.lang.String searchCriteria, java.util.Vector attrsToFetch) throws ESDSException
ctx:
- The mailuser context.searchCriteria:
- The ldap search filter (name=* for all contacts)attrsToFetch:
- Vector of Strings containing name of attributes whose value is to be fetched.public ESDSLdapObject ESDSLookupContact(ESDSContext ctx, java.lang.String contactName) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.public ESDSLdapObject ESDSGetPrivateListMetaData(ESDSContext ctx) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.public void ESDSCreatePrivateList(ESDSContext ctx, ESDSLdapObject list) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.list:
- The list object, this will contain the list attributes and values.public void ESDSModifyPrivateList(ESDSContext ctx, ESDSLdapObject list) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.list:
- The list object, this will contain the contactinfo attributes and values. Use modifyAttributeValue method of ESDSLdapObject to set the values for modification and the modification type.public void ESDSDeletePrivateList(ESDSContext ctx, java.lang.String list) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.list:
- The name of the contact to be deleted.public java.lang.String[] ESDSGetPrivateLists(ESDSContext ctx) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.public java.lang.String[] ESDSGetPrivateLists(ESDSContext ctx, java.lang.String searchCriteria) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.public ESDSLdapObject ESDSLookupPrivateList(ESDSContext ctx, java.lang.String listName) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.public ESDSLdapObject[] ESDSQueryPrivateLists(ESDSContext ctx, java.lang.String searchCriteria, java.util.Vector attrsToFetch) throws ESDSException
ctx:
- The mailuser context.searchCriteria:
- The ldap search filter (name=* for all Lists)attrsToFetch:
- Vector of Strings containing name of attributes whose value is to be fetched.public ESDSMemberList ESDSResolvePrivateList(ESDSContext ctx, java.lang.String listName, java.lang.String resolutionType) throws ESDSException, javax.naming.NamingException
ctx:
- The mailuser context.listName:
- The name of the list to be resolvedresolutionType:
- The resolution type, which is the attribute namepublic void ESDSCreateRule(ESDSContext ctx, java.lang.String ruleType, java.lang.String instalOrDomainOrEmail, java.util.Vector ruleData) throws ESDSException
ctx
- The caller's contextruleType
- Type of the rule, ESDSConstants.DS_DOMAIN for domain rules, ESDSConstants.DS_INSTALLATION for installation rules, ESDSConstants.DS_USER for user rulesinstalOrDomainName
- The installation name if a installation rule the domain name if a domain rule, eg. us.oracle.com and the fully qualified email id of the user if a user rule.ruleData
- The rule datapublic void ESDSModifyRule(ESDSContext ctx, java.lang.String ruleType, java.lang.String instalOrDomainOrEmail, java.util.Vector ruleData) throws ESDSException
ctx
- The caller's contextruleType
- Type of the rule, ESDSConstants.DS_DOMAIN for domain rules, ESDSConstants.DS_INSTALLATION for installation rules, ESDSConstants.DS_USER for user rulesinstalOrDomainOrEmail
- The installation name if a installation rule the domain name if a domain rule, eg. us.oracle.com and the fully qualified email id of the user if a user rule.ruleData
- The new rule data. The old rule data will be replaced by this one.public void ESDSDeleteRule(ESDSContext ctx, java.lang.String ruleType, java.lang.String instalOrDomainOrEmail) throws ESDSException
ctx
- The caller's contextruleType
- Type of the rule, ESDSConstants.DS_DOMAIN for domain rules, ESDSConstants.DS_INSTALLATION for installation rules, ESDSConstants.DS_USER for user rulesinstalOrDomainOrEmail
- The installation name if a installation rule the domain name if a domain rule, eg. us.oracle.com and the fully qualified email id of the user if a user rule.public java.util.Hashtable ESDSGetRule(ESDSContext ctx, java.lang.String ruleType, java.lang.String instalOrDomainOrEmail) throws ESDSException
ctx
- The caller's contextruleType
- Type of the rule, ESDSConstants.DS_DOMAIN for domain rules, ESDSConstants.DS_INSTALLATION for installation rules, ESDSConstants.DS_USER for user rulesinstalOrDomainOrEmail
- The installation name if a installation rule the domain name if a domain rule, eg. us.oracle.com and the fully qualified email id of the user if a user rule.public int ESDSGetDBUserID(ESDSContext ctx, java.lang.String mailid) throws ESDSException
ctx
- The caller's contextmailid
- The fully qualified email id of the mailuserpublic ESDSAttributeValueList[] ESDSGetProcessDBParams(ESDSContext context, java.util.Vector mailstoredns) throws ESDSException
context
- The caller's contextmailstoredns
- Vector containing mailstore dn'spublic ESDSAttributeValueList ESDSGetMailUserDBParams(ESDSContext context) throws ESDSException
context
- The caller's contextpublic ESDSAttributeValueList ESDSLookupMailStore(ESDSContext ctx, java.lang.String mailstoredn) throws ESDSException
ctx
- The caller's contextmailstoredn
- The mailstore dnpublic java.lang.String[] ESDSGetMailstoreDBNames(ESDSContext ctx, java.lang.String installation) throws ESDSException
ctx
- The caller's DS context. This must have been an authenticated context.installation
- The installation namepublic java.lang.String[] ESDSGetMailstoreInfo(ESDSContext ctx, java.lang.String installation, java.lang.String globaldbname) throws ESDSException
ctx
- The caller's DS context. This must have been an authenticated context.installation
- The installation nameglobaldbname
- The global database namepublic java.lang.String[] ESDSGetMailstoreGuestConnectInfo(ESDSContext ctx, java.lang.String mailstoreDN) throws ESDSException
ctx
- The caller's DS context. This must have been an authenticated context.mailstoreDN
- The DN of the mailstorepublic java.lang.String[] ESDSGetMailstoreConnectString(ESDSContext ctx, java.lang.String mailstoreDN) throws ESDSException
ctx
- The caller's DS context. This must have been an authenticated context.mailstoreDN
- The DN of the mailstorepublic java.lang.String[] ESDSGetMailstoreConnectString(ESDSContext ctx, java.lang.String installation, java.lang.String globaldbname) throws ESDSException
ctx
- The caller's DS context. This must have been an authenticated context.installation
- The installation nameglobaldbname
- The global database namepublic void modifyNestedDlParentAttr(ESDSContext ctx, java.lang.String modificationType, java.lang.String listDN, java.util.Vector parentsDlDNAttrList) throws ESDSException
public ESDSAttributeValueList inheritDefaultValues(ESDSLdapHandle handle, java.util.Vector parentDNs, java.lang.String entryType)
public java.util.Vector getParentDomains(ESDSLdapHandle handle, java.lang.String domain, java.lang.String installdn) throws ESDSException
public java.util.Hashtable ESDSGetAllSubscribers(ESDSContext ctx) throws ESDSException
public java.util.Hashtable ESDSGetPublicGroups(ESDSContext ctx, java.lang.String SearchCriteria, java.lang.String SubscriberDN) throws ESDSException
public java.util.Hashtable ESDSGetPublicGroupsNotProvisioned(ESDSContext ctx, java.lang.String SubscriberDN) throws ESDSException
public java.util.Hashtable ESDSPublicGroupsAlreadyProvisioned(ESDSContext ctx, java.lang.String SubscriberDN) throws ESDSException
public java.util.Hashtable ESDSGetPublicGroupsNotProvisioned(ESDSContext ctx, java.lang.String SubscriberDN, java.lang.String cnFilter) throws ESDSException
public java.util.Hashtable ESDSPublicGroupsAlreadyProvisioned(ESDSContext ctx, java.lang.String SubscriberDN, java.lang.String mailcnFilter) throws ESDSException
public void ESDSProvisionOIDGrpForMail(ESDSContext ctx, java.lang.String domain, java.lang.String oidGrpDN, ESDSLdapObject Attrs, boolean ifExists) throws ESDSException
public void ESDSDeProvisionOIDGrp(ESDSContext ctx, java.lang.String domain, java.lang.String grpMailid) throws ESDSException
public ESDSLdapObject ESDSLookupDomain(ESDSContext ctx, java.lang.String domain) throws ESDSException
ctx
- ESDSContextdomain
- Name of the domain
|
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 |