|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SiteManager
Manager class for site CRUD
| Method Summary | |
|---|---|
void |
create(java.util.List<Site> sites)Creates a list of Sites |
void |
delete(java.util.List<java.lang.String> siteNames)Deletes the list of Sites of given names |
java.util.List<SiteInfo> |
list()Gets the list of SiteInfo exist in Content Server |
QueryResultWrapper<java.util.List<SiteInfo>> |
list(Condition query, java.util.List<SortOrder> sortorders, int start, int count)Gets the list of SiteInfo exist in Content Server |
QueryResultWrapper<java.util.List<Site>> |
read(Condition query)Gets a list of Sites that satisfies the Condition passed in |
QueryResultWrapper<java.util.List<Site>> |
read(Condition query, java.util.List<SortOrder> sortorders, int start, int count)Gets a list of Sites that satisfies the Condition passed in |
java.util.List<Site> |
read(java.util.List<java.lang.String> siteNames)Gets the list of Sites given the Site names. |
void |
update(java.util.List<Site> sites)Updates the Site information for the list of passed Sites |
| Method Detail |
|---|
java.util.List<SiteInfo> list()
throws SiteAccessException
SiteAccessException - throw this exception when error met
QueryResultWrapper<java.util.List<SiteInfo>> list(Condition query,
java.util.List<SortOrder> sortorders,
int start,
int count)
throws SiteAccessException
query - the simple Condition that the results will be returned against - only name, description, and id are supportedsortorders - the attributes of site that the results will be sorted upon - only name, description and id are supportedstart - the start number where you want to results fromcount - the total number sites you want the list containSiteAccessException - throw this exception when error met
java.util.List<Site> read(java.util.List<java.lang.String> siteNames)
throws SiteAccessException
siteNames - the list of Site namesSiteAccessException - throw this exception when error met
QueryResultWrapper<java.util.List<Site>> read(Condition query)
throws SiteAccessException
query - the query Condition for the SitesSiteAccessException - throw this exception when error met
QueryResultWrapper<java.util.List<Site>> read(Condition query,
java.util.List<SortOrder> sortorders,
int start,
int count)
throws SiteAccessException
query - the query Condition for the Sitessortorders - the attributes of site that the results will be sorted upon - only name, description and id are supportedstart - the start number where you want to results fromcount - the total number sites you want the list containSiteAccessException - throw this exception when error met
void update(java.util.List<Site> sites)
throws SiteAccessException
sites - the list of Sites to updateSiteAccessException - throw this exception when error met
void create(java.util.List<Site> sites)
throws SiteAccessException
sites - the list of SitesSiteAccessException - throw this exception when error met
void delete(java.util.List<java.lang.String> siteNames)
throws SiteAccessException
siteNames - the names of the Sites that will be deletedSiteAccessException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.