public class AccountEntryOrganizationRelLocalServiceWrapper extends java.lang.Object implements AccountEntryOrganizationRelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<AccountEntryOrganizationRelLocalService>
AccountEntryOrganizationRelLocalService
.AccountEntryOrganizationRelLocalService
Constructor and Description |
---|
AccountEntryOrganizationRelLocalServiceWrapper() |
AccountEntryOrganizationRelLocalServiceWrapper(AccountEntryOrganizationRelLocalService accountEntryOrganizationRelLocalService) |
Modifier and Type | Method and Description |
---|---|
AccountEntryOrganizationRel |
addAccountEntryOrganizationRel(AccountEntryOrganizationRel accountEntryOrganizationRel)
Adds the account entry organization rel to the database.
|
AccountEntryOrganizationRel |
addAccountEntryOrganizationRel(long accountEntryId,
long organizationId) |
void |
addAccountEntryOrganizationRels(long accountEntryId,
long[] organizationIds) |
AccountEntryOrganizationRel |
createAccountEntryOrganizationRel(long accountEntryOrganizationRelId)
Creates a new account entry organization rel with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
AccountEntryOrganizationRel |
deleteAccountEntryOrganizationRel(AccountEntryOrganizationRel accountEntryOrganizationRel)
Deletes the account entry organization rel from the database.
|
AccountEntryOrganizationRel |
deleteAccountEntryOrganizationRel(long accountEntryOrganizationRelId)
Deletes the account entry organization rel with the primary key from the database.
|
void |
deleteAccountEntryOrganizationRel(long accountEntryId,
long organizationId) |
void |
deleteAccountEntryOrganizationRels(long accountEntryId,
long[] organizationIds) |
void |
deleteAccountEntryOrganizationRelsByAccountEntryId(long accountEntryId) |
void |
deleteAccountEntryOrganizationRelsByOrganizationId(long organizationId) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
AccountEntryOrganizationRel |
fetchAccountEntryOrganizationRel(long accountEntryOrganizationRelId) |
AccountEntryOrganizationRel |
fetchAccountEntryOrganizationRel(long accountEntryId,
long organizationId) |
AccountEntryOrganizationRel |
getAccountEntryOrganizationRel(long accountEntryOrganizationRelId)
Returns the account entry organization rel with the primary key.
|
AccountEntryOrganizationRel |
getAccountEntryOrganizationRel(long accountEntryId,
long organizationId) |
java.util.List<AccountEntryOrganizationRel> |
getAccountEntryOrganizationRels(int start,
int end)
Returns a range of all the account entry organization rels.
|
java.util.List<AccountEntryOrganizationRel> |
getAccountEntryOrganizationRels(long accountEntryId) |
java.util.List<AccountEntryOrganizationRel> |
getAccountEntryOrganizationRels(long accountEntryId,
int start,
int end) |
java.util.List<AccountEntryOrganizationRel> |
getAccountEntryOrganizationRelsByOrganizationId(long organizationId) |
java.util.List<AccountEntryOrganizationRel> |
getAccountEntryOrganizationRelsByOrganizationId(long organizationId,
int start,
int end) |
int |
getAccountEntryOrganizationRelsByOrganizationIdCount(long organizationId) |
int |
getAccountEntryOrganizationRelsCount()
Returns the number of account entry organization rels.
|
int |
getAccountEntryOrganizationRelsCount(long accountEntryId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
AccountEntryOrganizationRelLocalService |
getWrappedService() |
boolean |
hasAccountEntryOrganizationRel(long accountEntryId,
long organizationId) |
void |
setAccountEntryOrganizationRels(long accountEntryId,
long[] organizationIds)
Creates an AccountEntryOrganizationRel for each given organizationId,
unless it already exists, and removes existing
AccountEntryOrganizationRels if their organizationId is not present in
the given organizationIds.
|
void |
setWrappedService(AccountEntryOrganizationRelLocalService accountEntryOrganizationRelLocalService) |
AccountEntryOrganizationRel |
updateAccountEntryOrganizationRel(AccountEntryOrganizationRel accountEntryOrganizationRel)
Updates the account entry organization rel in the database or adds it if it does not yet exist.
|
public AccountEntryOrganizationRelLocalServiceWrapper()
public AccountEntryOrganizationRelLocalServiceWrapper(AccountEntryOrganizationRelLocalService accountEntryOrganizationRelLocalService)
public AccountEntryOrganizationRel addAccountEntryOrganizationRel(AccountEntryOrganizationRel accountEntryOrganizationRel)
Important: Inspect AccountEntryOrganizationRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addAccountEntryOrganizationRel
in interface AccountEntryOrganizationRelLocalService
accountEntryOrganizationRel
- the account entry organization relpublic AccountEntryOrganizationRel addAccountEntryOrganizationRel(long accountEntryId, long organizationId) throws com.liferay.portal.kernel.exception.PortalException
addAccountEntryOrganizationRel
in interface AccountEntryOrganizationRelLocalService
com.liferay.portal.kernel.exception.PortalException
public void addAccountEntryOrganizationRels(long accountEntryId, long[] organizationIds) throws com.liferay.portal.kernel.exception.PortalException
addAccountEntryOrganizationRels
in interface AccountEntryOrganizationRelLocalService
com.liferay.portal.kernel.exception.PortalException
public AccountEntryOrganizationRel createAccountEntryOrganizationRel(long accountEntryOrganizationRelId)
createAccountEntryOrganizationRel
in interface AccountEntryOrganizationRelLocalService
accountEntryOrganizationRelId
- the primary key for the new account entry organization relpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface AccountEntryOrganizationRelLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public AccountEntryOrganizationRel deleteAccountEntryOrganizationRel(AccountEntryOrganizationRel accountEntryOrganizationRel)
Important: Inspect AccountEntryOrganizationRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteAccountEntryOrganizationRel
in interface AccountEntryOrganizationRelLocalService
accountEntryOrganizationRel
- the account entry organization relpublic AccountEntryOrganizationRel deleteAccountEntryOrganizationRel(long accountEntryOrganizationRelId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect AccountEntryOrganizationRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteAccountEntryOrganizationRel
in interface AccountEntryOrganizationRelLocalService
accountEntryOrganizationRelId
- the primary key of the account entry organization relPortalException
- if a account entry organization rel with the primary key could not be foundpublic void deleteAccountEntryOrganizationRel(long accountEntryId, long organizationId) throws com.liferay.portal.kernel.exception.PortalException
deleteAccountEntryOrganizationRel
in interface AccountEntryOrganizationRelLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteAccountEntryOrganizationRels(long accountEntryId, long[] organizationIds) throws com.liferay.portal.kernel.exception.PortalException
deleteAccountEntryOrganizationRels
in interface AccountEntryOrganizationRelLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteAccountEntryOrganizationRelsByAccountEntryId(long accountEntryId)
deleteAccountEntryOrganizationRelsByAccountEntryId
in interface AccountEntryOrganizationRelLocalService
public void deleteAccountEntryOrganizationRelsByOrganizationId(long organizationId)
deleteAccountEntryOrganizationRelsByOrganizationId
in interface AccountEntryOrganizationRelLocalService
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface AccountEntryOrganizationRelLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface AccountEntryOrganizationRelLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface AccountEntryOrganizationRelLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface AccountEntryOrganizationRelLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface AccountEntryOrganizationRelLocalService
dynamicQuery
- the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.account.model.impl.AccountEntryOrganizationRelModelImpl
.
dynamicQuery
in interface AccountEntryOrganizationRelLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.account.model.impl.AccountEntryOrganizationRelModelImpl
.
dynamicQuery
in interface AccountEntryOrganizationRelLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface AccountEntryOrganizationRelLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface AccountEntryOrganizationRelLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic AccountEntryOrganizationRel fetchAccountEntryOrganizationRel(long accountEntryOrganizationRelId)
fetchAccountEntryOrganizationRel
in interface AccountEntryOrganizationRelLocalService
public AccountEntryOrganizationRel fetchAccountEntryOrganizationRel(long accountEntryId, long organizationId)
fetchAccountEntryOrganizationRel
in interface AccountEntryOrganizationRelLocalService
public AccountEntryOrganizationRel getAccountEntryOrganizationRel(long accountEntryOrganizationRelId) throws com.liferay.portal.kernel.exception.PortalException
getAccountEntryOrganizationRel
in interface AccountEntryOrganizationRelLocalService
accountEntryOrganizationRelId
- the primary key of the account entry organization relPortalException
- if a account entry organization rel with the primary key could not be foundpublic AccountEntryOrganizationRel getAccountEntryOrganizationRel(long accountEntryId, long organizationId) throws com.liferay.portal.kernel.exception.PortalException
getAccountEntryOrganizationRel
in interface AccountEntryOrganizationRelLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<AccountEntryOrganizationRel> getAccountEntryOrganizationRels(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.account.model.impl.AccountEntryOrganizationRelModelImpl
.
getAccountEntryOrganizationRels
in interface AccountEntryOrganizationRelLocalService
start
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)public java.util.List<AccountEntryOrganizationRel> getAccountEntryOrganizationRels(long accountEntryId)
getAccountEntryOrganizationRels
in interface AccountEntryOrganizationRelLocalService
public java.util.List<AccountEntryOrganizationRel> getAccountEntryOrganizationRels(long accountEntryId, int start, int end)
getAccountEntryOrganizationRels
in interface AccountEntryOrganizationRelLocalService
public java.util.List<AccountEntryOrganizationRel> getAccountEntryOrganizationRelsByOrganizationId(long organizationId)
getAccountEntryOrganizationRelsByOrganizationId
in interface AccountEntryOrganizationRelLocalService
public java.util.List<AccountEntryOrganizationRel> getAccountEntryOrganizationRelsByOrganizationId(long organizationId, int start, int end)
getAccountEntryOrganizationRelsByOrganizationId
in interface AccountEntryOrganizationRelLocalService
public int getAccountEntryOrganizationRelsByOrganizationIdCount(long organizationId)
getAccountEntryOrganizationRelsByOrganizationIdCount
in interface AccountEntryOrganizationRelLocalService
public int getAccountEntryOrganizationRelsCount()
getAccountEntryOrganizationRelsCount
in interface AccountEntryOrganizationRelLocalService
public int getAccountEntryOrganizationRelsCount(long accountEntryId)
getAccountEntryOrganizationRelsCount
in interface AccountEntryOrganizationRelLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface AccountEntryOrganizationRelLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface AccountEntryOrganizationRelLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface AccountEntryOrganizationRelLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface AccountEntryOrganizationRelLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public boolean hasAccountEntryOrganizationRel(long accountEntryId, long organizationId)
hasAccountEntryOrganizationRel
in interface AccountEntryOrganizationRelLocalService
public void setAccountEntryOrganizationRels(long accountEntryId, long[] organizationIds) throws com.liferay.portal.kernel.exception.PortalException
setAccountEntryOrganizationRels
in interface AccountEntryOrganizationRelLocalService
accountEntryId
- organizationIds
- PortalException
public AccountEntryOrganizationRel updateAccountEntryOrganizationRel(AccountEntryOrganizationRel accountEntryOrganizationRel)
Important: Inspect AccountEntryOrganizationRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateAccountEntryOrganizationRel
in interface AccountEntryOrganizationRelLocalService
accountEntryOrganizationRel
- the account entry organization relpublic AccountEntryOrganizationRelLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<AccountEntryOrganizationRelLocalService>
public void setWrappedService(AccountEntryOrganizationRelLocalService accountEntryOrganizationRelLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<AccountEntryOrganizationRelLocalService>