public final class PropertyResourceHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static Set<StringPropertyTO> |
convertPropertyResourcesToStringPropertyTOs(PropertyResource[] properties)
Get note properties of property resources
|
static void |
setProperties(Long noteId,
PropertyResource[] properties)
Set the properties of an note.
|
public static Set<StringPropertyTO> convertPropertyResourcesToStringPropertyTOs(PropertyResource[] properties)
properties - array of PropertyResourceStringPropertyTOpublic static void setProperties(Long noteId, PropertyResource[] properties) throws NotFoundException, AuthorizationException
noteId - identifier of noteproperties - array of PropertyResourceNotFoundException - can not found propertyAuthorizationException - user is not allowed to access propertyCopyright © 2019 Communote team. All rights reserved.