public interface IResourceFilter
Copyright (c) SAP AG 2004
Modifier and Type | Method and Description |
---|---|
String[] |
getFilenamePatterns() |
boolean |
getIncludeFilenames() |
boolean |
getIncludeFiles() |
boolean |
getIncludeFolders() |
boolean |
getIncludeLinks() |
boolean |
getIncludeMimeTypes() |
boolean |
getIncludeResourceTypes() |
boolean |
getIncludeRids() |
boolean |
getIncludeUrls() |
int |
getMaxAgeInDays() |
long |
getMaxContentSizeInBytes() |
String[] |
getMimeTypePatterns() |
long |
getMinContentSizeInBytes() |
String[] |
getResourceTypeIDs() |
String[] |
getRidPatterns() |
String |
getStringRepresentation()
Get a string representation of the filter that can be used to persist the filter specification
and to recreate a filter later.
|
String |
getUrlRegExp() |
boolean |
isFiltered(IResource resource)
Check if a resource matches the filter specifications (scope and result).
|
boolean |
isFiltered(IResource resource,
long maxRetrievalTimeInMilliseconds) |
boolean |
isFilteredByResult(IResource resource)
Check if a resource matches the filter specifications that are designated as result filters.
|
boolean |
isFilteredByResult(IResource resource,
long maxRetrievalTimeInMilliseconds) |
boolean |
isFilteredByScope(RID rid)
Check if a resource matches the filter specifications that are designated as scope filters.
|
boolean getIncludeFiles()
boolean getIncludeFolders()
boolean getIncludeLinks()
boolean getIncludeFilenames()
filenamePatterns
are filteredfilenamePatterns
are filteredString[] getFilenamePatterns()
boolean getIncludeMimeTypes()
mimeTypePatterns
are filteredmimeTypePatterns
are filteredString[] getMimeTypePatterns()
boolean getIncludeResourceTypes()
resourceTypes
are filteredresourceTypes
are filteredString[] getResourceTypeIDs()
boolean getIncludeRids()
ridPatterns
are filteredridPatterns
are filteredString[] getRidPatterns()
boolean getIncludeUrls()
urlRegExp
are filteredurlRegExp
are filteredString getUrlRegExp()
long getMinContentSizeInBytes()
long getMaxContentSizeInBytes()
int getMaxAgeInDays()
boolean isFiltered(IResource resource) throws ResourceException, ContentException
resource
- resource to be checkedResourceException
- thrown on errorContentException
- thrown on errorboolean isFiltered(IResource resource, long maxRetrievalTimeInMilliseconds) throws ResourceException, ContentException
ResourceException
ContentException
boolean isFilteredByScope(RID rid) throws ResourceException
rid
- resource to be checkedResourceException
boolean isFilteredByResult(IResource resource) throws ResourceException, ContentException
resource
- resource to be checkedResourceException
- thrown on errorContentException
- thrown on errorboolean isFilteredByResult(IResource resource, long maxRetrievalTimeInMilliseconds) throws ResourceException, ContentException
ResourceException
ContentException
String getStringRepresentation()
Access Rights |
---|
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 2018 SAP AG Complete Copyright Notice