com.sap.netweaver.coll.attachment.filter

Class AttachmentCountPropertyFilter

java.lang.Object
  extended by com.sapportals.wcm.WcmObject
      extended by com.sapportals.wcm.repository.filter.AbstractPropertyFilter
          extended by com.sap.netweaver.coll.attachment.filter.AttachmentCountPropertyFilter
All Implemented Interfaces:
IFilter, IPropertyFilter

public class AttachmentCountPropertyFilter
extends AbstractPropertyFilter

Adding count property to Property List


Field Summary
 
Fields inherited from class com.sapportals.wcm.repository.filter.AbstractPropertyFilter
filter
 
Fields inherited from class com.sapportals.wcm.WcmObject
ORDER_TYPE_MANUAL, ORDER_TYPE_NONE
 
Constructor Summary
AttachmentCountPropertyFilter(IPropertyFilter propertyFilter)
          Construct object of class GroupWareAttachmentStylePropertyFilter.
 
Method Summary
 IPropertyMap filter()
          Returns the filtered property map.
 
Methods inherited from class com.sapportals.wcm.repository.filter.AbstractPropertyFilter
getFilterContext, getFilterMode, getPropertyNameList, getRepositoryManager, getResource, getURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentCountPropertyFilter

public AttachmentCountPropertyFilter(IPropertyFilter propertyFilter)
Construct object of class GroupWareAttachmentStylePropertyFilter.

Parameters:
type -
resource -
properties - input PropertyFilter
Method Detail

filter

public IPropertyMap filter()
                    throws ResourceException
Description copied from interface: IPropertyFilter
Returns the filtered property map. A filter implementation must never return null or a new empty map. If the filter will not change the map or encounters an error it must return the map returned by the predecessor filter's filter() method. If the predecessor's filter() method throws an exception this exception should not be catched (or catched and re-thrown).

Returns:
Throws:
ResourceException - Exception raised in failure situation returns: PropertyMap containing new Property


Copyright 2011 SAP AG Complete Copyright Notice