public final class ExternalURIManager extends Object
Modifier and Type | Field and Description |
---|---|
protected PSSession |
_session
The user connecting to the server.
|
Constructor and Description |
---|
ExternalURIManager(PSSession user)
Creates a new manager for PageSeeder groups.
|
Modifier and Type | Method and Description |
---|---|
boolean |
create(PSExternalURI externaluri,
PSGroup group,
PSMember creator)
Create the specified external URI in PageSeeder.
|
static PSEntityCache<PSExternalURI> |
getCache() |
PSExternalURI |
getExternalURI(long id,
PSGroup group)
Identify an external URI from a specific URI ID.
|
PSExternalURI |
getExternalURI(String url,
PSGroup group)
Identify an external URI from a specified URL.
|
PSSession |
session() |
protected final PSSession _session
public ExternalURIManager(PSSession user)
user
- The user that can connect to PageSeeder.public boolean create(PSExternalURI externaluri, PSGroup group, PSMember creator) throws APIException
externaluri
- The external URI to creategroup
- The group the external URI is part ofcreator
- The member creating the external URItrue
if the document was created.APIException
public PSExternalURI getExternalURI(long id, PSGroup group) throws APIException
id
- The URI ID of the external URI.group
- The group the external URI is accessible from.APIException
public PSExternalURI getExternalURI(String url, PSGroup group) throws APIException
url
- The URLgroup
- The group the external URI is accessible from.APIException
public static PSEntityCache<PSExternalURI> getCache()
public PSSession session()
Copyright © 2016 Allette Systems. All rights reserved.