public interface ProposalServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
Proposal[] |
createProposals(Proposal[] proposals)
Creates new
Proposal objects. |
MarketplaceCommentPage |
getMarketplaceCommentsByStatement(Statement filterStatement)
|
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 createRemoteExceptionApiExceptionMarketplaceCommentPage getMarketplaceCommentsByStatement(Statement filterStatement) throws RemoteException, ApiException
MarketplaceCommentPage of MarketplaceComment
objects that satisfy the
given Statement.query. This method only returns comments
already sent to Marketplace,
local draft ProposalMarketplaceInfo.marketplaceComment
are not included. The following
fields are supported for filtering:
| PQL Property | Object Property |
|---|---|
proposalId |
MarketplaceComment.proposalId |
proposalId, and only supports
a subset of PQL syntax:[WHERE {AND ...}] [ORDER BY [ASC | DESC]] [LIMIT {[,] } | { OFFSET }]
:=
Only supports ORDER BY MarketplaceComment.creationTime.
filterStatement - a Publisher Query Language statement used to
filter a set of marketplace
commentsRemoteExceptionApiExceptionProposalPage 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 |
dfpOrderId |
Proposal.dfpOrderId |
name |
Proposal.name |
status |
Proposal.status |
isArchived |
Proposal.isArchived |
approvalStatus
Only applicable for proposals using
sales management
|
Proposal#approvalStatus |
lastModifiedDateTime |
Proposal.lastModifiedDateTime |
isProgrammatic |
Proposal.isProgrammatic |
negotiationStatus
Only applicable for programmatic proposals
|
ProposalMarketplaceInfo.negotiationStatus |
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 © 2022. All rights reserved.