@EntityResource(name="sites", title="Sites") public class SiteEntityResource extends Object implements EntityResourceAction.Read<Site>, EntityResourceAction.ReadById<Site>, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
SiteEntityResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
CollectionWithPagingInfo<Site> |
readAll(Parameters parameters)
Returns a paged list of all sites in the current tenant.
|
Site |
readById(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.InitializingBeanpublic CollectionWithPagingInfo<Site> readAll(Parameters parameters)
readAll in interface EntityResourceAction.Read<Site>parameters - - will never be null and will have the PAGING default valuesorg.alfresco.rest.framework.resource.actions.interfaces.CollectionResourceAction.Get#get()public Site readById(String siteId, Parameters parameters)
readById in interface EntityResourceAction.ReadById<Site>Copyright © 2005–2014 Alfresco Software. All rights reserved.