|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Property filters are used to manipulate resource properties and their visibility. They can modify, delete or add properties to a resource.
For example, with the help of a filter it is possible to change the property that specifies the author of resource. The personal name of the author can be changed to the company name.
| Method Summary | |
IPropertyMap |
filter()
Returns the filtered property map. |
java.util.Properties |
getFilterContext()
|
PropertyFilterMode |
getFilterMode()
Get the FilterMode attribute of the IPropertyFilter object. |
IPropertyNameList |
getPropertyNameList()
Get the property name list if mode is SINGLE_PROPERTY or PROPERTY_LIST. |
IRepositoryManager |
getRepositoryManager()
Returns the repository manager of the new resource in case the write filter is applied to a create operation. |
IResource |
getResource()
Returns the resource that will be filtered. |
URI |
getURI()
Returns the URI of the new resource in case the property write filter is applied to a create operation. |
| Method Detail |
public java.util.Properties getFilterContext()
public IResource getResource()
throws WcmException
WcmException -
public URI getURI()
throws WcmException
WcmException -
public IRepositoryManager getRepositoryManager()
throws WcmException
WcmException -
public PropertyFilterMode getFilterMode()
throws WcmException
WcmException - Exception raised in failure situation
public IPropertyNameList getPropertyNameList()
throws WcmException
WcmException - Exception raised in failure situation
public IPropertyMap filter()
throws WcmException
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).WcmException -
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||