Smartswitch
UserGroup.ice
Go to the documentation of this file.
1 #pragma once
2 
3 [["python:pkgdir:Smartswitch/Peer"]]
4 
5 #include <Peer/GenericPeer.ice>
6 #include <Peer/UserCallerId.ice>
7 #include <AccessException.ice>
8 #include <DuplicateException.ice>
9 
10 module Smartswitch
11 {
12  module Peer
13  {
17  interface UserGroup extends GenericPeer
18  {
29  UserCallerIdSequence getCallerIds() throws AccessException;
30 
43  UserCallerId* addCallerId(string callerNumber,
44  string calleeIdPattern,
45  string realCalleeIdPattern) throws AccessException,
47  };
48  };
49 };
Definition: AccessException.ice:7
Interface to modify caller ID replacement for a User.
Definition: UserCallerId.ice:20
This interface allows to manipulate a UserGroup.
Definition: UserGroup.ice:17
Thrown when a user tries perform an action which is not allowed for him.
Definition: AccessException.ice:20
The exception is thrown when the entry you try to add already exists.
Definition: DuplicateException.ice:15
sequence< UserCallerId > UserCallerIdSequence
Definition: UserCallerId.ice:115
This is a generic interface to each of the peers.
Definition: GenericPeer.ice:16