Chapter 4. Changes from 2.4 to 3.0
4.1. New Class: SynchronizationManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.1.1. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
ExportReport exportAllSubsystems(Subject subject);
|
void validate(Subject subject, byte[] exportFile) throws ValidationException;
|
ImportConfigurationDefinition getImportConfigurationDefinition(String synchronizerClass);
|
List<ImportConfigurationDefinition> getImportConfigurationDefinitionOfAllSynchronizers();
|
ImportReport importAllSubsystems(Subject subject, byte[] exportFile, List<ImportConfiguration> importerConfigurations) throws ValidationException, ImportException;
|
4.2. New Class: DriftManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.2.1. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
void deleteDriftDefinition(Subject subject, EntityContext entityContext, String driftDefName);
|
PageList<DriftDefinition> findDriftDefinitionsByCriteria(Subject subject, DriftDefinitionCriteria criteria);
|
PageList<? extends DriftChangeSet<?>> findDriftChangeSetsByCriteria(Subject subject, DriftChangeSetCriteria criteria) throws Exception;
|
PageList<? extends Drift<?, ?>> findDriftsByCriteria(Subject subject, DriftCriteria criteria) throws Exception;
|
FileDiffReport generateUnifiedDiff(Subject subject, Drift<?, ?> drift);
|
FileDiffReport generateUnifiedDiff(Subject subject, Drift<?, ?> drift1, Drift<?, ?> drift2);
|
FileDiffReport generateUnifiedDiffByIds(Subject subject, String driftId1, String driftId2);
|
String getDriftFileBits(Subject subject, String hash);
|
DriftSnapshot getSnapshot(Subject subject, DriftSnapshotRequest request);
|
void pinSnapshot(Subject subject, int driftDefId, int snapshotVersion);
|
void updateDriftDefinition(Subject subject, EntityContext entityContext, DriftDefinition driftConfig);
|
4.3. New Class: DriftTemplateManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.3.1. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
PageList<DriftDefinitionTemplate> findTemplatesByCriteria(Subject subject, DriftDefinitionTemplateCriteria criteria);
|
DriftDefinitionTemplate createTemplate(Subject subject, int resourceTypeId, boolean isUserDefined, DriftDefinition definition);
|
void pinTemplate(Subject subject, int templateId, int snapshotDriftDefId, int snapshotVersion);
|
void updateTemplate(Subject subject, DriftDefinitionTemplate template);
|
void deleteTemplate(Subject subject, int templateId);
|
4.4. New Class: ClusterManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.4.1. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
ResourceGroup createAutoClusterBackingGroup(Subject subject, ClusterKey clusterKey, boolean addResources);
|
ResourceGroup getAutoClusterBackingGroup(Subject subject, ClusterKey clusterKey);
|
List<Resource> getAutoClusterResources(Subject subject, ClusterKey clusterKey);
|
ClusterFlyweight getClusterTree(Subject subject, int groupId);
|
4.5. New Class: DashboardManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.5.1. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
public PageList<Dashboard> findDashboardsByCriteria(Subject subject, DashboardCriteria criteria);
|
public Dashboard storeDashboard(Subject subject, Dashboard dashboard);
|
public void removeDashboard(Subject subject, int dashboardId);
|
4.6. Changed Class: AlertDefinitionManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.6.1. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
int enableAlertDefinitions(Subject subject, int[] alertDefinitionIds);
|
int disableAlertDefinitions(Subject subject, int[] alertDefinitionIds);
|
int removeAlertDefinitions(Subject subject, int[] alertDefinitionIds);
|
String[] getAlertNotificationConfigurationPreview(Subject subject, AlertNotification[] notifications);
|
4.7. Changed Class: AlertManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.7.1. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
int deleteAlerts(Subject subject, int[] alertIds);
|
int deleteAlertsByContext(Subject subject, EntityContext context);
|
int acknowledgeAlerts(Subject subject, int[] alertIds);
|
int acknowledgeAlertsByContext(Subject subject, EntityContext context);
|
4.8. Changed Class: RoleManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.8.1. Changed Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Old method
|
Changed method
|
---|---|
void deleteRoles(Subject subject, Integer[] roleIds);
|
void deleteRoles(Subject subject, int[] roleIds);
|
4.8.2. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
void setAssignedSubjectRoles(Subject subject, int subjectId, int[] roleIds)
|
4.9. Changed Class: BundleManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.9.1. Changed Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Old method
|
Changed method
|
---|---|
BundleDestination createBundleDestination(Subject subject, int bundleId, String name, String description, String deployDir, Integer groupId) throws Exception;
|
BundleDestination createBundleDestination(Subject subject, int bundleId, String name, String description, String destBaseDirName, String deployDir, Integer groupId) throws Exception;
|
4.9.2. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
ResourceTypeBundleConfiguration getResourceTypeBundleConfiguration(Subject subject, int compatGroupId) throws Exception;
|
BundleVersion createBundleVersionViaByteArray(Subject subject, byte[] fileBytes) throws Exception;
|
void deleteBundles(Subject subject, int[] bundleIds) throws Exception;
|
void purgeBundleDestination(Subject subject, int bundleDestinationId) throws Exception;
|
4.10. Changed Class: ContentManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.10.1. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
public void deletePackageVersion(Subject subject, int resourceId);
|
PackageType findPackageType(Subject subject, Integer resourceTypeId, String packageTypeName);
|
PackageTypeAndVersionFormatComposite findPackageTypeWithVersionFormat (Subject subject, Integer resourceTypeId, String packageTypeName);
|
PageList<Package> findPackagesByCriteria(Subject subject,PackageCriteria criteria);
|
PageList<PackageAndLatestVersionComposite> findPackagesWithLatestVersion(Subject subject, PackageCriteria criteria);
|
4.11. Changed Class: RepoManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.11.1. Changed Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Old method
|
Changed method
|
---|---|
int synchronizeRepos(Subject subject, Integer[] repoIds) throws Exception;
|
int synchronizeRepos(Subject subject, int[] repoIds) throws Exception;
|
4.11.2. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
PackageVersion getLatestPackageVersion(Subject subject, int packageId, int repoId);
|
boolean deletePackageVersionsFromRepo(Subject subject, int repoId, int[] packageVersionId);
|
4.12. Changed Class: DiscoveryBossRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.12.1. Changed Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Old method
|
Changed method
|
---|---|
void importResources(Subject subject, Integer[] resourceIds);
|
void importResources(Subject subject, int[] resourceIds);
|
void ignoreResources(Subject subject,Integer[] resourceIds);
|
void ignoreResources(Subject subject, int[] resourceIds);
|
void unignoreResources(Subject subject, Integer[] resourceIds);
|
void unignoreResources(Subject subject, int[] resourceIds);
|
4.13. Changed Class: MeasurementDataManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.13.1. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
PageList<MeasurementDataTrait> findTraitsByCriteria(Subject subject, MeasurementDataTraitCriteria criteria);
|
4.14. Changed Class: ResourceFactoryManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.14.1. Changed Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Old method
|
New method
|
---|---|
void createResource( Subject subject, int parentResourceId, int resourceTypeId, String resourceName, Configuration pluginConfiguration, Configuration resourceConfiguration);
|
CreateResourceHistory createResource( Subject subject, int parentResourceId, int resourceTypeId, String resourceName, Configuration pluginConfiguration, Configuration resourceConfiguration, Integer timeout);
|
void createPackageBackedResource(Subject subject, int parentResourceId, int newResourceTypeId, String newResourceName, Configuration pluginConfiguration, String packageName, String packageVersion, Integer architectureId, Configuration deploymentTimeConfiguration, byte[] packageBits);
|
CreateResourceHistory createPackageBackedResource(Subject subject, int parentResourceId, int newResourceTypeId, String newResourceName, Configuration pluginConfiguration, String packageName, String packageVersion, Integer architectureId, Configuration deploymentTimeConfiguration, byte[] packageBits, Integer timeout);
|
void deleteResource( Subject subject, int resourceId);
|
DeleteResourceHistory deleteResource(Subject subject, int resourceId);
|
4.14.2. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
public CreateResourceHistory createPackageBackedResourceViaPackageVersion(Subject subject, int parentResourceId, int newResourceTypeId, String newResourceName, Configuration pluginConfiguration, Configuration deploymentTimeConfiguration, int packageVersionId, Integer timeout);
|
List<DeleteResourceHistory> deleteResources(Subject subject, int[] resourceIds);
|
PageList<CreateResourceHistory> findCreateChildResourceHistory(Subject subject, int parentResourceId, Long beginDate, Long endDate, PageControl pageControl);
|
PageList<DeleteResourceHistory> findDeleteChildResourceHistory(Subject subject, int parentResourceId, Long beginDate, Long endDate, PageControl pageControl);
|
4.15. Changed Class: ResourceManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.15.1. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Resource updateResource(Subject subject, Resource resource);
|
Map<Integer, String> getResourcesAncestry(Subject subject, Integer[] resourceIds, ResourceAncestryFormat format);
|
4.15.2. Removed Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
PageList<ResourceComposite> findResourceComposites(Subject subject, ResourceCategory category, String typeName, int parentResourceId, String searchString, PageControl pageControl);
|
4.16. Changed Class: ResourceGroupManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.16.1. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
void deleteResourceGroups(Subject subject, int[] groupIds) throws ResourceGroupNotFoundException, ResourceGroupDeleteException;
|
4.17. Changed Class: SavedSearchManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.17.1. Changed Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Old Method
|
New Method
|
---|---|
public void updateSavedSearch(Subject subject, SavedSearch savedSearch);
|
public boolean updateSavedSearch(Subject subject, SavedSearch savedSearch);
|
4.18. Changed Class: SystemManagerRemote Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
4.18.1. Removed Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
ServerVersion getServerVersion(Subject subject) throws Exception;
|
4.18.2. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
ProductInfo getProductInfo(Subject subject);
|
ServerDetails getServerDetails(Subject subject);
|
Properties getSystemConfiguration(Subject subject);
|
SystemSettings getSystemSettings(Subject subject);
|
void setSystemConfiguration(Subject subject, Properties properties, boolean skipValidation) throws Exception;
|
void setSystemSettings(Subject subject, SystemSettings settings) throws Exception;
|
4.18.3. New Associated Methods Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Properties getSystemConfiguration(Subject subject);
|
void setSystemConfiguration(Subject subject, Properties properties, boolean skipValidation) throws Exception;
|