@RelationshipResource(name="preferences", entityResource=PeopleEntityResource.class, title="Person Preferences") public class PersonPreferencesRelation extends java.lang.Object implements RelationshipResourceAction.Read, RelationshipResourceAction.ReadById, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
PersonPreferencesRelation() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
CollectionWithPagingInfo |
readAll(java.lang.String personId,
Parameters parameters)
Returns a paged list of preferences for the user personId.
|
Preference |
readById(java.lang.String personId,
java.lang.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 readAll(java.lang.String personId, Parameters parameters)
readAll in interface RelationshipResourceAction.ReadpersonId - 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(java.lang.String personId, java.lang.String preferenceName, Parameters parameters)
readById in interface RelationshipResourceAction.ReadByIdorg.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.ReadById#readById(java.lang.String, java.lang.String)Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.