ApplicationDAO (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.appdef.server.session.ApplicationDAO class

Overview | Package | Class | Tree | Deprecated | Index | Help
| 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

## org.hyperic.hq.appdef.server.session
Class ApplicationDAO

    java.lang.Object
      org.hyperic.hq.dao.HibernateDAO
          org.hyperic.hq.appdef.server.session.ApplicationDAO

    public class ApplicationDAO

extends HibernateDAO

Field Summary

Fields inherited from class org.hyperic.hq.dao.HibernateDAO
`BATCH_SIZE`

Constructor Summary
`ApplicationDAO(DAOFactory f)`

Method Summary
`Application` | `create(ApplicationValue av)`
`java.util.Collection` | `findAll_orderName(boolean asc)`
`Application` | `findById(java.lang.Integer id)`
`Application` | `findByName(java.lang.String name)`
`java.util.Collection` | `findByPlatformId_orderName(java.lang.Integer pid, boolean asc)`
`java.util.Collection` | `findByPlatformId_orderOwner(java.lang.Integer pid, boolean asc)`
`java.util.Collection` | `findByServerId_orderName(java.lang.Integer serverId, boolean asc)`
`java.util.Collection` | `findByServerId_orderOwner(java.lang.Integer serverId, boolean asc)`
`java.util.Collection` | `findByServiceId_orderName(java.lang.Integer serviceId)`
`java.util.Collection` | `findByServiceId_orderOwner(java.lang.Integer serviceId, boolean asc)`
`java.util.Collection` | `findByServiceIdOrClusterId_orderName(java.lang.Integer serviceId, java.lang.Integer groupId)`
`java.util.Collection` | `findDeletedApplications()`
`java.util.Collection` | `findUsingGroup(ResourceGroup g)`
`Application` | `get(java.lang.Integer id)`
`DependencyTree` | `getDependencyTree(Application a)`
`boolean` | `isApplicationService(int applicationId, int serviceId)`

Methods inherited from class org.hyperic.hq.dao.HibernateDAO
`cacheFindAll, createCriteria, createQuery, findAll, findAllOrderByName, findById, findById, flushSession, get, getFactory, getPagedResult, getPagedResult, getPermissionManager, getPersistentClass, getSession, remove, save, size, size`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ApplicationDAO

    public ApplicationDAO(DAOFactory f)

Method Detail

### findById

    public Application findById(java.lang.Integer id)

### get

    public Application get(java.lang.Integer id)

### getDependencyTree

    public DependencyTree getDependencyTree(Application a)

### create

    public Application create(ApplicationValue av)

### findAll_orderName

    public java.util.Collection findAll_orderName(boolean asc)

### findByName

    public Application findByName(java.lang.String name)

### findByServiceId_orderName

    public java.util.Collection findByServiceId_orderName(java.lang.Integer serviceId)

### findByServiceIdOrClusterId_orderName

    public java.util.Collection findByServiceIdOrClusterId_orderName(java.lang.Integer serviceId,
                                                                     java.lang.Integer groupId)

### findByServerId_orderName

    public java.util.Collection findByServerId_orderName(java.lang.Integer serverId,
                                                         boolean asc)

### findByPlatformId_orderName

    public java.util.Collection findByPlatformId_orderName(java.lang.Integer pid,
                                                           boolean asc)

### findByServiceId_orderOwner

    public java.util.Collection findByServiceId_orderOwner(java.lang.Integer serviceId,
                                                           boolean asc)

### findByServerId_orderOwner

    public java.util.Collection findByServerId_orderOwner(java.lang.Integer serverId,
                                                          boolean asc)

### findByPlatformId_orderOwner

    public java.util.Collection findByPlatformId_orderOwner(java.lang.Integer pid,
                                                            boolean asc)

### findUsingGroup

    public java.util.Collection findUsingGroup(ResourceGroup g)

### findDeletedApplications

    public java.util.Collection findDeletedApplications()

### isApplicationService

    public boolean isApplicationService(int applicationId,
                                        int serviceId)

Overview | Package | Class | Tree | Deprecated | Index | Help
| 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

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.