|
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.bizapp.server.session.BizappSessionEJB
org.hyperic.hq.bizapp.server.session.ProductBossEJBImpl
public class ProductBossEJBImpl
The Product Boss
Nested Class Summary | |
---|---|
static class |
ProductBossEJBImpl.ConfigSchemaAndBaseResponse
|
Field Summary |
---|
Fields inherited from class org.hyperic.hq.bizapp.server.session.BizappSessionEJB |
---|
ctx |
Constructor Summary | |
---|---|
ProductBossEJBImpl()
|
Method Summary | |
---|---|
void |
clearCaches(int sessionId)
Clear out all the caches |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
AttachmentDescriptor |
findAttachment(int sessionId,
java.lang.Integer descId)
|
java.util.Collection |
findAttachments(int sessionId,
AppdefEntityID ent,
ViewResourceCategory cat)
Find AttachmentDescriptor s attached to the target type |
java.util.Collection |
findAttachments(int sessionId,
AttachType type)
Find AttachmentDescriptor s attached to the target type |
View |
findViewById(int sessionId,
java.lang.Integer id)
Get an attachment view by ID |
java.lang.String |
getBuildNumber()
Gets the build number, date, and type. |
ConfigResponseDB |
getConfigResponse(int sessionId,
AppdefEntityID id)
|
ConfigSchema |
getConfigSchema(AuthzSubject subject,
AppdefEntityID id,
java.lang.String type,
boolean validateFlow)
|
ConfigSchema |
getConfigSchema(int sessionId,
AppdefEntityID id,
java.lang.String type)
|
ConfigSchema |
getConfigSchema(int sessionId,
AppdefEntityID id,
java.lang.String type,
ConfigResponse resp)
Get the config schema used to configure an entity. |
ProductBossEJBImpl.ConfigSchemaAndBaseResponse |
getConfigSchemaAndBaseResponse(AuthzSubject subject,
AppdefEntityID id,
java.lang.String type,
boolean validateFlow)
Get a configuration schema. |
ConfigResponse |
getMergedConfigResponse(AuthzSubject subject,
java.lang.String productType,
AppdefEntityID id,
boolean required)
|
ConfigResponse |
getMergedConfigResponse(int sessionId,
java.lang.String productType,
AppdefEntityID id,
boolean required)
Get a config response object merged through the hierarchy. |
ConfigResponse[] |
getMergedGroupConfigResponse(int sessionId,
java.lang.String productType,
int groupId,
boolean required)
Get the merged config responses for group entries. |
java.lang.String |
getMonitoringHelp(int sessionId,
AppdefEntityID id,
java.util.Map props)
|
static org.hyperic.hq.bizapp.shared.ProductBossLocal |
getOne()
|
java.lang.String |
getVersion()
Gets the version number |
void |
preload()
Preload the 2nd level caches |
void |
setConfigResponse(AuthzSubject subject,
AppdefEntityID id,
ConfigResponse response,
java.lang.String type)
|
void |
setConfigResponse(int sessionId,
AppdefEntityID id,
ConfigResponse response,
java.lang.String type)
Set the config response for an entity/type combination. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.ejb.SessionBean |
---|
setSessionContext |
Constructor Detail |
---|
public ProductBossEJBImpl()
Method Detail |
---|
public void ejbCreate()
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
public ConfigResponse[] getMergedGroupConfigResponse(int sessionId, java.lang.String productType, int groupId, boolean required) throws AppdefEntityNotFoundException, PermissionException, ConfigFetchException, SessionNotFoundException, SessionTimeoutException, EncodingException
productType
- one of ProductPlugin.TYPE_*groupId
- ID of the group to get configs forrequired
- If true, all the entities required to make a
merged config response must exist. Else
as many values as can be gotten are tried.
AppdefEntityNotFoundException
PermissionException
ConfigFetchException
SessionNotFoundException
SessionTimeoutException
EncodingException
public ConfigResponse getMergedConfigResponse(int sessionId, java.lang.String productType, AppdefEntityID id, boolean required) throws AppdefEntityNotFoundException, EncodingException, PermissionException, ConfigFetchException, SessionNotFoundException, SessionTimeoutException
productType
- one of ProductPlugin.TYPE_*id
- Entity to get config forrequired
- If true, all the entities required to make a
merged config response must exist. Else
as many values as can be gotten are tried.
AppdefEntityNotFoundException
EncodingException
PermissionException
ConfigFetchException
SessionNotFoundException
SessionTimeoutException
public ConfigResponse getMergedConfigResponse(AuthzSubject subject, java.lang.String productType, AppdefEntityID id, boolean required) throws AppdefEntityNotFoundException, PermissionException, ConfigFetchException, EncodingException
AppdefEntityNotFoundException
PermissionException
ConfigFetchException
EncodingException
public ConfigResponseDB getConfigResponse(int sessionId, AppdefEntityID id) throws AppdefEntityNotFoundException, SessionNotFoundException, SessionTimeoutException
AppdefEntityNotFoundException
SessionNotFoundException
SessionTimeoutException
public java.lang.String getMonitoringHelp(int sessionId, AppdefEntityID id, java.util.Map props) throws PluginNotFoundException, PermissionException, AppdefEntityNotFoundException, SessionNotFoundException, SessionTimeoutException
PluginNotFoundException
PermissionException
AppdefEntityNotFoundException
SessionNotFoundException
SessionTimeoutException
public ConfigSchema getConfigSchema(int sessionId, AppdefEntityID id, java.lang.String type, ConfigResponse resp) throws SessionTimeoutException, SessionNotFoundException, PluginException, PermissionException, AppdefEntityNotFoundException
SessionTimeoutException
SessionNotFoundException
PluginException
PermissionException
AppdefEntityNotFoundException
public ConfigSchema getConfigSchema(int sessionId, AppdefEntityID id, java.lang.String type) throws ConfigFetchException, javax.ejb.FinderException, EncodingException, PluginNotFoundException, PluginException, SessionTimeoutException, SessionNotFoundException, PermissionException, AppdefEntityNotFoundException
ConfigFetchException
javax.ejb.FinderException
EncodingException
PluginNotFoundException
PluginException
SessionTimeoutException
SessionNotFoundException
PermissionException
AppdefEntityNotFoundException
public ProductBossEJBImpl.ConfigSchemaAndBaseResponse getConfigSchemaAndBaseResponse(AuthzSubject subject, AppdefEntityID id, java.lang.String type, boolean validateFlow) throws ConfigFetchException, EncodingException, PluginNotFoundException, PluginException, PermissionException, AppdefEntityNotFoundException
id
- Entity to be configuredtype
- One of ProductPlugin.TYPE_*validateFlow
- If true a ConfigFetchException will be thrown
if the appropriate base entities are not
already configured.
ConfigFetchException
EncodingException
PluginNotFoundException
PluginException
PermissionException
AppdefEntityNotFoundException
public ConfigSchema getConfigSchema(AuthzSubject subject, AppdefEntityID id, java.lang.String type, boolean validateFlow) throws ConfigFetchException, EncodingException, PluginNotFoundException, PluginException, PermissionException, AppdefEntityNotFoundException
ConfigFetchException
EncodingException
PluginNotFoundException
PluginException
PermissionException
AppdefEntityNotFoundException
public void setConfigResponse(int sessionId, AppdefEntityID id, ConfigResponse response, java.lang.String type) throws javax.ejb.FinderException, InvalidConfigException, SessionTimeoutException, EncodingException, PermissionException, ConfigFetchException, AppdefEntityNotFoundException, SessionNotFoundException
id
- ID of the object to set the repsonse foresponse
- The responsetype
- One of ProductPlugin.TYPE_*
SessionTimeoutException
SessionNotFoundException
javax.ejb.FinderException
InvalidConfigException
EncodingException
PermissionException
ConfigFetchException
AppdefEntityNotFoundException
public void setConfigResponse(AuthzSubject subject, AppdefEntityID id, ConfigResponse response, java.lang.String type) throws EncodingException, javax.ejb.FinderException, PermissionException, InvalidConfigException, ConfigFetchException, AppdefEntityNotFoundException
EncodingException
javax.ejb.FinderException
PermissionException
InvalidConfigException
ConfigFetchException
AppdefEntityNotFoundException
public java.lang.String getVersion()
public java.lang.String getBuildNumber()
public void preload()
public void clearCaches(int sessionId)
public java.util.Collection findAttachments(int sessionId, AttachType type) throws SessionException
AttachmentDescriptor
s attached to the target type
SessionException
public java.util.Collection findAttachments(int sessionId, AppdefEntityID ent, ViewResourceCategory cat) throws SessionException
AttachmentDescriptor
s attached to the target type
SessionException
public AttachmentDescriptor findAttachment(int sessionId, java.lang.Integer descId) throws SessionException
SessionException
public View findViewById(int sessionId, java.lang.Integer id)
public static org.hyperic.hq.bizapp.shared.ProductBossLocal getOne()
|
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 |