com.sapportals.wcm.repository.service.accessstatistic

Interface IAccessStatistic


public interface IAccessStatistic

Interface to read collected access data. Copyright 2004 SAP AG


Method Summary
 void clearLastReadDate(IResource resource)
          Deletes last read date property for a centain a document.
 Date getLastReadDate(IResource resource)
          Gets last read date for a centain a document; may return null
 void updateLastReadDate(IResource resource)
          Updates last read date property for a centain a document when this document is read
 

Method Detail

getLastReadDate

Date getLastReadDate(IResource resource)
                     throws com.sapportals.wcm.WcmException
Gets last read date for a centain a document; may return null

Parameters:
resource - a IResource with resource for which the last read date will be provided
Returns:
a Date with last read date.
Throws:
com.sapportals.wcm.WcmException - Exception raised in failure situation

clearLastReadDate

void clearLastReadDate(IResource resource)
                       throws com.sapportals.wcm.WcmException
Deletes last read date property for a centain a document.

Parameters:
resource - a IResource with resource for which the last read date will be deleted
Throws:
com.sapportals.wcm.WcmException - Exception raised in failure situation

updateLastReadDate

void updateLastReadDate(IResource resource)
                        throws com.sapportals.wcm.WcmException
Updates last read date property for a centain a document when this document is read

Parameters:
resource - a IResource with resource for which the last read date will be updated
Throws:
com.sapportals.wcm.WcmException - Exception raised in failure situation
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2011 SAP AG Complete Copyright Notice