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

B25479-01


oracle.workspaces
Interface CwEntity

All Known Implementing Classes:
CwResourceItem, CwWorkspace

public interface CwEntity
Since:
release specific (what release of product did this appear in)

Method Summary
 boolean isNew()
          returns true if and only if getCreatedTime() > getLastAccessTime()
 boolean isNew(java.util.Date startTime)
          returns true if and only if isNew() and getCreatedTime() > startTime
 boolean isUnread()
          returns true if and only if getLastModificationTime() > getLastAccessTime()
 boolean isUnread(java.util.Date startTime)
          returns true if and only if isUnread() and getLastModificationTime() > startTime

 

Method Detail

isNew

public boolean isNew()
              throws CwException
returns true if and only if getCreatedTime() > getLastAccessTime()
Throws:
CwException

isNew

public boolean isNew(java.util.Date startTime)
              throws CwException
returns true if and only if isNew() and getCreatedTime() > startTime
Throws:
CwException

isUnread

public boolean isUnread()
                 throws CwException
returns true if and only if getLastModificationTime() > getLastAccessTime()
Throws:
CwException

isUnread

public boolean isUnread(java.util.Date startTime)
                 throws CwException
returns true if and only if isUnread() and getLastModificationTime() > startTime
Throws:
CwException

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