|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.stardust.engine.api.query.SubFolderPolicy
public class SubFolderPolicy
Allows to limit a DocumentQuery to a specified subfolder.
| Constructor Summary | |
|---|---|
SubFolderPolicy(String limitSubFolder)
Limits the search to the specified subfolder and its subfolders. |
|
SubFolderPolicy(String limitSubFolder,
boolean recursive)
Limits the search to the specified subfolder and optionally its subfolders. |
|
| Method Summary | |
|---|---|
String |
getLimitSubFolder()
|
boolean |
isRecursive()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubFolderPolicy(String limitSubFolder)
Examples: "/subfolder1", "/subfolder1/subfolder2", "/subfolder1//subfolder5"
limitSubFolder - The folder name or path that the query should be limited to.
public SubFolderPolicy(String limitSubFolder,
boolean recursive)
With recursive set to false the search includes only
documents in the specified subfolder.
Examples: "/subfolder1", "/subfolder1/subfolder2", "/subfolder1//subfolder5"
limitSubFolder - The folder name or path that the query should be limited to.recursive - Specifies if folders below the limited subfolder should be included in the
search.| Method Detail |
|---|
public String getLimitSubFolder()
public boolean isRecursive()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||