|
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.ESDSNNTPUtil
Constructor Summary | |
ESDSNNTPUtil(OESContext oesCtx) |
Method Summary | |
void |
clearNewsgroupACI(java.lang.String newsGroupName, java.lang.String installName, java.lang.String domain) This method clears all the ACIs set on a newsgroup. |
void |
clearPiecewiseNewsGroupSearchFlags() |
void |
createNewsGroup(ESDSLdapObject newsGroup, boolean ifGlobal, java.lang.String installName, java.lang.String domain) This method creates a news group in the directory. |
void |
createNewsPeer(ESDSLdapObject newspeer, java.lang.String installName) This method creates a news peer in the directory. |
void |
deleteNewsGroup(java.lang.String newsGroupName, java.lang.String installName, java.lang.String domain) This method deletes a news group. |
void |
deleteNewsPeer(java.lang.String newspeer, java.lang.String installName) This method deletes a news peer. |
boolean |
getIfGetNextBatchNewsGroup() |
java.util.Hashtable |
getNewsgroupACI(java.lang.String newsGroupName, java.lang.String installName, java.lang.String domain) This method gets the ACIs set on a newsgroup. |
ESDSLdapObject |
getNewsGroupMetaData() This method will return the list of mandatory and optional attributes for the newsgroup entry and the metadata associated with the newsgroup object. |
ESDSLdapObject |
getNewsPeerMetaData() This method will return the list of mandatory and optional attributes for the newspeer entry and the metadata associated with the newspeer object. |
ESDSLdapObject |
lookupNewsGroup(java.lang.String newsGroup, java.lang.String installName, java.lang.String domain, java.util.Vector attrsToFetch) This method looks up a global/local newsgroup in the directory. |
ESDSLdapObject |
lookupNewsPeer(java.lang.String newspeer, java.lang.String installName, java.util.Vector attrsToFetch) This method looks up a news peer in the directory. |
void |
modifyNewsGroup(java.lang.String newsGroupName, java.lang.String installName, java.lang.String domain, ESDSLdapObject newsgroup) This method modifies a news group in the directory. |
void |
modifyNewsPeer(java.lang.String newsPeerName, java.lang.String installName, ESDSLdapObject newspeer) This method modifies a news peer in the directory. |
ESDSLdapObject[] |
searchNewsGroup(java.lang.String queryCriteria, java.lang.String installName, java.lang.String domain, java.util.Vector attrsToFetch) This method searches for global/local newsgroup in the directory based on the specified search critiria. |
ESDSLdapObject[] |
searchNewsGroup(java.lang.String queryCriteria, java.lang.String installName, java.lang.String domain, java.util.Vector attrsToFetch, int batchSize) This method searches for global/local newsgroup in the directory based on the specified search critiria. |
ESDSLdapObject[] |
searchNewsPeer(java.lang.String queryCriteria, java.lang.String installName, java.util.Vector attrsToFetch) This method searchs for news peers based on search criteria. |
java.util.Vector |
setNewsgroupACI(java.lang.String newsGroupName, java.lang.String installName, java.lang.String domain, java.util.Hashtable acis) This method sets the ACIs on a newsgroup. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ESDSNNTPUtil(OESContext oesCtx) throws ESDSException
Method Detail |
public ESDSLdapObject getNewsGroupMetaData() throws ESDSException
public void createNewsGroup(ESDSLdapObject newsGroup, boolean ifGlobal, java.lang.String installName, java.lang.String domain) throws ESDSException
newsGroup
- The news group attribute and values.ifGlobal
- true for a global news group, false for a local (domain ) newsgroupinstallName
- Name of the installationdomain
- Name of the domain (when ifGlobal true), can be null for global newsgroupspublic ESDSLdapObject lookupNewsGroup(java.lang.String newsGroup, java.lang.String installName, java.lang.String domain, java.util.Vector attrsToFetch) throws ESDSException
newsGroup
- Name of the newsgroupinstallName
- Name of the installation - MUST be passed if looking for global newsgroupsdomain
- Domain name - MUST be passed if looking for local newsgroupsattrsToFetch
- The list of attributes to be fetched - Vector of Strings null if all attributes are to be fetchedpublic ESDSLdapObject[] searchNewsGroup(java.lang.String queryCriteria, java.lang.String installName, java.lang.String domain, java.util.Vector attrsToFetch, int batchSize) throws ESDSException
queryCriteria
- The criteria for search for newsgroup. For eg, t* for newsgroups with name "t*".installName
- Name of the installation - MUST be passed if looking for global newsgroupsdomain
- Domain name - MUST be passed if looking for local newsgroupsattrsToFetch
- The list of attributes to be fetched - Vector of Strings null if all attributes are to be fetchedbatchSize
- The number of entries to be returned in a batch when searching piecewise. When this is 0, then no piecewise search is done. It returns everything.public boolean getIfGetNextBatchNewsGroup()
public ESDSLdapObject[] searchNewsGroup(java.lang.String queryCriteria, java.lang.String installName, java.lang.String domain, java.util.Vector attrsToFetch) throws ESDSException
queryCriteria
- The criteria for search for newsgroup. For eg, t* for newsgroups with name "t*".installName
- Name of the installation - MUST be passed if looking for global newsgroupsdomain
- Domain name - MUST be passed if looking for local newsgroupsattrsToFetch
- The list of attributes to be fetched - Vector of Strings null if all attributes are to be fetchedpublic void modifyNewsGroup(java.lang.String newsGroupName, java.lang.String installName, java.lang.String domain, ESDSLdapObject newsgroup) throws ESDSException
newsGroupName
- Name of the newsgroupinstallName
- Name of the installation - MUST be passed if looking for global newsgroupsdomain
- Domain name - MUST be passed if looking for local newsgroupsnewsgroup
- The new data for modification. The new data 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 deleteNewsGroup(java.lang.String newsGroupName, java.lang.String installName, java.lang.String domain) throws ESDSException
newsGroupName
- Name of the newsgroupinstallName
- Name of the installation - MUST be passed if looking for global newsgroupsdomain
- Domain name - MUST be passed if looking for local newsgroupspublic ESDSLdapObject getNewsPeerMetaData() throws ESDSException
public void createNewsPeer(ESDSLdapObject newspeer, java.lang.String installName) throws ESDSException
newsPeer
- The news group attribute and values.installName
- Name of the installationpublic ESDSLdapObject lookupNewsPeer(java.lang.String newspeer, java.lang.String installName, java.util.Vector attrsToFetch) throws ESDSException
newspeer
- Name of the news peerinstallName
- Name of the installationattrsToFetch
- The list of attributes to be fetched - Vector of Strings null if all attributes are to be fetchedpublic ESDSLdapObject[] searchNewsPeer(java.lang.String queryCriteria, java.lang.String installName, java.util.Vector attrsToFetch) throws ESDSException
queryCriteria
- The criteria for search for newspeers. For eg, t* for newspeers with name "t*".installName
- Name of the installationattrsToFetch
- The list of attributes to be fetched - Vector of Strings null if all attributes are to be fetchedpublic void modifyNewsPeer(java.lang.String newsPeerName, java.lang.String installName, ESDSLdapObject newspeer) throws ESDSException
newsPeerName
- Name of the newspeerinstallName
- Name of the installationnewspeer
- The new data for modification. The new data 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 deleteNewsPeer(java.lang.String newspeer, java.lang.String installName) throws ESDSException
newsPeer
- Name of the news peerinstallName
- Name of the installationpublic void clearPiecewiseNewsGroupSearchFlags()
public java.util.Hashtable getNewsgroupACI(java.lang.String newsGroupName, java.lang.String installName, java.lang.String domain) throws ESDSException
newsGroupName
- Name of the group whose ACI is to be fetchedinstallName
- MUST be specified if the group is globaldomain
- MUST be specified if the group is a local newsgrouppublic void clearNewsgroupACI(java.lang.String newsGroupName, java.lang.String installName, java.lang.String domain) throws ESDSException
newsGroupName
- Name of the group on which the ACI is to be setinstallName
- MUST be specified if the group is globaldomain
- MUST be specified if the group is a local newsgrouppublic java.util.Vector setNewsgroupACI(java.lang.String newsGroupName, java.lang.String installName, java.lang.String domain, java.util.Hashtable acis) throws ESDSException
newsGroupName
- Name of the group on which ACI is to be setinstallName
- MUST be specified if the group is globaldomain
- MUST be specified if the group is a local newsgroupacis
- Hashtable containing the ACIs to be set. The key should be the mailid and the value is the ACI string.
|
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 |