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.
|
String |
validateField(String value,
String className,
List<String> uuids)
Validate field string.
|
getClient, resource, resource, resourcepublic 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
BasePropertyGroupaddPropertyGroup in interface BasePropertyGroupuuid - 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
BasePropertyGroupremovePropertyGroup in interface BasePropertyGroupuuid - 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
BasePropertyGroupgetPropertyGroups in interface BasePropertyGroupuuid - 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
BasePropertyGroupgetAllPropertyGroups in interface BasePropertyGroupParseException - 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
BasePropertyGroupgetPropertyGroupForm in interface BasePropertyGroupgrpName - 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
BasePropertyGroupgetPropertyGroupForm in interface BasePropertyGroupuuid - 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
BasePropertyGroupsetPropertyGroupProperties in interface BasePropertyGroupuuid - 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
BasePropertyGrouphasPropertyGroup in interface BasePropertyGroupuuid - 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
BasePropertyGroupgetPropertyGroupsByVersion in interface BasePropertyGroupuuid - 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
BasePropertyGroupgetRegisteredPropertyGroupDefinition in interface BasePropertyGroupParseException - 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
BasePropertyGroupgetPropertyGroupSuggestions in interface BasePropertyGroupuuid - 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
BasePropertyGroupregisterPropertyGroupDefinition in interface BasePropertyGroupis - 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
BasePropertyGroupgetPropertyGroupProperties in interface BasePropertyGroupuuid - 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
BasePropertyGroupgetPropertyGroupPropertiesByVersion in interface BasePropertyGroupuuid - 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
BasePropertyGroupgetPropertyGroupByVersionForm in interface BasePropertyGroupuuid - 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
BasePropertyGroupgetPropertyGroup in interface BasePropertyGroupgrpName - 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
BasePropertyGroupgetSuggestBoxKeyValue in interface BasePropertyGroupgrpName - 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
BasePropertyGroupgetSuggestBoxKeyValuesFiltered in interface BasePropertyGroupgrpName - 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 exceptionpublic String validateField(String value, String className, List<String> uuids) throws PluginNotFoundException, UnknownException, WebserviceException
BasePropertyGroupvalidateField in interface BasePropertyGroupvalue - the valueclassName - the class nameuuids - the uuidsPluginNotFoundException - the plugin not found exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionCopyright © 2023 Open Knowledge Management System S.L.. All Rights Reserved.