Modifier and Type | Method and Description |
---|---|
IResourceFilter |
createFilter(boolean includeFiles,
boolean includeFolders,
boolean includeLinks,
boolean includeFilenames,
String[] filenamePatterns,
boolean includeMimeTypes,
String[] mimeTypePatterns,
boolean includeResourceTypes,
String[] resourceTypeIDs,
boolean includeRids,
String[] ridPatterns,
boolean includeUrls,
String urlRegExp,
long minContentSizeInBytes,
long maxContentSizeInBytes,
int maxAgeInDays,
boolean caseSensitive) |
IResourceFilter |
createFilter(boolean includeFiles,
boolean includeFolders,
boolean includeLinks,
boolean includeFilenames,
String[] filenamePatterns,
boolean includeMimeTypes,
String[] mimeTypePatterns,
boolean includeRids,
String[] ridPatterns,
boolean includeUrls,
String urlRegExp,
long minContentSizeInBytes,
long maxContentSizeInBytes,
int maxAgeInDays,
boolean caseSensitive)
Create a resource filter.
|
IResourceFilter |
createFromString(String filterString)
Create a resource filter from a string that was created by
IResourceFilter.getStringRepresentation() . |
IResourceFilter |
getFilter(String configFilterName)
Create a resource filter which is configured in the configuration framework.
|
getDescription, getDescription, getID
IResourceFilter createFilter(boolean includeFiles, boolean includeFolders, boolean includeLinks, boolean includeFilenames, String[] filenamePatterns, boolean includeMimeTypes, String[] mimeTypePatterns, boolean includeRids, String[] ridPatterns, boolean includeUrls, String urlRegExp, long minContentSizeInBytes, long maxContentSizeInBytes, int maxAgeInDays, boolean caseSensitive) throws ResourceFilterException
includeFiles
- true if files are not filtered in generalincludeFolders
- true if folders are not filtered in generalincludeLinks
- true if links are not filtered in generalincludeFilenames
- true if all files which do not match the filenamePatterns
are filteredfilenamePatterns
are filteredfilenamePatterns
- list of file names separated by comma; wildcards are applied (*, ?) (e.g. *.zip)includeMimeTypes
- true if all files whose mime types do not match the mimeTypePatterns
are filteredmimeTypePatterns
are filteredmimeTypePatterns
- list of mime types separated by comma; wildcards are applied (*, ?) (e.g. text/*)includeRids
- true if all files whose RIDs do not match the ridPatterns
are filteredridPatterns
are filteredridPatterns
- list of access paths separated by comma; wildcards are applied (*, **, ?) (e.g. /documents/**)includeUrls
- true if all folders or files whose content-link URLs do not match the urlRegExp
are filteredurlRegExp
are filteredurlRegExp
- regular expression that is matched against the URL stored as content link of a document.minContentSizeInBytes
- all files whose content size is smaller than this value are filteredmaxContentSizeInBytes
- all files whose content size exceeds this value are filtered (0 is unlimited)maxAgeInDays
- all files which are older that this value are filtered (0 is unlimited)caseSensitive
- true if the specified RIDs or URLs are treated as case sensitiveResourceFilterException
- thrown on errorIResourceFilter createFilter(boolean includeFiles, boolean includeFolders, boolean includeLinks, boolean includeFilenames, String[] filenamePatterns, boolean includeMimeTypes, String[] mimeTypePatterns, boolean includeResourceTypes, String[] resourceTypeIDs, boolean includeRids, String[] ridPatterns, boolean includeUrls, String urlRegExp, long minContentSizeInBytes, long maxContentSizeInBytes, int maxAgeInDays, boolean caseSensitive) throws ResourceFilterException
includeFiles
- includeFolders
- includeLinks
- includeFilenames
- filenamePatterns
- includeMimeTypes
- mimeTypePatterns
- includeResourceTypes
- resourceTypeIDs
- includeRids
- ridPatterns
- includeUrls
- urlRegExp
- minContentSizeInBytes
- maxContentSizeInBytes
- maxAgeInDays
- caseSensitive
- ResourceFilterException
IResourceFilter createFromString(String filterString) throws ResourceFilterException
IResourceFilter.getStringRepresentation()
.
This string representation can be used for persisting resource filters.filterString
- the string representation of a resource filterResourceFilterException
- thrown if the string representation is invalidIResourceFilter getFilter(String configFilterName) throws ResourceFilterException
configFilterName
- name of resource filter configurableResourceFilterException
- thrown on errorAccess 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