com.sapportals.wcm.repository.filter

Interface IContentFilter2

All Superinterfaces:
IContent, IFilter, IVaryingContent

public interface IContentFilter2
extends IFilter, IContent, IVaryingContent

Defines a content filter that will modify the content of a resource when the content is read or writen.


Method Summary
 IRepositoryManager getRepositoryManager()
          Returns the repository manager in case this is a write filter which is applied before a create operation.
 IResource getResource()
          Returns the resource that will be filtered.
 com.sapportals.wcm.util.uri.RID getRID()
          Returns the RID of the new resource in case this is a write filter which is applied before a create operation.
 
Methods inherited from interface com.sapportals.wcm.util.content.IContent
close, getContentLength, getContentType, getEncoding, getInputStream
 
Methods inherited from interface com.sapportals.wcm.repository.IVaryingContent
isVarying
 

Method Detail

getResource

IResource getResource()
                      throws com.sapportals.wcm.WcmException
Returns the resource that will be filtered. Return null if this is a write filter which is applied before a create operation (resource does not exist).

Throws:
com.sapportals.wcm.WcmException

getRID

com.sapportals.wcm.util.uri.RID getRID()
                                       throws com.sapportals.wcm.WcmException
Returns the RID of the new resource in case this is a write filter which is applied before a create operation.

Throws:
com.sapportals.wcm.WcmException

getRepositoryManager

IRepositoryManager getRepositoryManager()
                                        throws com.sapportals.wcm.WcmException
Returns the repository manager in case this is a write filter which is applied before a create operation.

Throws:
com.sapportals.wcm.WcmException
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