public interface CompanyServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
Company[] |
createCompanies(Company[] companies)
Creates new
Company objects. |
Company |
createCompany(Company company)
Creates a new
Company. |
CompanyPage |
getCompaniesByStatement(Statement filterStatement)
|
Company |
getCompany(Long companyId)
Returns the
Company uniquely identified by the given
ID. |
Company[] |
updateCompanies(Company[] companies)
Updates the specified
Company objects. |
Company |
updateCompany(Company company)
Updates the specified
Company. |
Company[] createCompanies(Company[] companies) throws RemoteException, ApiException
Company objects.companies - the companies to createRemoteExceptionApiExceptionCompany createCompany(Company company) throws RemoteException, ApiException
Company.
The following fields are required:
company - the company to createRemoteExceptionApiExceptionCompanyPage getCompaniesByStatement(Statement filterStatement) throws RemoteException, ApiException
CompanyPage of Company objects that
satisfy the
given Statement.query. The following fields are supported
for
filtering:
| PQL Property | Object Property |
|---|---|
id |
Company.id |
name |
Company.name |
type |
Company.type |
lastModifiedDateTime |
Company.lastModifiedDateTime |
filterStatement - a Publisher Query Language statement used to
filter
a set of companiesRemoteExceptionApiExceptionCompany getCompany(Long companyId) throws RemoteException, ApiException
Company uniquely identified by the given
ID.companyId - ID of the company, which must already existCompany uniquely identified by the given IDRemoteExceptionApiExceptionCompany[] updateCompanies(Company[] companies) throws RemoteException, ApiException
Company objects.companies - the companies to updateRemoteExceptionApiExceptionCompany updateCompany(Company company) throws RemoteException, ApiException
Company.company - the company to updateRemoteExceptionApiExceptionCopyright © 2013. All Rights Reserved.