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

B25479-01


oracle.workspaces.container.announcement
Class CwAnnouncementDefinition

java.lang.Object
  extended byoracle.workspaces.resource.CwResourceItemDefinition
      extended byoracle.workspaces.container.announcement.CwAnnouncementDefinition


public class CwAnnouncementDefinition
extends CwResourceItemDefinition

Constructor Summary
CwAnnouncementDefinition(java.lang.String title, java.lang.String body, java.lang.String contentType, java.util.Date expirationTime)
Constructor

Method Summary
java.lang.String getBody()
Get the body - synonymous with calling getDescription
java.lang.String getContentType()
Gets the content type
java.lang.String getDescription()
Gets the Description - synonymous with calling getBody
java.util.Date getExpirationTime()
Gets the expiration time
java.lang.String getName()
Gets the name - synonym of title
java.lang.String getTitle()
Get the title
void setBody(java.lang.String body)
Sets body - synonymous with calling setDescription
void setContentType(java.lang.String contentType)
Sets the content type
void setDescription(java.lang.String desc)
Sets description - synonymous with calling setBody
void setExpirationTime(java.util.Date expirationTime)
Sets the expiration time
void setName(java.lang.String name)
Sets name for the resource item.
void setTitle(java.lang.String title)
Set the title

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

Constructor Detail

CwAnnouncementDefinition

public CwAnnouncementDefinition(java.lang.String title,
                                java.lang.String body,
                                java.lang.String contentType,
                                java.util.Date expirationTime)
                         throws CwAttrValException
Constructor

Method Detail

getBody

public java.lang.String getBody()
Get the body - synonymous with calling getDescription

getContentType

public java.lang.String getContentType()
Gets the content type

getDescription

public java.lang.String getDescription()
Gets the Description - synonymous with calling getBody
Overrides:
getDescription in class CwResourceItemDefinition
Returns:
the resource item description

getExpirationTime

public java.util.Date getExpirationTime()
Gets the expiration time

getName

public java.lang.String getName()
Gets the name - synonym of title
Overrides:
getName in class CwResourceItemDefinition
Returns:
the resource item name

getTitle

public java.lang.String getTitle()
Get the title

setBody

public void setBody(java.lang.String body)
             throws CwAttrValException
Sets body - synonymous with calling setDescription
Throws:
CwAttrValException

setContentType

public void setContentType(java.lang.String contentType)
Sets the content type

setDescription

public void setDescription(java.lang.String desc)
                    throws CwAttrValException
Sets description - synonymous with calling setBody
Overrides:
setDescription in class CwResourceItemDefinition
Throws:
CwAttrValException

setExpirationTime

public void setExpirationTime(java.util.Date expirationTime)
Sets the expiration time

setName

public void setName(java.lang.String name)
             throws CwAttrValException
Sets name for the resource item.
Overrides:
setName in class CwResourceItemDefinition
Throws:
CwAttrValException

setTitle

public void setTitle(java.lang.String title)
              throws CwAttrValException
Set the title
Throws:
CwAttrValException

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