public class GroupToEnterpriseMigration extends AbstractTypeMigration<Group,GroupInformation,Enterprise,EnterpriseInformation,AbstractTypeTransform<GroupInformation,EnterpriseInformation>,GroupToEnterpriseMigration.Step,GroupToEnterpriseMigration>
Modifier and Type | Class and Description |
---|---|
static class |
GroupToEnterpriseMigration.Step |
stepList
errors, log, warnings
Constructor and Description |
---|
GroupToEnterpriseMigration(GroupInformation inputInformation,
GroupToEnterpriseTransform transform)
Performs the migration of a
Group to an Enterprise by removing it
and recreating it within a new Enterprise. |
Modifier and Type | Method and Description |
---|---|
List<EncumbranceError> |
checkMigrationEncumbrances() |
List<RequirementError> |
checkMigrationRequirements() |
void |
checkMigrationValidity()
Checks the migration encumbrances and requirements.
|
Enterprise |
execute()
Performs the migration process in a step by step approach.
|
EnterpriseImport |
getEnterpriseImport() |
GroupDestroy |
getGroupDestroy() |
concurrencyCheck, getDestinationBroadWorksServer, getInput, getInputInformation, getOutput, getOutputInformation, getSourceBroadWorksServer, setOutput
addStep, addStep, all, allBut, getStepCount, isConcurrent, only, removeStep, setConcurrent, step, step
checkValidity, exception, getErrors, getReport, getWarnings, hasErrors, isError, isError, isError, printReport, setExceptionOnErrors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSessionLogger, logger
public GroupToEnterpriseMigration(GroupInformation inputInformation, GroupToEnterpriseTransform transform) throws HelperException, co.ecg.licensing.LicenseException
Group
to an Enterprise
by removing it
and recreating it within a new Enterprise. This process attempts to be comprehensive.
It migrates all service settings and Group level service information. In addition,
it migrates complete access device and user information.inputInformation
- The input GroupInformation to be migratedtransform
- The group to enterprise transformationco.ecg.licensing.LicenseException
- Thrown if GroupMigration is not licensedHelperException
- Throws an exception if an error during migration occurs.Group
public EnterpriseImport getEnterpriseImport()
public GroupDestroy getGroupDestroy()
public Enterprise execute() throws HelperException
HelperException
- Thrown if an error during execution occurs.public void checkMigrationValidity() throws HelperException
HelperException
- Thrown if the migration is invalid.EncumbranceError
public List<EncumbranceError> checkMigrationEncumbrances() throws HelperException
HelperException
public List<RequirementError> checkMigrationRequirements() throws HelperException
HelperException
Copyright © 2017 ECG. All rights reserved.