public class PropertyGroupImpl extends ClientImpl implements BasePropertyGroup, Serializable
Constructor and Description |
---|
PropertyGroupImpl(String host)
PropertyGroupImpl
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyGroup(String uuid,
String grpName,
Map<String,String> propertiesMap)
Add property group.
|
List<PropertyGroup> |
getAllPropertyGroups()
Gets all property groups.
|
PropertyGroup |
getPropertyGroup(String grpName)
Gets property group.
|
List<FormElement> |
getPropertyGroupByVersionForm(String uuid,
String grpName,
String versionName)
Gets property group by version form.
|
List<FormElement> |
getPropertyGroupForm(String grpName)
Gets property group form.
|
List<FormElement> |
getPropertyGroupForm(String uuid,
String grpName)
Gets property group form.
|
Map<String,String> |
getPropertyGroupProperties(String uuid,
String grpName)
Gets property group properties.
|
Map<String,String> |
getPropertyGroupPropertiesByVersion(String uuid,
String grpName,
String versionName)
Gets property group properties by version.
|
List<PropertyGroup> |
getPropertyGroups(String uuid)
Gets property groups.
|
List<PropertyGroup> |
getPropertyGroupsByVersion(String uuid,
String versionName)
Gets property groups by version.
|
List<String> |
getPropertyGroupSuggestions(String uuid,
String grpName,
String propName)
Gets property group suggestions.
|
String |
getRegisteredPropertyGroupDefinition()
Gets registered property group definition.
|
String |
getSuggestBoxKeyValue(String grpName,
String propertyName,
String key)
Gets suggest box key value.
|
Map<String,String> |
getSuggestBoxKeyValuesFiltered(String grpName,
String propertyName,
String filter)
Gets suggest box key values filtered.
|
boolean |
hasPropertyGroup(String uuid,
String grpName)
Has property group boolean.
|
void |
registerPropertyGroupDefinition(InputStream is,
String name)
Register property group definition.
|
void |
removePropertyGroup(String uuid,
String grpName)
Remove property group.
|
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
void |
setPropertyGroupProperties(String uuid,
String grpName,
Map<String,String> properties)
Sets property group properties.
|
getClient, resource, resource
public PropertyGroupImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public void addPropertyGroup(String uuid, String grpName, Map<String,String> propertiesMap) throws NoSuchGroupException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknownException, WebserviceException
BasePropertyGroup
addPropertyGroup
in interface BasePropertyGroup
uuid
- the uuidgrpName
- the grp namepropertiesMap
- the properties mapNoSuchGroupException
- the no such group exceptionLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionExtensionException
- the extension exceptionAutomationException
- the automation exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionpublic void removePropertyGroup(String uuid, String grpName) throws AccessDeniedException, NoSuchGroupException, LockException, PathNotFoundException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknownException, WebserviceException
BasePropertyGroup
removePropertyGroup
in interface BasePropertyGroup
uuid
- the uuidgrpName
- the grp nameAccessDeniedException
- the access denied exceptionNoSuchGroupException
- the no such group exceptionLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionExtensionException
- the extension exceptionAutomationException
- the automation exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionpublic List<PropertyGroup> getPropertyGroups(String uuid) throws ParseException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException, AccessDeniedException
BasePropertyGroup
getPropertyGroups
in interface BasePropertyGroup
uuid
- the uuidParseException
- the parse exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionAccessDeniedException
- the access denied exceptionpublic List<PropertyGroup> getAllPropertyGroups() throws ParseException, RepositoryException, DatabaseException, UnknownException, WebserviceException, AccessDeniedException
BasePropertyGroup
getAllPropertyGroups
in interface BasePropertyGroup
ParseException
- the parse exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionAccessDeniedException
- the access denied exceptionpublic List<FormElement> getPropertyGroupForm(String grpName) throws ParseException, NoSuchGroupException, PathNotFoundException, RepositoryException, DatabaseException, PluginNotFoundException, UnknownException, WebserviceException, AccessDeniedException
BasePropertyGroup
getPropertyGroupForm
in interface BasePropertyGroup
grpName
- the grp nameParseException
- the parse exceptionNoSuchGroupException
- the no such group exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPluginNotFoundException
- the plugin not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionAccessDeniedException
- the access denied exceptionpublic List<FormElement> getPropertyGroupForm(String uuid, String grpName) throws ParseException, NoSuchGroupException, PathNotFoundException, RepositoryException, DatabaseException, PluginNotFoundException, UnknownException, WebserviceException, AccessDeniedException
BasePropertyGroup
getPropertyGroupForm
in interface BasePropertyGroup
uuid
- the uuidgrpName
- the grp nameParseException
- the parse exceptionNoSuchGroupException
- the no such group exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPluginNotFoundException
- the plugin not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionAccessDeniedException
- the access denied exceptionpublic void setPropertyGroupProperties(String uuid, String grpName, Map<String,String> properties) throws ParseException, NoSuchPropertyException, NoSuchGroupException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, PluginNotFoundException, ValidationFormException, UnknownException, WebserviceException
BasePropertyGroup
setPropertyGroupProperties
in interface BasePropertyGroup
uuid
- the uuidgrpName
- the grp nameproperties
- the propertiesParseException
- the parse exceptionNoSuchPropertyException
- the no such property exceptionNoSuchGroupException
- the no such group exceptionLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionExtensionException
- the extension exceptionAutomationException
- the automation exceptionPluginNotFoundException
- the plugin not found exceptionValidationFormException
- the validation form exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionpublic boolean hasPropertyGroup(String uuid, String grpName) throws ParseException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException, AccessDeniedException
BasePropertyGroup
hasPropertyGroup
in interface BasePropertyGroup
uuid
- the uuidgrpName
- the grp nameParseException
- the parse exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionAccessDeniedException
- the access denied exceptionpublic List<PropertyGroup> getPropertyGroupsByVersion(String uuid, String versionName) throws ParseException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException, AccessDeniedException
BasePropertyGroup
getPropertyGroupsByVersion
in interface BasePropertyGroup
uuid
- the uuidversionName
- the version nameParseException
- the parse exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionAccessDeniedException
- the access denied exceptionpublic String getRegisteredPropertyGroupDefinition() throws ParseException, DatabaseException, UnknownException, WebserviceException, AccessDeniedException
BasePropertyGroup
getRegisteredPropertyGroupDefinition
in interface BasePropertyGroup
ParseException
- the parse exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionAccessDeniedException
- the access denied exceptionpublic List<String> getPropertyGroupSuggestions(String uuid, String grpName, String propName) throws PathNotFoundException, ParseException, NoSuchGroupException, SuggestionException, DatabaseException, UnknownException, WebserviceException, AccessDeniedException
BasePropertyGroup
getPropertyGroupSuggestions
in interface BasePropertyGroup
uuid
- the uuidgrpName
- the grp namepropName
- the prop namePathNotFoundException
- the path not found exceptionParseException
- the parse exceptionNoSuchGroupException
- the no such group exceptionSuggestionException
- the suggestion exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionAccessDeniedException
- the access denied exceptionpublic void registerPropertyGroupDefinition(InputStream is, String name) throws ParseException, DatabaseException, UnknownException, WebserviceException, AccessDeniedException
BasePropertyGroup
registerPropertyGroupDefinition
in interface BasePropertyGroup
is
- the isname
- the nameParseException
- the parse exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionAccessDeniedException
- the access denied exceptionpublic Map<String,String> getPropertyGroupProperties(String uuid, String grpName) throws ParseException, NoSuchGroupException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PluginNotFoundException, UnknownException, WebserviceException
BasePropertyGroup
getPropertyGroupProperties
in interface BasePropertyGroup
uuid
- the uuidgrpName
- the grp nameParseException
- the parse exceptionNoSuchGroupException
- the no such group exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPluginNotFoundException
- the plugin not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionpublic Map<String,String> getPropertyGroupPropertiesByVersion(String uuid, String grpName, String versionName) throws ParseException, NoSuchGroupException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PluginNotFoundException, UnknownException, WebserviceException
BasePropertyGroup
getPropertyGroupPropertiesByVersion
in interface BasePropertyGroup
uuid
- the uuidgrpName
- the grp nameversionName
- the version nameParseException
- the parse exceptionNoSuchGroupException
- the no such group exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPluginNotFoundException
- the plugin not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionpublic List<FormElement> getPropertyGroupByVersionForm(String uuid, String grpName, String versionName) throws ParseException, NoSuchGroupException, PathNotFoundException, RepositoryException, DatabaseException, PluginNotFoundException, UnknownException, WebserviceException, AccessDeniedException
BasePropertyGroup
getPropertyGroupByVersionForm
in interface BasePropertyGroup
uuid
- the uuidgrpName
- the grp nameversionName
- the version nameParseException
- the parse exceptionNoSuchGroupException
- the no such group exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPluginNotFoundException
- the plugin not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionAccessDeniedException
- the access denied exceptionpublic PropertyGroup getPropertyGroup(String grpName) throws ParseException, RepositoryException, DatabaseException, NoSuchGroupException, UnknownException, WebserviceException, AccessDeniedException
BasePropertyGroup
getPropertyGroup
in interface BasePropertyGroup
grpName
- the grp nameParseException
- the parse exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionNoSuchGroupException
- the no such group exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionAccessDeniedException
- the access denied exceptionpublic String getSuggestBoxKeyValue(String grpName, String propertyName, String key) throws ParseException, AccessDeniedException, DatabaseException, PluginNotFoundException, UnknownException, WebserviceException
BasePropertyGroup
getSuggestBoxKeyValue
in interface BasePropertyGroup
grpName
- the grp namepropertyName
- the property namekey
- the keyParseException
- the parse exceptionAccessDeniedException
- the access denied exceptionDatabaseException
- the database exceptionPluginNotFoundException
- the plugin not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionpublic Map<String,String> getSuggestBoxKeyValuesFiltered(String grpName, String propertyName, String filter) throws ParseException, AccessDeniedException, DatabaseException, PluginNotFoundException, UnknownException, WebserviceException
BasePropertyGroup
getSuggestBoxKeyValuesFiltered
in interface BasePropertyGroup
grpName
- the grp namepropertyName
- the property namefilter
- the filterParseException
- the parse exceptionAccessDeniedException
- the access denied exceptionDatabaseException
- the database exceptionPluginNotFoundException
- the plugin not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.