public class AccountRoleLocalServiceWrapper extends java.lang.Object implements AccountRoleLocalService, ServiceWrapper<AccountRoleLocalService>
AccountRoleLocalService.AccountRoleLocalService| Constructor and Description |
|---|
AccountRoleLocalServiceWrapper(AccountRoleLocalService accountRoleLocalService) |
| Modifier and Type | Method and Description |
|---|---|
AccountRole |
addAccountRole(AccountRole accountRole)
Adds the account role to the database.
|
AccountRole |
addAccountRole(long userId,
long accountEntryId,
java.lang.String name,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap) |
void |
associateUser(long accountEntryId,
long accountRoleId,
long userId) |
AccountRole |
createAccountRole(long accountRoleId)
Creates a new account role with the primary key.
|
PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
AccountRole |
deleteAccountRole(AccountRole accountRole)
Deletes the account role from the database.
|
AccountRole |
deleteAccountRole(long accountRoleId)
Deletes the account role with the primary key from the database.
|
void |
deleteAccountRolesByCompanyId(long companyId) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
<T> T |
dslQuery(DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(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(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
AccountRole |
fetchAccountRole(long accountRoleId) |
AccountRole |
fetchAccountRoleByRoleId(long roleId) |
AccountRole |
getAccountRole(long accountRoleId)
Returns the account role with the primary key.
|
AccountRole |
getAccountRoleByRoleId(long roleId) |
java.util.List<AccountRole> |
getAccountRoles(int start,
int end)
Returns a range of all the account roles.
|
java.util.List<AccountRole> |
getAccountRoles(long accountEntryId,
long userId) |
java.util.List<AccountRole> |
getAccountRolesByAccountEntryIds(long[] accountEntryIds) |
int |
getAccountRolesCount()
Returns the number of account roles.
|
ActionableDynamicQuery |
getActionableDynamicQuery() |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
AccountRoleLocalService |
getWrappedService() |
BaseModelSearchResult<AccountRole> |
searchAccountRoles(long[] accountEntryIds,
java.lang.String keywords,
int start,
int end,
OrderByComparator<?> orderByComparator) |
BaseModelSearchResult<AccountRole> |
searchAccountRoles(long accountEntryId,
java.lang.String keywords,
int start,
int end,
OrderByComparator<?> orderByComparator) |
void |
setWrappedService(AccountRoleLocalService accountRoleLocalService) |
void |
unassociateUser(long accountEntryId,
long accountRoleId,
long userId) |
AccountRole |
updateAccountRole(AccountRole accountRole)
Updates the account role in the database or adds it if it does not yet exist.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic AccountRoleLocalServiceWrapper(AccountRoleLocalService accountRoleLocalService)
public AccountRole addAccountRole(AccountRole accountRole)
Important: Inspect AccountRoleLocalServiceImpl 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.
addAccountRole in interface AccountRoleLocalServiceaccountRole - the account rolepublic AccountRole addAccountRole(long userId, long accountEntryId, java.lang.String name, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap) throws PortalException
addAccountRole in interface AccountRoleLocalServicePortalExceptionpublic void associateUser(long accountEntryId,
long accountRoleId,
long userId)
throws PortalException
associateUser in interface AccountRoleLocalServicePortalExceptionpublic AccountRole createAccountRole(long accountRoleId)
createAccountRole in interface AccountRoleLocalServiceaccountRoleId - the primary key for the new account rolepublic PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface AccountRoleLocalServicecreatePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic AccountRole deleteAccountRole(AccountRole accountRole) throws PortalException
Important: Inspect AccountRoleLocalServiceImpl 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.
deleteAccountRole in interface AccountRoleLocalServiceaccountRole - the account rolePortalExceptionpublic AccountRole deleteAccountRole(long accountRoleId) throws PortalException
Important: Inspect AccountRoleLocalServiceImpl 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.
deleteAccountRole in interface AccountRoleLocalServiceaccountRoleId - the primary key of the account rolePortalException - if a account role with the primary key could not be foundpublic void deleteAccountRolesByCompanyId(long companyId)
deleteAccountRolesByCompanyId in interface AccountRoleLocalServicepublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface AccountRoleLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(DSLQuery dslQuery)
dslQuery in interface AccountRoleLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface AccountRoleLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface AccountRoleLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(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.AccountRoleModelImpl.
dynamicQuery in interface AccountRoleLocalServicedynamicQuery - 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(DynamicQuery dynamicQuery, int start, int end, 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.AccountRoleModelImpl.
dynamicQuery in interface AccountRoleLocalServicedynamicQuery - 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(DynamicQuery dynamicQuery)
dynamicQueryCount in interface AccountRoleLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface AccountRoleLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic AccountRole fetchAccountRole(long accountRoleId)
fetchAccountRole in interface AccountRoleLocalServicepublic AccountRole fetchAccountRoleByRoleId(long roleId)
fetchAccountRoleByRoleId in interface AccountRoleLocalServicepublic AccountRole getAccountRole(long accountRoleId) throws PortalException
getAccountRole in interface AccountRoleLocalServiceaccountRoleId - the primary key of the account rolePortalException - if a account role with the primary key could not be foundpublic AccountRole getAccountRoleByRoleId(long roleId) throws PortalException
getAccountRoleByRoleId in interface AccountRoleLocalServicePortalExceptionpublic java.util.List<AccountRole> getAccountRoles(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.AccountRoleModelImpl.
getAccountRoles in interface AccountRoleLocalServicestart - the lower bound of the range of account rolesend - the upper bound of the range of account roles (not inclusive)public java.util.List<AccountRole> getAccountRoles(long accountEntryId, long userId) throws PortalException
getAccountRoles in interface AccountRoleLocalServicePortalExceptionpublic java.util.List<AccountRole> getAccountRolesByAccountEntryIds(long[] accountEntryIds)
getAccountRolesByAccountEntryIds in interface AccountRoleLocalServicepublic int getAccountRolesCount()
getAccountRolesCount in interface AccountRoleLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface AccountRoleLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface AccountRoleLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface AccountRoleLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface AccountRoleLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionpublic BaseModelSearchResult<AccountRole> searchAccountRoles(long accountEntryId, java.lang.String keywords, int start, int end, OrderByComparator<?> orderByComparator)
searchAccountRoles in interface AccountRoleLocalServicepublic BaseModelSearchResult<AccountRole> searchAccountRoles(long[] accountEntryIds, java.lang.String keywords, int start, int end, OrderByComparator<?> orderByComparator)
searchAccountRoles in interface AccountRoleLocalServicepublic void unassociateUser(long accountEntryId,
long accountRoleId,
long userId)
throws PortalException
unassociateUser in interface AccountRoleLocalServicePortalExceptionpublic AccountRole updateAccountRole(AccountRole accountRole)
Important: Inspect AccountRoleLocalServiceImpl 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.
updateAccountRole in interface AccountRoleLocalServiceaccountRole - the account rolepublic AccountRoleLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<AccountRoleLocalService>public void setWrappedService(AccountRoleLocalService accountRoleLocalService)
setWrappedService in interface ServiceWrapper<AccountRoleLocalService>