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 PropertyResource
StringPropertyTO
public static void setProperties(Long noteId, PropertyResource[] properties) throws NotFoundException, AuthorizationException
noteId
- identifier of noteproperties
- array of PropertyResource
NotFoundException
- can not found propertyAuthorizationException
- user is not allowed to access propertyCopyright © 2019 Communote team. All rights reserved.