public final class XRefManager extends Object
Modifier and Type | Field and Description |
---|---|
protected PSSession |
_session
The user connecting to the server.
|
Constructor and Description |
---|
XRefManager(PSSession user)
Creates a new manager for PageSeeder XRefs.
|
Modifier and Type | Method and Description |
---|---|
static PSEntityCache<PSXRef> |
getCache() |
List<PSXRef> |
listXRefs(PSGroup group,
PSURI uri)
List forward XRefs for a URI (up to 1000).
|
List<PSXRef> |
listXRefs(PSGroup group,
PSURI uri,
List<PSXRef.TYPE> includetypes,
boolean forward,
boolean reverse,
String version,
int page,
int pagesize)
List XRefs for a URI.
|
PSSession |
session() |
protected final PSSession _session
public XRefManager(PSSession user)
user
- The user that can connect to PageSeeder.public List<PSXRef> listXRefs(PSGroup group, PSURI uri) throws APIException
group
- The context groupuri
- The URInull
)APIException
public List<PSXRef> listXRefs(PSGroup group, PSURI uri, List<PSXRef.TYPE> includetypes, boolean forward, boolean reverse, String version, int page, int pagesize) throws APIException
group
- The context groupuri
- The URIincludetypes
- list of types of XRef to includes (null means all)forward
- whether to include forward XRefsreverse
- whether to include reverse XRefsversion
- version of document (null means current)page
- the page to loadpagesize
- the number of results per pagenull
)APIException
public static PSEntityCache<PSXRef> getCache()
public PSSession session()
Copyright © 2016 Allette Systems. All rights reserved.