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