com.liferay.portlet.enterpriseadmin.action
Class GetUsersCountAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.liferay.portal.struts.AJAXAction
          extended by com.liferay.portlet.enterpriseadmin.action.GetUsersCountAction

public class GetUsersCountAction
extends AJAXAction

View Source

Author:
Gavin Wan

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
GetUsersCountAction()
           
 
Method Summary
protected  int getOrganizationUsersCount(long companyId, long[] organizationIds, boolean active)
           
 java.lang.String getText(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  int getUserGroupUsersCount(long companyId, long[] userGroupIds, boolean active)
           
 
Methods inherited from class com.liferay.portal.struts.AJAXAction
execute
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetUsersCountAction

public GetUsersCountAction()
Method Detail

getText

public java.lang.String getText(org.apache.struts.action.ActionMapping mapping,
                                org.apache.struts.action.ActionForm form,
                                javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)
                         throws java.lang.Exception
Specified by:
getText in class AJAXAction
Throws:
java.lang.Exception

getOrganizationUsersCount

protected int getOrganizationUsersCount(long companyId,
                                        long[] organizationIds,
                                        boolean active)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getUserGroupUsersCount

protected int getUserGroupUsersCount(long companyId,
                                     long[] userGroupIds,
                                     boolean active)
                              throws java.lang.Exception
Throws:
java.lang.Exception