Oracle® Collaboration Suite Workspaces API Reference
10g Release 1 (10.1.2)

B25479-01


oracle.workspaces.resource.email
Class CwEmailResourceProperties

java.lang.Object
  extended byoracle.workspaces.resource.CwResourceProperties
      extended byoracle.workspaces.resource.email.CwEmailResourceProperties

All Implemented Interfaces:
CwResourcePropertyName

public class CwEmailResourceProperties
extends CwResourceProperties

Properties for the email/inbox resource. The following email properties are implemented with lazy initialization:

All the setter and getter methods of those properties will trigger #init call to first populate the properties from backend. The #init call is implemented in such a way that it will be only executed once and only once.


Field Summary

Fields inherited from interface oracle.workspaces.resource.CwResourcePropertyName
BOARD_EDIT_POLICY, BOARD_EMAIL_POLICY, BODY, CREATION_TIME, CREATOR, DESCRIPTION, EMAIL_SUBSCRIPTION_POLICY, HOST, LAST_MODIFIED_TIME, LOCATION, NAME, NOTIFICATION_TOKEN, PERCENTAGE, PORT, TITLE, TYPE, UID

Method Summary
java.lang.String getEmailAddress()
Returns the email address of the resource.
int getEmailInboundPolicy()
Returns the board setting for EmailInboundPolicy.
java.lang.String getEmailSubscriptionFormat()
Returns the board setting for EmailSubscriptionPolicy Message Format.
java.lang.String getEmailSubscriptionPolicy()
Returns the board setting for EmailSubscriptionPolicy.
java.lang.String getForwardingEmailAddress()
Returns the board setting for EmailForwardingPolicy.
CwResourceType getType()
Returns the resource type.
void setEmailInboundPolicy(int iEmailInboundPolicy)
Sets the board setting for EmailInboundPolicy.
void setEmailSubscriptionFormat(java.lang.String szEmailSubscriptionFormat)
Sets the board setting for EmailSubscriptionPolicy.
void setEmailSubscriptionPolicy(java.lang.String szEmailSubscriptionPolicy)
Sets the board setting for EmailSubscriptionPolicy.
void setForwardingEmailAddress(java.lang.String szForwardingEmailAddress)
Sets the board setting for EmailForwardingPolicy.

Methods inherited from class oracle.workspaces.resource.CwResourceProperties
getCreationTime, getCreator, getDescription, getLastModifiedTime, getName, getUid, setDescription, setName

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

Method Detail

getEmailAddress

public java.lang.String getEmailAddress()
                                 throws CwException
Returns the email address of the resource.
Throws:
CwException

getEmailInboundPolicy

public int getEmailInboundPolicy()
                          throws CwException
Returns the board setting for EmailInboundPolicy. Note: The valid values are public constants in the CwEmailResource class.
Throws:
CwException

getEmailSubscriptionFormat

public java.lang.String getEmailSubscriptionFormat()
                                            throws CwException
Returns the board setting for EmailSubscriptionPolicy Message Format. Note: The valid values are public constants in the CwEmailResource class.
Throws:
CwException

getEmailSubscriptionPolicy

public java.lang.String getEmailSubscriptionPolicy()
                                            throws CwException
Returns the board setting for EmailSubscriptionPolicy. Note: The valid values are public constants in the CwEmailResource class.
Throws:
CwException

getForwardingEmailAddress

public java.lang.String getForwardingEmailAddress()
                                           throws CwException
Returns the board setting for EmailForwardingPolicy. Note: The valid values are public constants in the CwEmailResource class.
Throws:
CwException

getType

public CwResourceType getType()
Returns the resource type.
Specified by:
getType in class CwResourceProperties

setEmailInboundPolicy

public void setEmailInboundPolicy(int iEmailInboundPolicy)
                           throws CwException
Sets the board setting for EmailInboundPolicy. Note: The valid values are public constants in the CwEmailResource class.
Throws:
CwException

setEmailSubscriptionFormat

public void setEmailSubscriptionFormat(java.lang.String szEmailSubscriptionFormat)
                                throws CwException
Sets the board setting for EmailSubscriptionPolicy. Note: The valid values are public constants in the CwEmailResource class.
Throws:
CwException

setEmailSubscriptionPolicy

public void setEmailSubscriptionPolicy(java.lang.String szEmailSubscriptionPolicy)
                                throws CwException
Sets the board setting for EmailSubscriptionPolicy. Note: The valid values are public constants in the CwEmailResource class.
Throws:
CwException

setForwardingEmailAddress

public void setForwardingEmailAddress(java.lang.String szForwardingEmailAddress)
                               throws CwException
Sets the board setting for EmailForwardingPolicy. Note: The valid values are public constants in the CwEmailResource class.
Throws:
CwException

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