public interface VPN extends Persistent
Modifier and Type | Method and Description |
---|---|
void |
export(java.lang.String clientId)
Export the VPN to a extranet client.
|
java.util.Collection |
getExtranetClientIds()
Return a Collection of ids of this VPNs importers.
|
java.lang.String |
getSubscriberId()
returns the id of the container subscirber
|
void |
setDescription(java.lang.String description)
Set the description of this VPN.
|
void |
unexport(java.lang.String clientId,
java.lang.String vpnSubstitutionName)
Unexport the VPN from a client.
|
addListener, delListener, getAttribute, getDisplayName, getId, getName, setAttribute, setAttribute, setDisplayName
void setDescription(java.lang.String description) throws CommunicationException, AccessControlException, ViolateSchemaException
description
- The new values for the description attribute.CommunicationException
- Thrown if there is a problem communicating with the directory.AccessControlException
- Thrown if the current manager does not have write access for the named attribute.ViolateSchemaException
- Thrown if this object's LDAP schema does not allow the given attribute or if multiple values are given for a single-valued attribute.java.util.Collection getExtranetClientIds() throws CommunicationException, AccessControlException
CommunicationException
- Thrown if there is a problem communicating with the directory.AccessControlException
- Thrown if the current manager does not have permission to access
the named attribute.void export(java.lang.String clientId) throws UnknownIdentityException, CommunicationException, AccessControlException
clientId
- The id of the extranet client.CommunicationException
- Thrown if there is a problem communicating with the directory.AccessControlException
- Thrown if the current manager does not have write access for the named attribute.UnknownIdentityException
- Thrown if the client entry does not exist in the directory.void unexport(java.lang.String clientId, java.lang.String vpnSubstitutionName) throws UnknownIdentityException, CommunicationException, AccessControlException
clientId
- The id of the extranet client. Subscriptions match the specified service category andvpnSubstitutionName
- the name of a substitution that conveys the vpn id. This parameter is used to help
finding subscriptions of this VPN in the specified subscriber.CommunicationException
- Thrown if there is a problem communicating with the directory.AccessControlException
- Thrown if the current manager does not have write access for the named attribute.UnknownIdentityException
- Thrown if the client entry does not exist in the directory.java.lang.String getSubscriberId() throws CommunicationException, AccessControlException
CommunicationException
- Thrown if there is a problem communicating with the directory.AccessControlException
- Thrown if the current manager does not have permission to access
the named attribute.