Class AccountGroupLocalServiceWrapper
- All Implemented Interfaces:
AccountGroupLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<AccountGroupLocalService>
AccountGroupLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionAccountGroupLocalServiceWrapper
(AccountGroupLocalService accountGroupLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddAccountGroup
(long userId, String description, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) addAccountGroup
(AccountGroup accountGroup) Adds the account group to the database.checkGuestAccountGroup
(long companyId) createAccountGroup
(long accountGroupId) Creates a new account group with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteAccountGroup
(long accountGroupId) Deletes the account group with the primary key from the database.deleteAccountGroup
(AccountGroup accountGroup) Deletes the account group from the database.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
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> 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> 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.fetchAccountGroup
(long accountGroupId) fetchAccountGroupByExternalReferenceCode
(String externalReferenceCode, long companyId) fetchAccountGroupByUuidAndCompanyId
(String uuid, long companyId) Returns the account group with the matching UUID and company.getAccountGroup
(long accountGroupId) Returns the account group with the primary key.getAccountGroupByExternalReferenceCode
(String externalReferenceCode, long companyId) getAccountGroupByUuidAndCompanyId
(String uuid, long companyId) Returns the account group with the matching UUID and company.long[]
getAccountGroupIds
(long accountEntryId) getAccountGroups
(int start, int end) Returns a range of all the account groups.getAccountGroups
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) getAccountGroups
(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) getAccountGroupsByAccountEntryId
(long accountEntryId, int start, int end) getAccountGroupsByAccountGroupId
(long[] accountGroupIds) int
Returns the number of account groups.int
getAccountGroupsCount
(long companyId) long
getAccountGroupsCount
(long companyId, String name) int
getAccountGroupsCountByAccountEntryId
(long accountEntryId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
getDefaultAccountGroup
(long companyId) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) boolean
hasDefaultAccountGroup
(long companyId) com.liferay.portal.kernel.search.BaseModelSearchResult<AccountGroup>
searchAccountGroups
(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) com.liferay.portal.kernel.search.BaseModelSearchResult<AccountGroup>
searchAccountGroups
(long companyId, String keywords, LinkedHashMap<String, Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) void
setWrappedService
(AccountGroupLocalService accountGroupLocalService) updateAccountGroup
(long accountGroupId, String description, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateAccountGroup
(AccountGroup accountGroup) Updates the account group in the database or adds it if it does not yet exist.updateExternalReferenceCode
(long accountGroupId, String externalReferenceCode) updateExternalReferenceCode
(AccountGroup accountGroup, String externalReferenceCode) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
AccountGroupLocalServiceWrapper
public AccountGroupLocalServiceWrapper() -
AccountGroupLocalServiceWrapper
-
-
Method Details
-
addAccountGroup
Adds the account group to the database. Also notifies the appropriate model listeners.Important: Inspect AccountGroupLocalServiceImpl 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.
- Specified by:
addAccountGroup
in interfaceAccountGroupLocalService
- Parameters:
accountGroup
- the account group- Returns:
- the account group that was added
-
addAccountGroup
public AccountGroup addAccountGroup(long userId, String description, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addAccountGroup
in interfaceAccountGroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
checkGuestAccountGroup
public AccountGroup checkGuestAccountGroup(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
checkGuestAccountGroup
in interfaceAccountGroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createAccountGroup
Creates a new account group with the primary key. Does not add the account group to the database.- Specified by:
createAccountGroup
in interfaceAccountGroupLocalService
- Parameters:
accountGroupId
- the primary key for the new account group- Returns:
- the new account group
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceAccountGroupLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteAccountGroup
public AccountGroup deleteAccountGroup(AccountGroup accountGroup) throws com.liferay.portal.kernel.exception.PortalException Deletes the account group from the database. Also notifies the appropriate model listeners.Important: Inspect AccountGroupLocalServiceImpl 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.
- Specified by:
deleteAccountGroup
in interfaceAccountGroupLocalService
- Parameters:
accountGroup
- the account group- Returns:
- the account group that was removed
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteAccountGroup
public AccountGroup deleteAccountGroup(long accountGroupId) throws com.liferay.portal.kernel.exception.PortalException Deletes the account group with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect AccountGroupLocalServiceImpl 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.
- Specified by:
deleteAccountGroup
in interfaceAccountGroupLocalService
- Parameters:
accountGroupId
- the primary key of the account group- Returns:
- the account group that was removed
- Throws:
PortalException
- if a account group with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceAccountGroupLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceAccountGroupLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceAccountGroupLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceAccountGroupLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceAccountGroupLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.account.model.impl.AccountGroupModelImpl
.- Specified by:
dynamicQuery
in interfaceAccountGroupLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.account.model.impl.AccountGroupModelImpl
.- Specified by:
dynamicQuery
in interfaceAccountGroupLocalService
- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceAccountGroupLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public 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.- Specified by:
dynamicQueryCount
in interfaceAccountGroupLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchAccountGroup
- Specified by:
fetchAccountGroup
in interfaceAccountGroupLocalService
-
fetchAccountGroupByExternalReferenceCode
public AccountGroup fetchAccountGroupByExternalReferenceCode(String externalReferenceCode, long companyId) - Specified by:
fetchAccountGroupByExternalReferenceCode
in interfaceAccountGroupLocalService
-
fetchAccountGroupByUuidAndCompanyId
Returns the account group with the matching UUID and company.- Specified by:
fetchAccountGroupByUuidAndCompanyId
in interfaceAccountGroupLocalService
- Parameters:
uuid
- the account group's UUIDcompanyId
- the primary key of the company- Returns:
- the matching account group, or
null
if a matching account group could not be found
-
getAccountGroup
public AccountGroup getAccountGroup(long accountGroupId) throws com.liferay.portal.kernel.exception.PortalException Returns the account group with the primary key.- Specified by:
getAccountGroup
in interfaceAccountGroupLocalService
- Parameters:
accountGroupId
- the primary key of the account group- Returns:
- the account group
- Throws:
PortalException
- if a account group with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getAccountGroupByExternalReferenceCode
public AccountGroup getAccountGroupByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getAccountGroupByExternalReferenceCode
in interfaceAccountGroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAccountGroupByUuidAndCompanyId
public AccountGroup getAccountGroupByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException Returns the account group with the matching UUID and company.- Specified by:
getAccountGroupByUuidAndCompanyId
in interfaceAccountGroupLocalService
- Parameters:
uuid
- the account group's UUIDcompanyId
- the primary key of the company- Returns:
- the matching account group
- Throws:
PortalException
- if a matching account group could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getAccountGroupIds
public long[] getAccountGroupIds(long accountEntryId) - Specified by:
getAccountGroupIds
in interfaceAccountGroupLocalService
-
getAccountGroups
Returns a range of all the account groups.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.account.model.impl.AccountGroupModelImpl
.- Specified by:
getAccountGroups
in interfaceAccountGroupLocalService
- Parameters:
start
- the lower bound of the range of account groupsend
- the upper bound of the range of account groups (not inclusive)- Returns:
- the range of account groups
-
getAccountGroups
public List<AccountGroup> getAccountGroups(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) - Specified by:
getAccountGroups
in interfaceAccountGroupLocalService
-
getAccountGroups
public List<AccountGroup> getAccountGroups(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) - Specified by:
getAccountGroups
in interfaceAccountGroupLocalService
-
getAccountGroupsByAccountEntryId
- Specified by:
getAccountGroupsByAccountEntryId
in interfaceAccountGroupLocalService
-
getAccountGroupsByAccountGroupId
- Specified by:
getAccountGroupsByAccountGroupId
in interfaceAccountGroupLocalService
-
getAccountGroupsCount
public int getAccountGroupsCount()Returns the number of account groups.- Specified by:
getAccountGroupsCount
in interfaceAccountGroupLocalService
- Returns:
- the number of account groups
-
getAccountGroupsCount
public int getAccountGroupsCount(long companyId) - Specified by:
getAccountGroupsCount
in interfaceAccountGroupLocalService
-
getAccountGroupsCount
- Specified by:
getAccountGroupsCount
in interfaceAccountGroupLocalService
-
getAccountGroupsCountByAccountEntryId
public int getAccountGroupsCountByAccountEntryId(long accountEntryId) - Specified by:
getAccountGroupsCountByAccountEntryId
in interfaceAccountGroupLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceAccountGroupLocalService
-
getDefaultAccountGroup
- Specified by:
getDefaultAccountGroup
in interfaceAccountGroupLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceAccountGroupLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceAccountGroupLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceAccountGroupLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceAccountGroupLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
hasDefaultAccountGroup
public boolean hasDefaultAccountGroup(long companyId) - Specified by:
hasDefaultAccountGroup
in interfaceAccountGroupLocalService
-
searchAccountGroups
public com.liferay.portal.kernel.search.BaseModelSearchResult<AccountGroup> searchAccountGroups(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) - Specified by:
searchAccountGroups
in interfaceAccountGroupLocalService
-
searchAccountGroups
public com.liferay.portal.kernel.search.BaseModelSearchResult<AccountGroup> searchAccountGroups(long companyId, String keywords, LinkedHashMap<String, Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroup> orderByComparator) - Specified by:
searchAccountGroups
in interfaceAccountGroupLocalService
-
updateAccountGroup
Updates the account group in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect AccountGroupLocalServiceImpl 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.
- Specified by:
updateAccountGroup
in interfaceAccountGroupLocalService
- Parameters:
accountGroup
- the account group- Returns:
- the account group that was updated
-
updateAccountGroup
public AccountGroup updateAccountGroup(long accountGroupId, String description, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateAccountGroup
in interfaceAccountGroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public AccountGroup updateExternalReferenceCode(AccountGroup accountGroup, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExternalReferenceCode
in interfaceAccountGroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public AccountGroup updateExternalReferenceCode(long accountGroupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExternalReferenceCode
in interfaceAccountGroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<AccountGroupLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<AccountGroupLocalService>
-