public interface SiteServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
Site[] |
createSites(Site[] sites)
Creates new
Site objects. |
SitePage |
getSitesByStatement(Statement filterStatement)
|
UpdateResult |
performSiteAction(SiteAction siteAction,
Statement filterStatement)
Performs actions on
Site objects that match the given
Statement.query. |
Site[] |
updateSites(Site[] sites)
Updates the specified
Site objects. |
Site[] createSites(Site[] sites) throws RemoteException, ApiException
Site objects.sites - the sites to createRemoteExceptionApiExceptionSitePage getSitesByStatement(Statement filterStatement) throws RemoteException, ApiException
SitePage of Site objects that satisfy
the given Statement.query.
The following fields are supported for filtering:
| PQL Property | Object Property |
|---|---|
id |
Site.id |
url |
Site.url |
childNetworkCode |
Site.childNetworkCode |
approvalStatus |
Site.approvalStatus |
active |
Site.active |
lastModifiedApprovalStatusDateTime |
lastModifiedApprovalStatusDateTime
PQL property can only be used in a
top-level expression scoping the filterStatement to
Sites whose approvalStatus was modified on or after a specified date
and time. (e.x. "WHERE
lastModifiedApprovalStatusDateTime >= '2022-01-01T00:00:00'").filterStatement - a Publisher Query Language statement used to
filter a set of sitesRemoteExceptionApiExceptionUpdateResult performSiteAction(SiteAction siteAction, Statement filterStatement) throws RemoteException, ApiException
Site objects that match the given
Statement.query.siteAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter a set of sitesRemoteExceptionApiExceptionSite[] updateSites(Site[] sites) throws RemoteException, ApiException
Site objects.
The Site.childNetworkCode can be updated in order
to 1) change the child network, 2)
move a site from O&O to represented, or 3) move a site from
represented to O&O.
sites - the sites to updateRemoteExceptionApiExceptionCopyright © 2022. All rights reserved.