public interface ProposalServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
Proposal[] |
createProposals(Proposal[] proposals)
Creates new
Proposal objects. |
ProposalPage |
getProposalsByStatement(Statement filterStatement)
|
UpdateResult |
performProposalAction(ProposalAction proposalAction,
Statement filterStatement)
Performs actions on
Proposal objects that match the
given Statement.query. |
Proposal[] |
updateProposals(Proposal[] proposals)
Updates the specified
Proposal objects. |
Proposal[] createProposals(Proposal[] proposals) throws RemoteException, ApiException
Proposal objects.
For each proposal, the following fields are required:
proposals - the proposals to createRemoteExceptionApiExceptionProposalPage getProposalsByStatement(Statement filterStatement) throws RemoteException, ApiException
ProposalPage of Proposal objects that
satisfy the given
Statement.query. The following fields are supported
for filtering:
| PQL Property | Object Property |
|---|---|
id |
Proposal.id |
name |
Proposal.name |
status |
Proposal.status |
isArchived |
Proposal.isArchived |
approvalStatus |
Proposal.approvalStatus |
lastModifiedDateTime |
Proposal.lastModifiedDateTime |
thirdPartyAdServerId |
Proposal.thirdPartyAdServerId |
customThirdPartyAdServerName |
Proposal.customThirdPartyAdServerName |
filterStatement - a Publisher Query Language statement used to
filter
a set of proposalsRemoteExceptionApiExceptionUpdateResult performProposalAction(ProposalAction proposalAction, Statement filterStatement) throws RemoteException, ApiException
Proposal objects that match the
given Statement.query.
The following fields are also required when submitting proposals
for approval:
proposalAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter a set of proposalsRemoteExceptionApiExceptionProposal[] updateProposals(Proposal[] proposals) throws RemoteException, ApiException
Proposal objects.proposals - the proposals to updateRemoteExceptionApiExceptionCopyright © 2014. All Rights Reserved.