@RelationshipResource(name="preferences", entityResource=PeopleEntityResource.class, title="Person Preferences") public class PersonPreferencesRelation extends Object implements RelationshipResourceAction.Read<Preference>, RelationshipResourceAction.ReadById<Preference>, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
PersonPreferencesRelation() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
CollectionWithPagingInfo<Preference> |
readAll(String personId,
Parameters parameters)
Returns a paged list of preferences for the user personId.
|
Preference |
readById(String personId,
String preferenceName,
Parameters parameters)
Returns information regarding the preference 'preferenceName' for user personId.
|
void |
setPreferences(Preferences preferences) |
public void setPreferences(Preferences preferences)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic CollectionWithPagingInfo<Preference> readAll(String personId, Parameters parameters)
readAll in interface RelationshipResourceAction.Read<Preference>personId - Entity resource context for this relationshipparameters - - will never be null and will have the PAGING default valuesRelationshipResourceAction.Read.readAll(java.lang.String, org.alfresco.rest.framework.resource.parameters.Parameters)public Preference readById(String personId, String preferenceName, Parameters parameters)
Copyright © 2005–2018 Alfresco Software. All rights reserved.