public class Scope extends Object
Modifier and Type | Field and Description |
---|---|
static int |
GLOBAL_SCOPE
The scope that is associated with the entire application as a unit
|
static int |
PAGE_SCOPE
Any scope that is associated with a page
|
static int |
SPACE_SCOPE
Any scope that is associated with a space
|
static int |
WIKI_SCOPE
Any scope that is associated with a wiki
|
Constructor and Description |
---|
Scope(int type,
String name,
boolean deep)
Creates a new Scope instance with the specified field values.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getPattern() |
int |
getType() |
boolean |
isDeep() |
public static final int PAGE_SCOPE
public static final int SPACE_SCOPE
public static final int WIKI_SCOPE
public static final int GLOBAL_SCOPE
public Scope(int type, String name, boolean deep)
type
- The type of the scopename
- The name of the document associated with this scopedeep
- true
for matching all sub documents; false
for matching the associated
document as a unitCopyright © 2004–2022 XWiki. All rights reserved.