Oracle® Mail Java API Reference
10g Release 1 (10.1.1)

B14492-01

oracle.mail.sdk.esmail
Class OracleEsProfile

java.lang.Object
  |
  +--oracle.mail.sdk.esmail.OracleEsProfile

public class OracleEsProfile
extends java.lang.Object

This class implements an Wireless Profile

NOTE: ...


Constructor Summary
OracleEsProfile(javax.mail.Store store, java.lang.String name)
OracleEsProfile(javax.mail.Store store, java.lang.String name, java.lang.String description)

Method Summary
void addFilter(OracleEsFilter filter)
add filters to the profile, store in the mailstore
void create()
Create the profile in the mailstore
void delete()
Delete the profile in the mailstore and all the filters belonging to the profile.
void deleteFilter(OracleEsFilter filter)
delete the filter from this profile, exception thrown if filter does not belong to profile.
java.lang.String getDescription()
java.lang.String getName()
OracleEsFilter[] listFilters()
list all the filters that belong to this profile - retrieve latest information from the mailstore.
void modifyFilter(OracleEsFilter newFilter)
replace the current filter with the new filter

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

OracleEsProfile

public OracleEsProfile(javax.mail.Store store,
                       java.lang.String name,
                       java.lang.String description)

OracleEsProfile

public OracleEsProfile(javax.mail.Store store,
                       java.lang.String name)

Method Detail

create

public void create()
            throws java.lang.Exception
Create the profile in the mailstore

delete

public void delete()
            throws java.lang.Exception
Delete the profile in the mailstore and all the filters belonging to the profile.

addFilter

public void addFilter(OracleEsFilter filter)
               throws java.lang.Exception
add filters to the profile, store in the mailstore

deleteFilter

public void deleteFilter(OracleEsFilter filter)
                  throws java.lang.Exception
delete the filter from this profile, exception thrown if filter does not belong to profile.

modifyFilter

public void modifyFilter(OracleEsFilter newFilter)
                  throws java.lang.Exception
replace the current filter with the new filter

listFilters

public OracleEsFilter[] listFilters()
list all the filters that belong to this profile - retrieve latest information from the mailstore.

getName

public java.lang.String getName()

getDescription

public java.lang.String getDescription()

Oracle® Mail Java API Reference
10g Release 1 (10.1.1)

B14492-01

Copyright © 1988, 2005, Oracle. All rights reserved.