@EntityResource(name="sites", title="Sites") public class SiteEntityResource extends java.lang.Object implements EntityResourceAction.Read, EntityResourceAction.ReadById, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
SiteEntityResource() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
CollectionWithPagingInfo |
readAll(Parameters parameters)
Returns a paged list of all sites in the current tenant.
|
Site |
readById(java.lang.String siteId,
Parameters parameters)
Returns information regarding the site 'siteId'.
|
void |
setSites(Sites sites) |
public void setSites(Sites sites)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public CollectionWithPagingInfo readAll(Parameters parameters)
readAll
in interface EntityResourceAction.Read
parameters
- - will never be null and will have the PAGING default valuesorg.alfresco.rest.framework.resource.actions.interfaces.CollectionResourceAction.Get#get()
public Site readById(java.lang.String siteId, Parameters parameters)
readById
in interface EntityResourceAction.ReadById
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.