public class ChannelOrgHandler extends BaseHandler
VALID| Constructor and Description | 
|---|
| ChannelOrgHandler() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | disableAccess(User loggedInUser,
             java.lang.String channelLabel,
             java.lang.Integer orgId)Disable access to the channel for the given organization. | 
| int | enableAccess(User loggedInUser,
            java.lang.String channelLabel,
            java.lang.Integer orgId)Enable access to the channel for the given organization. | 
| java.util.List | list(User loggedInUser,
    java.lang.String channelLabel)List the organizations associated with the given channel that may be trusted. | 
ensureConfigAdmin, ensureOrgAdmin, ensureOrgOrConfigAdmin, ensureSatAdmin, ensureSystemGroupAdmin, ensureUserRole, getLoggedInUser, invoke, providesAuthentication, setEntityAttribute, validateClientCertificate, validateEntitlements, validateMap, verifyOrgExistspublic java.util.List list(User loggedInUser, java.lang.String channelLabel) throws FaultException
loggedInUser - The current userchannelLabel - The label for the channelFaultException - A FaultException is thrown if:
   - The sessionKey is invalid
   - The channelLabel is invalid
   - The user doesn't have channel admin permissionspublic int enableAccess(User loggedInUser, java.lang.String channelLabel, java.lang.Integer orgId) throws FaultException
loggedInUser - The current userchannelLabel - The label for the channel to changeorgId - The org id being granted access.FaultException - A FaultException is thrown if:
   - The sessionkey is invalid
   - The channel label is invalid
   - The org id is invalid
   - The user doesn't have channel admin permissionspublic int disableAccess(User loggedInUser, java.lang.String channelLabel, java.lang.Integer orgId) throws FaultException
loggedInUser - The current userchannelLabel - The label for the channel to changeorgId - The org id being removed access.FaultException - A FaultException is thrown if:
   - The sessionkey is invalid
   - The channel label is invalid
   - The org id is invalid
   - The user doesn't have channel admin permissions