public interface ProposalServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
Proposal |
createProposal(Proposal proposal)
Creates a new
Proposal. |
Proposal[] |
createProposals(Proposal[] proposals)
Creates new
Proposal objects. |
Proposal |
getProposal(Long proposalId)
Returns the
Proposal uniquely identified by the given
ID. |
ProposalPage |
getProposalsByStatement(Statement filterStatement)
|
UpdateResult |
performProposalAction(ProposalAction proposalAction,
Statement filterStatement)
Performs actions on
Proposal objects that match the
given Statement.query. |
Proposal |
updateProposal(Proposal proposal)
Updates the specified
Proposal. |
Proposal[] |
updateProposals(Proposal[] proposals)
Updates the specified
Proposal objects. |
Proposal createProposal(Proposal proposal) throws RemoteException, ApiException
Proposal.
The following fields are required:
proposal - the proposal to createRemoteExceptionApiExceptionProposal[] createProposals(Proposal[] proposals) throws RemoteException, ApiException
Proposal objects.
For each proposal, the following fields are required:
proposals - the proposals to createRemoteExceptionApiExceptionProposal getProposal(Long proposalId) throws RemoteException, ApiException
Proposal uniquely identified by the given
ID.proposalId - the ID of the proposal, which must already existRemoteExceptionApiExceptionProposalPage 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 |
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 updateProposal(Proposal proposal) throws RemoteException, ApiException
Proposal.proposal - the proposal to updateRemoteExceptionApiExceptionProposal[] updateProposals(Proposal[] proposals) throws RemoteException, ApiException
Proposal objects.proposals - the proposals to updateRemoteExceptionApiExceptionCopyright © 2014. All Rights Reserved.