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

B25479-01


oracle.workspaces.container.announcement
Class CwAnnouncementProperties

java.lang.Object
  extended byoracle.workspaces.resource.CwResourceItemProperties
      extended byoracle.workspaces.container.announcement.CwAnnouncementProperties

All Implemented Interfaces:
CwEntityProperties

public class CwAnnouncementProperties
extends CwResourceItemProperties

Method Summary
java.lang.String getBody()
Get the body - synonymous with calling getDescription
java.lang.String getContentType()
Gets the content type
CwUser getCreatedBy()
Gets the user that created the announcement
java.lang.String getDescription()
Gets the description - synonymous with calling getBody
java.util.Date getExpirationTime()
Gets the expiration time
CwUser getLastModifiedBy()
Gets the user that last modified the announcement
java.lang.String getName()
Gets the name - synonymous of calling getTitle
CwUser getOwner()
Gets the owner - synonymous with calling getLastModifiedBy
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 setExpirationTime(java.util.Date expirationTime)
Sets the expiration time
void setTitle(java.lang.String title)
Set the title

Methods inherited from class oracle.workspaces.resource.CwResourceItemProperties
getCreatedTime, getLastAccessTime, getLastModifiedTime, getUid, setDescription, setName

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

Method Detail

getBody

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

getContentType

public java.lang.String getContentType()
                                throws CwException
Gets the content type
Throws:
CwException

getCreatedBy

public CwUser getCreatedBy()
                    throws CwException
Gets the user that created the announcement
Throws:
CwException

getDescription

public java.lang.String getDescription()
                                throws CwException
Gets the description - synonymous with calling getBody
Overrides:
getDescription in class CwResourceItemProperties
Throws:
CwException

getExpirationTime

public java.util.Date getExpirationTime()
                                 throws CwException
Gets the expiration time
Throws:
CwException

getLastModifiedBy

public CwUser getLastModifiedBy()
                         throws CwException
Gets the user that last modified the announcement
Overrides:
getLastModifiedBy in class CwResourceItemProperties
Throws:
CwException

getName

public java.lang.String getName()
                         throws CwException
Gets the name - synonymous of calling getTitle
Overrides:
getName in class CwResourceItemProperties
Throws:
CwException

getOwner

public CwUser getOwner()
                throws CwException
Gets the owner - synonymous with calling getLastModifiedBy
Overrides:
getOwner in class CwResourceItemProperties
Throws:
CwException

getTitle

public java.lang.String getTitle()
                          throws CwException
Get the title
Throws:
CwException

setBody

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

setContentType

public void setContentType(java.lang.String contentType)
                    throws CwException
Sets the content type
Throws:
CwException

setExpirationTime

public void setExpirationTime(java.util.Date expirationTime)
                       throws CwException
Sets the expiration time
Throws:
CwException

setTitle

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

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