このコンテンツは選択した言語では利用できません。

Chapter 2. Changes from 3.1.2 to 3.2


2.1. Changed Class: RoleManagerRemote

Expand
Table 2.1. New Methods
New Method
void addBundleGroupsToRole(Subject subject, int roleId, int[] bundleGroupIds);

Copy to Clipboard Toggle word wrap
void addRolesToBundleGroup(Subject subject, int bundleGroupId, int[] roleIds);

Copy to Clipboard Toggle word wrap
void setAssignedBundleGroups(Subject subject, int roleId, int[] bundleGroupIds);

Copy to Clipboard Toggle word wrap
void removeBundleGroupsFromRole(Subject subject, int roleId, int[] bundleGroupIds);

Copy to Clipboard Toggle word wrap
void removeRolesFromBundleGroup(Subject subject, int bundleGroupId, int[] roleIds);
Copy to Clipboard Toggle word wrap

2.2. Changed Class: BundleManagerRemote

Expand
Table 2.2. New Methods
New Method
BundleFile addBundleFileViaURL(Subject subject, int bundleVersionId, String name, String version,
    Architecture architecture, String bundleFileUrl, String userName, String password) throws Exception;
Copy to Clipboard Toggle word wrap
void assignBundlesToBundleGroups(Subject subject, int[] bundleGroupIds, int[] bundleIds);
Copy to Clipboard Toggle word wrap
BundleGroup createBundleGroup(Subject subject, BundleGroup bundleGroup) throws Exception;
Copy to Clipboard Toggle word wrap
BundleVersion createInitialBundleVersionViaRecipe(Subject subject, int[] bundleGroupIds, String recipe)
    throws Exception;
Copy to Clipboard Toggle word wrap
BundleVersion createInitialBundleVersionViaFile(Subject subject, int[] bundleGroupIds, File distributionFile)
        throws Exception;
Copy to Clipboard Toggle word wrap
BundleVersion createInitialBundleVersionViaContentHandle(Subject subject, int[] bundleGroupIds,
    String temporaryContentHandle) throws Exception;
Copy to Clipboard Toggle word wrap
BundleVersion createInitialBundleVersionViaByteArray(Subject subject, int[] bundleGroupIds, byte[] fileBytes)
        throws Exception;
Copy to Clipboard Toggle word wrap
BundleVersion createInitialBundleVersionViaURL(Subject subject, int[] bundleGroupIds, String distributionFileUrl)
        throws Exception;
Copy to Clipboard Toggle word wrap
BundleVersion createBundleVersionViaURL(Subject subject, String distributionFileUrl, String username,
    String password) throws Exception;
Copy to Clipboard Toggle word wrap
BundleVersion createInitialBundleVersionViaURL(Subject subject, int[] bundleGroupIds, String distributionFileUrl,
    String username, String password) throws Exception;
Copy to Clipboard Toggle word wrap
void deleteBundleGroups(Subject subject, int[] ids) throws Exception;
Copy to Clipboard Toggle word wrap
PageList<BundleGroup> findBundleGroupsByCriteria(Subject subject, BundleGroupCriteria criteria);
Copy to Clipboard Toggle word wrap
Set<String> getBundleVersionFilenames(Subject subject, int bundleVersionId, boolean withoutBundleFileOnly)
    throws Exception;
Copy to Clipboard Toggle word wrap
void unassignBundlesFromBundleGroups(Subject subject, int[] bundleGroupIds, int[] bundleIds);
Copy to Clipboard Toggle word wrap
BundleGroup updateBundleGroup(Subject subject, BundleGroup bundleGroup) throws Exception;
Copy to Clipboard Toggle word wrap
Expand
Table 2.3. Removed Methods
Removed Method
Map<String, Boolean> getAllBundleVersionFilenames(Subject subject, int bundleVersionId) throws Exception;
Copy to Clipboard Toggle word wrap

2.3. New Class: StorageNodeManagerRemote

Expand
Table 2.4. New Methods
New Method
StorageNodeLoadComposite getLoad(Subject subject, StorageNode node, long beginTime, long endTime);
Copy to Clipboard Toggle word wrap
StorageNodeConfigurationComposite retrieveConfiguration(Subject subject, StorageNode storageNode);
Copy to Clipboard Toggle word wrap
boolean updateConfiguration(Subject subject, StorageNodeConfigurationComposite storageNodeConfiguration);
Copy to Clipboard Toggle word wrap
PageList<StorageNode> findStorageNodesByCriteria(Subject subject, StorageNodeCriteria criteria);
Copy to Clipboard Toggle word wrap
PageList<Alert> findNotAcknowledgedStorageNodeAlerts(Subject subject);
Copy to Clipboard Toggle word wrap
PageList<Alert> findNotAcknowledgedStorageNodeAlerts(Subject subject, StorageNode storageNode);
Copy to Clipboard Toggle word wrap
PageList<Alert> findAllStorageNodeAlerts(Subject subject);
Copy to Clipboard Toggle word wrap
PageList<Alert> findAllStorageNodeAlerts(Subject subject, StorageNode storageNode);
Copy to Clipboard Toggle word wrap
void deployStorageNode(Subject sbubject, StorageNode storageNode);
Copy to Clipboard Toggle word wrap
void undeployStorageNode(Subject subject, StorageNode storageNode);
Copy to Clipboard Toggle word wrap
void runClusterMaintenance(Subject subject);
Copy to Clipboard Toggle word wrap

2.4. Changed Class: ConfigurationManagerRemote

Expand
Table 2.5. New Methods
New Method
ageList<GroupPluginConfigurationUpdate> findGroupPluginConfigurationUpdatesByCriteria(Subject subject,
    GroupPluginConfigurationUpdateCriteria criteria);
Copy to Clipboard Toggle word wrap
PageList<GroupResourceConfigurationUpdate> findGroupResourceConfigurationUpdatesByCriteria(Subject subject,
    GroupResourceConfigurationUpdateCriteria criteria);
Copy to Clipboard Toggle word wrap
Expand
Table 2.6. Deprecated Methods
Deprecated Method
GroupPluginConfigurationUpdate getGroupPluginConfigurationUpdate(Subject subject, int configurationUpdateId);
Copy to Clipboard Toggle word wrap
GroupResourceConfigurationUpdate getGroupResourceConfigurationUpdate(Subject subject, int configurationUpdateId);
Copy to Clipboard Toggle word wrap
Configuration translateResourceConfiguration(Subject subject, int resourceId, Configuration configuration,
    boolean fromStructured) throws ResourceNotFoundException;
Copy to Clipboard Toggle word wrap

2.5. Changed Class: ContentManagerRemote

Expand
Table 2.7. New Methods
New Method
String createTemporaryContentHandle();
Copy to Clipboard Toggle word wrap
void uploadContentFragment(String temporaryContentHandle, byte[] fragment, int off, int len);
Copy to Clipboard Toggle word wrap
PackageVersion createPackageVersionWithDisplayVersion(Subject subject, String packageName, int packageTypeId,
    String version, String displayVersion, Integer architectureId, String temporaryContentHandle);
Copy to Clipboard Toggle word wrap
Expand
Table 2.8. Changed Methods
Old Method Updated Method
byte[] getPackageBytes(Subject user, int resourceId,
    int installedPackageId);
Copy to Clipboard Toggle word wrap
byte[] getPackageBytes(Subject subject, int resourceId, int installedPackageId);
Copy to Clipboard Toggle word wrap

2.6. Changed Class: RepoManagerRemote

Expand
Table 2.9. New Methods
New Method
byte[] getPackageVersionBytes(Subject subject, int repoId, int packageVersionId);
Copy to Clipboard Toggle word wrap

2.7. Changed Class: DiscoveryBossRemote

Expand
Table 2.10. New Methods
New Method
void unignoreAndImportResources(Subject subject, int[] resourceIds);
Copy to Clipboard Toggle word wrap

2.8. Changed Class: MeasurementDataManagerRemote

Expand
Table 2.11. New Methods
New Method
MeasurementAggregate getMeasurementAggregate(Subject subject, int scheduleId, long startTime, long endTime)
    throws MeasurementException;
Copy to Clipboard Toggle word wrap

Note

The org.rhq.enterprise.server.measurement.MeasurementDataManagerRemote#getAggregate class has been changed from org.rhq.core.domain.measurement.MeasurementAggregate to org.rhq.enterprise.server.measurement.MeasurementAggregate. This is the same class; only the package is different. Command-line scripts will be unaffected by this. For Java clients which depend on the EJB API, the clients imports should be updated and then recompiled.
Expand
Table 2.12. Removed Methods
Removed Method
MeasurementAggregate getAggregate(Subject subject, int scheduleId, long startTime, long endTime);
Copy to Clipboard Toggle word wrap
Expand
Table 2.13. Deprecated Methods
Deprecated Method
org.rhq.enterprise.server.measurement.MeasurementAggregate getAggregate(Subject subject, int scheduleId,
    long startTime, long endTime);
Copy to Clipboard Toggle word wrap
Set<MeasurementData> findLiveData(Subject subject, int resourceId, int[] definitionIds);
Copy to Clipboard Toggle word wrap
Set<MeasurementData> findLiveData(Subject subject, int resourceId, int[] definitionIds);
Copy to Clipboard Toggle word wrap
Set<MeasurementData> findLiveDataForGroup(Subject subject, int groupId, int[] resourceIds, int[] definitionIds);
Copy to Clipboard Toggle word wrap

2.9. Changed Class: MeasurementScheduleManagerRemote

Expand
Table 2.14. Deprecated Methods
Deprecated Method
void disableMeasurementTemplates(Subject subject, int[] measurementDefinitionIds);
Copy to Clipboard Toggle word wrap

2.10. Changed Class: OperationManagerRemote

Expand
Table 2.15. New Methods
New Method
ResourceOperationSchedule scheduleResourceOperationUsingCron(Subject subject, int resourceId, String operationName,
    String cronExpression, int timeout, Configuration parameters, String description) throws ScheduleException;
Copy to Clipboard Toggle word wrap
GroupOperationSchedule scheduleGroupOperationUsingCron(Subject subject, int groupId,
    int[] executionOrderResourceIds, boolean haltOnFailure, String operationName, Configuration parameters,
    String cronExpression, int timeout, String description) throws ScheduleException;
Copy to Clipboard Toggle word wrap

2.11. Changed Class: ResourceFactoryManagerRemote

Expand
Table 2.16. New Methods
New Method
CreateResourceHistory createPackageBackedResourceViaContentHandle(Subject subject, int parentResourceId,
    int newResourceTypeId, String newResourceName, Configuration pluginConfiguration, String packageName,
    String packageVersion, Integer architectureId, Configuration deploymentTimeConfiguration,
    String temporaryContentHandle, Integer timeout);
Copy to Clipboard Toggle word wrap

2.12. Changed Class: ResourceManagerRemote

Expand
Table 2.17. New Methods
New Method
void uninventoryAllResourcesByAgent(Subject user, Agent doomedAgent);
Copy to Clipboard Toggle word wrap
void uninventoryResourcesOfResourceType(Subject subject, int resourceTypeId);
Copy to Clipboard Toggle word wrap
Expand
Table 2.18. Changed Methods
Old Method Updated Method
Resource getResource(Subject subject, int resourceId);
Copy to Clipboard Toggle word wrap
Resource getResource(Subject subject, int resourceId) throws ResourceNotFoundException, PermissionException;
Copy to Clipboard Toggle word wrap
Resource getParentResource(Subject subject, int resourceId);
Copy to Clipboard Toggle word wrap
Resource getParentResource(Subject subject, int resourceId) throws ResourceNotFoundException, PermissionException;
Copy to Clipboard Toggle word wrap

2.13. Changed Class: ResourceTypeManagerRemote

Expand
Table 2.19. New Methods
New Method
void setResourceTypeIgnoreFlagAndUninventoryResources(Subject subject, int resourceTypeId, boolean ignoreFlag);
Copy to Clipboard Toggle word wrap

2.14. Changed Class: ClusterManagerRemote

Expand
Table 2.20. Deprecated Methods
Deprecated Method
ResourceGroup createAutoClusterBackingGroup(Subject subject, ClusterKey clusterKey, boolean addResources);
Copy to Clipboard Toggle word wrap
ResourceGroup getAutoClusterBackingGroup(Subject subject, ClusterKey clusterKey);
Copy to Clipboard Toggle word wrap
List<Resource> getAutoClusterResources(Subject subject, ClusterKey clusterKey);
Copy to Clipboard Toggle word wrap
ClusterFlyweight getClusterTree(Subject subject, int groupId);
Copy to Clipboard Toggle word wrap

2.15. Changed Class: RoleManagerRemote

Expand
Table 2.21. Changed Methods
Old Method Updated Method
ResourceGroupComposite getResourceGroupComposite(Subject subject, int groupId);
Copy to Clipboard Toggle word wrap
ResourceGroupComposite getResourceGroupComposite(Subject subject, int groupId)
    throws ResourceGroupNotFoundException;
Copy to Clipboard Toggle word wrap

2.16. Changed Class: GroupDefinitionManagerRemote

Expand
Table 2.22. New Methods
New Method
GroupDefinition createGroupDefinition(Subject subject, GroupDefinition newGroupDefinition)
    throws GroupDefinitionAlreadyExistsException, GroupDefinitionCreateException;
Copy to Clipboard Toggle word wrap
PageList<GroupDefinition> findGroupDefinitionsByCriteria(Subject subject, ResourceGroupDefinitionCriteria criteria);
Copy to Clipboard Toggle word wrap
void removeGroupDefinition(Subject subject, Integer groupDefinitionId) throws GroupDefinitionNotFoundException,
    GroupDefinitionDeleteException;
Copy to Clipboard Toggle word wrap
GroupDefinition updateGroupDefinition(Subject subject, GroupDefinition updated)
    throws GroupDefinitionAlreadyExistsException, GroupDefinitionUpdateException, InvalidExpressionException,
    ResourceGroupUpdateException;
Copy to Clipboard Toggle word wrap
void calculateGroupMembership(Subject subject, int groupDefinitionId) throws ResourceGroupDeleteException,
    GroupDefinitionDeleteException, GroupDefinitionNotFoundException, InvalidExpressionException;
Copy to Clipboard Toggle word wrap
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat