Gets number of channels for a given set of roles. This method also resets a pointer to the beginning of the list of channels so getNextChannelName can be used to iterate through the list of channels. getCountOfChannels also loads the cache with channels and subchannels for that user.
public int getCountOfChannels(String rolesOfUser, String user) throws RemoteException, SearchException
rolesOfUser – set of roles user has
user – name of a user
Returns the number of channels if successful; 0 if failure.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |