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