|
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRule > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| | Retrieve an instance of SecGroupRule from the managed object store.
|
| |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRule > > | resolve (const opflex::modb::URI &uri) |
| | Retrieve an instance of SecGroupRule from the managed object store using the default framework instance.
|
| |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRule > > | resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubject (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpSubjectName, const std::string &gbpSecGroupRuleName) |
| | Retrieve an instance of SecGroupRule from the managed object store by constructing its URI from the path elements that lead to it.
|
| |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRule > > | resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubject (const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpSubjectName, const std::string &gbpSecGroupRuleName) |
| | Retrieve an instance of SecGroupRule from the default managed object store by constructing its URI from the path elements that lead to it.
|
| |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRule > > | resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpSecGroupName, const std::string &gbpSecGroupSubjectName, const std::string &gbpSecGroupRuleName) |
| | Retrieve an instance of SecGroupRule from the managed object store by constructing its URI from the path elements that lead to it.
|
| |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRule > > | resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject (const std::string &policySpaceName, const std::string &gbpSecGroupName, const std::string &gbpSecGroupSubjectName, const std::string &gbpSecGroupRuleName) |
| | Retrieve an instance of SecGroupRule from the default managed object store by constructing its URI from the path elements that lead to it.
|
| |
| static void | remove (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| | Remove the SecGroupRule object with the specified URI using the currently-active mutator.
|
| |
| static void | remove (const opflex::modb::URI &uri) |
| | Remove the SecGroupRule object with the specified URI using the currently-active mutator and the default framework instance.
|
| |
| static void | removeUnderPolicyUniversePolicySpaceGbpContractGbpSubject (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpSubjectName, const std::string &gbpSecGroupRuleName) |
| | Remove the SecGroupRule object with the specified path elements from the managed object store.
|
| |
| static void | removeUnderPolicyUniversePolicySpaceGbpContractGbpSubject (const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpSubjectName, const std::string &gbpSecGroupRuleName) |
| | Remove the SecGroupRule object with the specified path elements from the managed object store using the default framework instance.
|
| |
| static void | removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpSecGroupName, const std::string &gbpSecGroupSubjectName, const std::string &gbpSecGroupRuleName) |
| | Remove the SecGroupRule object with the specified path elements from the managed object store.
|
| |
| static void | removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject (const std::string &policySpaceName, const std::string &gbpSecGroupName, const std::string &gbpSecGroupSubjectName, const std::string &gbpSecGroupRuleName) |
| | Remove the SecGroupRule object with the specified path elements from the managed object store using the default framework instance.
|
| |
| static void | registerListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
| | Register a listener that will get called for changes related to this class.
|
| |
| static void | registerListener (opflex::modb::ObjectListener *listener) |
| | Register a listener that will get called for changes related to this class with the default framework instance.
|
| |
| static void | unregisterListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
| | Unregister a listener from updates to this class.
|
| |
| static void | unregisterListener (opflex::modb::ObjectListener *listener) |
| | Unregister a listener from updates to this class from the default framework instance.
|
| |
| static void modelgbp::gbp::SecGroupRule::remove |
( |
const opflex::modb::URI & | uri | ) |
|
|
inlinestatic |
Remove the SecGroupRule object with the specified URI using the currently-active mutator and the default framework instance.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
- Parameters
-
| uri | the URI of the object to remove |
- Exceptions
-
| std::logic_error | if no mutator is active |
References remove(), and resolve().
| static void modelgbp::gbp::SecGroupRule::removeUnderPolicyUniversePolicySpaceGbpContractGbpSubject |
( |
const std::string & | policySpaceName, |
|
|
const std::string & | gbpContractName, |
|
|
const std::string & | gbpSubjectName, |
|
|
const std::string & | gbpSecGroupRuleName ) |
|
inlinestatic |
Remove the SecGroupRule object with the specified path elements from the managed object store using the default framework instance.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpContract/[gbpContractName]/GbpSubject/[gbpSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]
- Parameters
-
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpContractName | the value of gbpContractName, a naming property for Contract |
| gbpSubjectName | the value of gbpSubjectName, a naming property for Subject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
- Exceptions
-
| std::logic_error | if no mutator is active |
References removeUnderPolicyUniversePolicySpaceGbpContractGbpSubject(), and resolve().
| static void modelgbp::gbp::SecGroupRule::removeUnderPolicyUniversePolicySpaceGbpContractGbpSubject |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | policySpaceName, |
|
|
const std::string & | gbpContractName, |
|
|
const std::string & | gbpSubjectName, |
|
|
const std::string & | gbpSecGroupRuleName ) |
|
inlinestatic |
Remove the SecGroupRule object with the specified path elements from the managed object store.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpContract/[gbpContractName]/GbpSubject/[gbpSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]
- Parameters
-
| framework | the framework instance to use |
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpContractName | the value of gbpContractName, a naming property for Contract |
| gbpSubjectName | the value of gbpSubjectName, a naming property for Subject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
- Exceptions
-
| std::logic_error | if no mutator is active |
References CLASS_ID, and resolve().
Referenced by removeUnderPolicyUniversePolicySpaceGbpContractGbpSubject().
| static void modelgbp::gbp::SecGroupRule::removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject |
( |
const std::string & | policySpaceName, |
|
|
const std::string & | gbpSecGroupName, |
|
|
const std::string & | gbpSecGroupSubjectName, |
|
|
const std::string & | gbpSecGroupRuleName ) |
|
inlinestatic |
Remove the SecGroupRule object with the specified path elements from the managed object store using the default framework instance.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpSecGroup/[gbpSecGroupName]/GbpSecGroupSubject/[gbpSecGroupSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]
- Parameters
-
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpSecGroupName | the value of gbpSecGroupName, a naming property for SecGroup |
| gbpSecGroupSubjectName | the value of gbpSecGroupSubjectName, a naming property for SecGroupSubject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
- Exceptions
-
| std::logic_error | if no mutator is active |
References removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject(), and resolve().
| static void modelgbp::gbp::SecGroupRule::removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | policySpaceName, |
|
|
const std::string & | gbpSecGroupName, |
|
|
const std::string & | gbpSecGroupSubjectName, |
|
|
const std::string & | gbpSecGroupRuleName ) |
|
inlinestatic |
Remove the SecGroupRule object with the specified path elements from the managed object store.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpSecGroup/[gbpSecGroupName]/GbpSecGroupSubject/[gbpSecGroupSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]
- Parameters
-
| framework | the framework instance to use |
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpSecGroupName | the value of gbpSecGroupName, a naming property for SecGroup |
| gbpSecGroupSubjectName | the value of gbpSecGroupSubjectName, a naming property for SecGroupSubject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
- Exceptions
-
| std::logic_error | if no mutator is active |
References CLASS_ID, and resolve().
Referenced by removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject().
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRule > > modelgbp::gbp::SecGroupRule::resolve |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const opflex::modb::URI & | uri ) |
|
inlinestatic |
Retrieve an instance of SecGroupRule from the managed object store.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
- Parameters
-
| framework | the framework instance to use |
| uri | the URI of the object to retrieve |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References CLASS_ID, and resolve().
Referenced by addGbpRuleToActionRSrc(), addGbpRuleToClassifierRSrc(), addGbpSecGroupRuleToRemoteAddressRSrc(), getDirection(), getDirection(), getName(), getName(), getOrder(), getOrder(), isDirectionSet(), isNameSet(), isOrderSet(), registerListener(), registerListener(), remove(), remove(), remove(), removeUnderPolicyUniversePolicySpaceGbpContractGbpSubject(), removeUnderPolicyUniversePolicySpaceGbpContractGbpSubject(), removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject(), removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject(), resolve(), resolve(), resolveGbpRuleToActionRSrc(), resolveGbpRuleToActionRSrc(), resolveGbpRuleToClassifierRSrc(), resolveGbpRuleToClassifierRSrc(), modelgbp::gbp::SecGroupSubject::resolveGbpSecGroupRule(), resolveGbpSecGroupRuleToRemoteAddressRSrc(), resolveGbpSecGroupRuleToRemoteAddressRSrc(), resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubject(), resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubject(), resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject(), resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject(), setDirection(), setName(), setOrder(), unregisterListener(), unregisterListener(), unsetDirection(), unsetName(), and unsetOrder().
Retrieve an instance of SecGroupRule from the default managed object store by constructing its URI from the path elements that lead to it.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpContract/[gbpContractName]/GbpSubject/[gbpSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]
- Parameters
-
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpContractName | the value of gbpContractName, a naming property for Contract |
| gbpSubjectName | the value of gbpSubjectName, a naming property for Subject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve(), and resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubject().
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRule > > modelgbp::gbp::SecGroupRule::resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubject |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | policySpaceName, |
|
|
const std::string & | gbpContractName, |
|
|
const std::string & | gbpSubjectName, |
|
|
const std::string & | gbpSecGroupRuleName ) |
|
inlinestatic |
Retrieve an instance of SecGroupRule from the managed object store by constructing its URI from the path elements that lead to it.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpContract/[gbpContractName]/GbpSubject/[gbpSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]
- Parameters
-
| framework | the framework instance to use |
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpContractName | the value of gbpContractName, a naming property for Contract |
| gbpSubjectName | the value of gbpSubjectName, a naming property for Subject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().
Referenced by resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubject().
Retrieve an instance of SecGroupRule from the default managed object store by constructing its URI from the path elements that lead to it.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpSecGroup/[gbpSecGroupName]/GbpSecGroupSubject/[gbpSecGroupSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]
- Parameters
-
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpSecGroupName | the value of gbpSecGroupName, a naming property for SecGroup |
| gbpSecGroupSubjectName | the value of gbpSecGroupSubjectName, a naming property for SecGroupSubject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve(), and resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject().
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRule > > modelgbp::gbp::SecGroupRule::resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | policySpaceName, |
|
|
const std::string & | gbpSecGroupName, |
|
|
const std::string & | gbpSecGroupSubjectName, |
|
|
const std::string & | gbpSecGroupRuleName ) |
|
inlinestatic |
Retrieve an instance of SecGroupRule from the managed object store by constructing its URI from the path elements that lead to it.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpSecGroup/[gbpSecGroupName]/GbpSecGroupSubject/[gbpSecGroupSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]
- Parameters
-
| framework | the framework instance to use |
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpSecGroupName | the value of gbpSecGroupName, a naming property for SecGroup |
| gbpSecGroupSubjectName | the value of gbpSecGroupSubjectName, a naming property for SecGroupSubject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().
Referenced by resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubject().