Javadoc
We transfer the update information form
UpdateNetworkACLItemCmd to the
NetworkACLItemVO POJO passed as parameter.
There is one validation performed here, which is regarding the number of the ACL. We will check if there is already an ACL rule with that number, and if this is the case an
InvalidParameterValueException is thrown.
All of the parameters in
UpdateNetworkACLItemCmd that are not null will be set to their corresponding fields in
NetworkACLItemVO.
If the parameter
UpdateNetworkACLItemCmd#isPartialUpgrade() returns false, we will use null parameters, which will allow us to completely update the ACL rule.
However, the number and custom Uuid will never be set to null. Therefore, if it is not a partial upgrade, these values will remain the same.
We use
#validateAndCreateNetworkAclRuleAction(String) when converting an action as
String to its Enum corresponding value.