org.rhq.core.domain.configuration
Class ResourceConfigurationUpdate

java.lang.Object
  extended by org.rhq.core.domain.configuration.AbstractConfigurationUpdate
      extended by org.rhq.core.domain.configuration.AbstractResourceConfigurationUpdate
          extended by org.rhq.core.domain.configuration.ResourceConfigurationUpdate
All Implemented Interfaces:
Serializable

public class ResourceConfigurationUpdate
extends AbstractResourceConfigurationUpdate

See Also:
Serialized Form

Field Summary
static String QUERY_DELETE_BY_RESOURCES_0
           
static String QUERY_DELETE_BY_RESOURCES_1
           
static String QUERY_DELETE_BY_RESOURCES_2
           
static String QUERY_DELETE_BY_RESOURCES_3
           
static String QUERY_DELETE_GROUP_UPDATE
           
static String QUERY_DELETE_GROUP_UPDATES_FOR_GROUP
           
static String QUERY_FIND_ALL_BY_RESOURCE_ID
           
static String QUERY_FIND_ALL_COMPOSITES
           
static String QUERY_FIND_ALL_COMPOSITES_ADMIN
           
static String QUERY_FIND_ALL_IN_STATUS
           
static String QUERY_FIND_BY_GROUP_ID_AND_STATUS
           
static String QUERY_FIND_BY_PARENT_UPDATE_ID
           
static String QUERY_FIND_BY_PARENT_UPDATE_ID_AND_STATUS
           
static String QUERY_FIND_COMPOSITE_BY_PARENT_UPDATE_ID
           
static String QUERY_FIND_CURRENTLY_ACTIVE_CONFIG
           
static String QUERY_FIND_LATEST_BY_RESOURCE_ID
           
static String QUERY_FIND_STATUS_BY_PARENT_UPDATE_ID
           
 
Fields inherited from class org.rhq.core.domain.configuration.AbstractConfigurationUpdate
configuration, createdTime, errorMessage, modifiedTime, status, subjectName
 
Constructor Summary
ResourceConfigurationUpdate()
           
ResourceConfigurationUpdate(Resource resource, Configuration config, String subjectName)
           
 
Method Summary
protected  void appendToStringInternals(StringBuilder str)
          Subclasses can override this to add things it wants to see in the toString.
 AbstractGroupConfigurationUpdate getAbstractGroupConfigurationUpdate()
           
 GroupResourceConfigurationUpdate getGroupConfigurationUpdate()
           
 Resource getResource()
           
 void setGroupConfigurationUpdate(GroupResourceConfigurationUpdate groupConfigurationUpdate)
           
 void setResource(Resource resource)
           
 
Methods inherited from class org.rhq.core.domain.configuration.AbstractResourceConfigurationUpdate
getId, setId
 
Methods inherited from class org.rhq.core.domain.configuration.AbstractConfigurationUpdate
equals, getConfiguration, getCreatedTime, getDuration, getErrorMessage, getModifiedTime, getStatus, getSubjectName, hashCode, setConfiguration, setErrorMessage, setStatus, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY_FIND_ALL_IN_STATUS

public static final String QUERY_FIND_ALL_IN_STATUS
See Also:
Constant Field Values

QUERY_FIND_ALL_BY_RESOURCE_ID

public static final String QUERY_FIND_ALL_BY_RESOURCE_ID
See Also:
Constant Field Values

QUERY_FIND_CURRENTLY_ACTIVE_CONFIG

public static final String QUERY_FIND_CURRENTLY_ACTIVE_CONFIG
See Also:
Constant Field Values

QUERY_FIND_LATEST_BY_RESOURCE_ID

public static final String QUERY_FIND_LATEST_BY_RESOURCE_ID
See Also:
Constant Field Values

QUERY_FIND_BY_GROUP_ID_AND_STATUS

public static final String QUERY_FIND_BY_GROUP_ID_AND_STATUS
See Also:
Constant Field Values

QUERY_FIND_BY_PARENT_UPDATE_ID_AND_STATUS

public static final String QUERY_FIND_BY_PARENT_UPDATE_ID_AND_STATUS
See Also:
Constant Field Values

QUERY_FIND_COMPOSITE_BY_PARENT_UPDATE_ID

public static final String QUERY_FIND_COMPOSITE_BY_PARENT_UPDATE_ID
See Also:
Constant Field Values

QUERY_FIND_BY_PARENT_UPDATE_ID

public static final String QUERY_FIND_BY_PARENT_UPDATE_ID
See Also:
Constant Field Values

QUERY_FIND_STATUS_BY_PARENT_UPDATE_ID

public static final String QUERY_FIND_STATUS_BY_PARENT_UPDATE_ID
See Also:
Constant Field Values

QUERY_FIND_ALL_COMPOSITES

public static final String QUERY_FIND_ALL_COMPOSITES
See Also:
Constant Field Values

QUERY_FIND_ALL_COMPOSITES_ADMIN

public static final String QUERY_FIND_ALL_COMPOSITES_ADMIN
See Also:
Constant Field Values

QUERY_DELETE_BY_RESOURCES_0

public static final String QUERY_DELETE_BY_RESOURCES_0
See Also:
Constant Field Values

QUERY_DELETE_BY_RESOURCES_1

public static final String QUERY_DELETE_BY_RESOURCES_1
See Also:
Constant Field Values

QUERY_DELETE_BY_RESOURCES_2

public static final String QUERY_DELETE_BY_RESOURCES_2
See Also:
Constant Field Values

QUERY_DELETE_BY_RESOURCES_3

public static final String QUERY_DELETE_BY_RESOURCES_3
See Also:
Constant Field Values

QUERY_DELETE_GROUP_UPDATE

public static final String QUERY_DELETE_GROUP_UPDATE
See Also:
Constant Field Values

QUERY_DELETE_GROUP_UPDATES_FOR_GROUP

public static final String QUERY_DELETE_GROUP_UPDATES_FOR_GROUP
See Also:
Constant Field Values
Constructor Detail

ResourceConfigurationUpdate

public ResourceConfigurationUpdate()

ResourceConfigurationUpdate

public ResourceConfigurationUpdate(Resource resource,
                                   Configuration config,
                                   String subjectName)
Method Detail

getResource

public Resource getResource()
Specified by:
getResource in class AbstractResourceConfigurationUpdate

setResource

public void setResource(Resource resource)

getAbstractGroupConfigurationUpdate

public AbstractGroupConfigurationUpdate getAbstractGroupConfigurationUpdate()
Specified by:
getAbstractGroupConfigurationUpdate in class AbstractResourceConfigurationUpdate

getGroupConfigurationUpdate

public GroupResourceConfigurationUpdate getGroupConfigurationUpdate()

setGroupConfigurationUpdate

public void setGroupConfigurationUpdate(GroupResourceConfigurationUpdate groupConfigurationUpdate)

appendToStringInternals

protected void appendToStringInternals(StringBuilder str)
Description copied from class: AbstractConfigurationUpdate
Subclasses can override this to add things it wants to see in the toString.

Overrides:
appendToStringInternals in class AbstractResourceConfigurationUpdate
Parameters:
str - the builder to append strings to


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.