com.sap.netweaver.coll.attachment.filter
Class AttachmentCountFilterManager
java.lang.Object
com.sapportals.wcm.repository.filter.AbstractFilterManager
com.sapportals.wcm.repository.filter.AbstractPropertyFilterManager
com.sap.netweaver.coll.attachment.filter.AttachmentCountFilterManager
- All Implemented Interfaces:
- IComponent, IComponentInfo, IConfigurable, ILifecycleInfo, IStartable, IThreadSafe, IFilterManager, IPropertyFilterManager
public class AttachmentCountFilterManager
- extends AbstractPropertyFilterManager
Manager of Attachemnt Count FIlter
- count number of Atttachments
- only a read filter
|
Method Summary |
IPropertyFilter |
getFilterForRead(IPropertyFilter propertyFilter)
Get the FilterForRead attribute of the RatingPropertyFilterManager object. |
IPropertyFilter |
getFilterForWrite(IPropertyFilter propertyFilter)
Get the FilterForWrite attribute of the RatingPropertyFilterManager object. |
boolean |
isApplicable(IResource resource)
Get the Applicable attribute of the RatingPropertyFilterManager object. |
protected void |
shutDownImpl()
The implementation must overwrite this method if it has to release
resources acquired during startup. |
protected void |
startUpImpl()
The implementation must overwrite this method if it has initial startup
handling to do (acquire resources, open connections to remote systems,
etc). |
| Methods inherited from class com.sapportals.wcm.repository.filter.AbstractFilterManager |
callUpdateFilter, checkNotReconfigurableAttributes, configure, convertConfigToProperties, convertConfigToProperties, getCreationDate, getDescription, getID, getLastConfigurationException, getLastReconfigurationDate, getName, getNextAutoRestartDate, getProperties, getStartupException, getState, parseValueList, shutDown, start, startUp, stop, throwConfigurationException |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attachmentCountPropertyName
protected static IPropertyName attachmentCountPropertyName
AttachmentCountFilterManager
public AttachmentCountFilterManager()
isApplicable
public boolean isApplicable(IResource resource)
throws ResourceException
- Get the Applicable attribute of the RatingPropertyFilterManager object.
- Parameters:
resource -
- Returns:
- The Applicable value
- Throws:
ResourceException - Exception raised in failure situation
input: Resource which is handled
getFilterForRead
public IPropertyFilter getFilterForRead(IPropertyFilter propertyFilter)
throws com.sapportals.wcm.WcmException
- Get the FilterForRead attribute of the RatingPropertyFilterManager object.
- Parameters:
propertyFilter - mode -
- Returns:
- The FilterForRead value
- Throws:
com.sapportals.wcm.WcmException - Exception raised in failure situation
input Property Filter
getFilterForWrite
public IPropertyFilter getFilterForWrite(IPropertyFilter propertyFilter)
throws com.sapportals.wcm.WcmException
- Get the FilterForWrite attribute of the RatingPropertyFilterManager object.
- Parameters:
propertyFilter - mode -
- Returns:
- The FilterForWrite value
- Throws:
com.sapportals.wcm.WcmException - Exception raised in failure situation
input Property Filter
startUpImpl
protected void startUpImpl()
throws ConfigurationException,
StartupException
- Description copied from class:
AbstractFilterManager
- The implementation must overwrite this method if it has initial startup
handling to do (acquire resources, open connections to remote systems,
etc). Accoring to the contract of the
IStartable interface of the CRT this
method will be called only once. It will be called on systen start up or
when a new instance of this component is added to the persistence
configuration.
- Overrides:
startUpImpl in class AbstractFilterManager
- Throws:
ConfigurationException - Exception raised in failure situation
StartupException - Exception raised in failure situation
shutDownImpl
protected void shutDownImpl()
- Description copied from class:
AbstractFilterManager
- The implementation must overwrite this method if it has to release
resources acquired during startup. Accoring to the contract of the
IStartable interface of the CRT this
method will be called only once. It will be called when the component is
removed from the persistent configuration or when the system shuts down.
- Overrides:
shutDownImpl in class AbstractFilterManager
Copyright 2011 SAP AG Complete Copyright Notice