Interface CreateGovernanceAreaApiFunction
-
- All Superinterfaces:
ApiFunction
- All Known Implementing Classes:
ClientImpl
,SwpClient
public interface CreateGovernanceAreaApiFunction extends ApiFunction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createGovernanceArea(String label, GovernanceAreaType type, GovernanceAreaUri uri, Optional<String> labelLang)
Create a governance area.
-
-
-
Method Detail
-
createGovernanceArea
void createGovernanceArea(String label, GovernanceAreaType type, GovernanceAreaUri uri, Optional<String> labelLang)
Create a governance area.- Parameters:
label
- label of the new governance arealabelLang
- optional language specifier for the labertype
- type of governance areauri
- URI for the new governance area- Throws:
GovernanceAreaAlreadyExistsException
- if the governance area already exists
-
-