public interface BrokeringService extends Service
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
addBroker(UserLocatorVO userLocator,
UserLocatorVO brokerLocator,
boolean mainBroker)
Adds a broker for the given user, optionally setting the broker as main
|
AddBrokerData |
getAddBrokerData(UserLocatorVO locator)
Returns data for adding a broker to the given user
|
java.util.List<BrokeringLogVO> |
getBrokeringLogs(UserLocatorVO locator)
Return the brokering logs associated to the given user.
|
BrokeringData |
getData(UserLocatorVO locator)
Returns data for an user brokerings
|
void |
removeBroker(UserLocatorVO userLocator,
UserLocatorVO brokerLocator)
Removes the given broker from the user brokerings
|
void |
setMainBroker(UserLocatorVO userLocator,
UserLocatorVO brokerLocator)
Assigns the given brokering as main
|
java.lang.Long addBroker(UserLocatorVO userLocator, UserLocatorVO brokerLocator, boolean mainBroker) throws FrameworkException
IllegalActionException - When the given broker is either inactive or is not a brokerFrameworkExceptionAddBrokerData getAddBrokerData(UserLocatorVO locator) throws FrameworkException
FrameworkExceptionjava.util.List<BrokeringLogVO> getBrokeringLogs(UserLocatorVO locator) throws FrameworkException
FrameworkExceptionBrokeringData getData(UserLocatorVO locator) throws FrameworkException
FrameworkExceptionvoid removeBroker(UserLocatorVO userLocator, UserLocatorVO brokerLocator) throws FrameworkException
IllegalActionException - When the given broker is not a broker of the given userFrameworkExceptionvoid setMainBroker(UserLocatorVO userLocator, UserLocatorVO brokerLocator) throws FrameworkException
IllegalActionException - When the given broker is not a broker of the given userFrameworkException