|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.appdef.server.session.AppdefSessionUtil
org.hyperic.hq.appdef.server.session.AppdefSessionEJB
org.hyperic.hq.appdef.server.session.AppdefStatManagerEJBImpl
public class AppdefStatManagerEJBImpl
AppdefStatManagerEJB provides summary and aggregate statistical information for appdef related entities.
Field Summary |
---|
Fields inherited from class org.hyperic.hq.appdef.server.session.AppdefSessionEJB |
---|
_ctx, _ic |
Constructor Summary | |
---|---|
AppdefStatManagerEJBImpl()
|
Method Summary | |
---|---|
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
java.util.Map |
getApplicationCountsByTypeMap(AuthzSubject subject)
Return map of app counts. |
int |
getApplicationsCount(AuthzSubject subject)
Return apps count. |
java.util.Map |
getGroupCountsMap(AuthzSubject subject)
Return map of grp counts. |
ResourceTreeNode[] |
getNavMapDataForApplication(AuthzSubject subject,
java.lang.Integer appId)
Return directly connected resource tree for node level service |
ResourceTreeNode[] |
getNavMapDataForAutoGroup(AuthzSubject subject,
AppdefEntityID[] parents,
java.lang.Integer resType)
Return resources for autogroups |
ResourceTreeNode[] |
getNavMapDataForGroup(AuthzSubject subject,
java.lang.Integer groupId)
Return resources for groups (not autogroups) |
ResourceTreeNode[] |
getNavMapDataForPlatform(AuthzSubject subject,
java.lang.Integer platformId)
Return directly connected resource tree for node level platform |
ResourceTreeNode[] |
getNavMapDataForServer(AuthzSubject subject,
java.lang.Integer serverId)
Return directly connected resource tree for node level server |
ResourceTreeNode[] |
getNavMapDataForService(AuthzSubject subject,
java.lang.Integer serviceId)
Return directly connected resource tree for node level service |
static org.hyperic.hq.appdef.shared.AppdefStatManagerLocal |
getOne()
|
java.util.Map |
getPlatformCountsByTypeMap(AuthzSubject subject)
Return map of platform counts. |
int |
getPlatformsCount(AuthzSubject subj)
Return platforms count. |
java.util.Map |
getServerCountsByTypeMap(AuthzSubject subject)
Return map of server counts. |
int |
getServersCount(AuthzSubject subject)
Return servers count. |
java.util.Map |
getServiceCountsByTypeMap(AuthzSubject subject)
Return map of service counts. |
int |
getServicesCount(AuthzSubject subject)
Return services count. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
|
Methods inherited from class org.hyperic.hq.appdef.server.session.AppdefSessionUtil |
---|
findResourceType, findResourceType, getAgentDAO, getAIQManagerLocal, getApplicationDAO, getApplicationManager, getConfigManager, getConfigResponseDAO, getCPropManager, getPlatformDAO, getPlatformManager, getPlatformTypeDAO, getResourceManager, getServerDAO, getServerManager, getServerTypeDAO, getServiceDAO, getServiceManager, getServiceTypeDAO |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppdefStatManagerEJBImpl()
Method Detail |
---|
public java.util.Map getPlatformCountsByTypeMap(AuthzSubject subject)
Return map of platform counts.
public int getPlatformsCount(AuthzSubject subj)
Return platforms count.
public java.util.Map getServerCountsByTypeMap(AuthzSubject subject)
Return map of server counts.
public int getServersCount(AuthzSubject subject)
Return servers count.
public java.util.Map getServiceCountsByTypeMap(AuthzSubject subject)
Return map of service counts.
public int getServicesCount(AuthzSubject subject)
Return services count.
public java.util.Map getApplicationCountsByTypeMap(AuthzSubject subject)
Return map of app counts.
public int getApplicationsCount(AuthzSubject subject)
Return apps count.
public java.util.Map getGroupCountsMap(AuthzSubject subject)
Return map of grp counts.
public ResourceTreeNode[] getNavMapDataForPlatform(AuthzSubject subject, java.lang.Integer platformId) throws PlatformNotFoundException, PermissionException
Return directly connected resource tree for node level platform
PlatformNotFoundException
PermissionException
public ResourceTreeNode[] getNavMapDataForServer(AuthzSubject subject, java.lang.Integer serverId) throws ServerNotFoundException, PermissionException
Return directly connected resource tree for node level server
ServerNotFoundException
PermissionException
public ResourceTreeNode[] getNavMapDataForService(AuthzSubject subject, java.lang.Integer serviceId) throws ServiceNotFoundException, PermissionException
Return directly connected resource tree for node level service
ServiceNotFoundException
PermissionException
public ResourceTreeNode[] getNavMapDataForApplication(AuthzSubject subject, java.lang.Integer appId) throws ApplicationNotFoundException, PermissionException
Return directly connected resource tree for node level service
ApplicationNotFoundException
PermissionException
public ResourceTreeNode[] getNavMapDataForAutoGroup(AuthzSubject subject, AppdefEntityID[] parents, java.lang.Integer resType) throws AppdefEntityNotFoundException, PermissionException
Return resources for autogroups
AppdefEntityNotFoundException
PermissionException
public ResourceTreeNode[] getNavMapDataForGroup(AuthzSubject subject, java.lang.Integer groupId) throws PermissionException
Return resources for groups (not autogroups)
PermissionException
public static org.hyperic.hq.appdef.shared.AppdefStatManagerLocal getOne()
public void setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext
in interface javax.ejb.SessionBean
setSessionContext
in class AppdefSessionEJB
public void ejbCreate() throws javax.ejb.CreateException
javax.ejb.CreateException
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |