public class AccountEntryUserRelLocalServiceWrapper extends java.lang.Object implements AccountEntryUserRelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<AccountEntryUserRelLocalService>
AccountEntryUserRelLocalService
.AccountEntryUserRelLocalService
Constructor and Description |
---|
AccountEntryUserRelLocalServiceWrapper(AccountEntryUserRelLocalService accountEntryUserRelLocalService) |
Modifier and Type | Method and Description |
---|---|
AccountEntryUserRel |
addAccountEntryUserRel(AccountEntryUserRel accountEntryUserRel)
Adds the account entry user rel to the database.
|
AccountEntryUserRel |
addAccountEntryUserRel(long accountEntryId,
long accountUserId) |
AccountEntryUserRel |
addAccountEntryUserRel(long accountEntryId,
long creatorUserId,
java.lang.String screenName,
java.lang.String emailAddress,
java.util.Locale locale,
java.lang.String firstName,
java.lang.String middleName,
java.lang.String lastName,
long prefixId,
long suffixId) |
void |
addAccountEntryUserRels(long accountEntryId,
long[] accountUserIds) |
AccountEntryUserRel |
createAccountEntryUserRel(long accountEntryUserRelId)
Creates a new account entry user rel with the primary key.
|
AccountEntryUserRel |
deleteAccountEntryUserRel(AccountEntryUserRel accountEntryUserRel)
Deletes the account entry user rel from the database.
|
AccountEntryUserRel |
deleteAccountEntryUserRel(long accountEntryUserRelId)
Deletes the account entry user rel with the primary key from the database.
|
void |
deleteAccountEntryUserRels(long accountEntryId,
long[] accountUserIds) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
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.
|
AccountEntryUserRel |
fetchAccountEntryUserRel(long accountEntryUserRelId) |
AccountEntryUserRel |
getAccountEntryUserRel(long accountEntryUserRelId)
Returns the account entry user rel with the primary key.
|
java.util.List<AccountEntryUserRel> |
getAccountEntryUserRels(int start,
int end)
Returns a range of all the account entry user rels.
|
java.util.List<AccountEntryUserRel> |
getAccountEntryUserRelsByAccountEntryId(long accountEntryId) |
java.util.List<AccountEntryUserRel> |
getAccountEntryUserRelsByAccountUserId(long accountUserId) |
int |
getAccountEntryUserRelsCount()
Returns the number of account entry user rels.
|
long |
getAccountEntryUserRelsCountByAccountEntryId(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) |
AccountEntryUserRelLocalService |
getWrappedService() |
boolean |
hasAccountEntryUserRel(long accountEntryId,
long userId) |
void |
setWrappedService(AccountEntryUserRelLocalService accountEntryUserRelLocalService) |
AccountEntryUserRel |
updateAccountEntryUserRel(AccountEntryUserRel accountEntryUserRel)
Updates the account entry user rel in the database or adds it if it does not yet exist.
|
public AccountEntryUserRelLocalServiceWrapper(AccountEntryUserRelLocalService accountEntryUserRelLocalService)
public AccountEntryUserRel addAccountEntryUserRel(AccountEntryUserRel accountEntryUserRel)
addAccountEntryUserRel
in interface AccountEntryUserRelLocalService
accountEntryUserRel
- the account entry user relpublic AccountEntryUserRel addAccountEntryUserRel(long accountEntryId, long accountUserId) throws com.liferay.portal.kernel.exception.PortalException
addAccountEntryUserRel
in interface AccountEntryUserRelLocalService
com.liferay.portal.kernel.exception.PortalException
public AccountEntryUserRel addAccountEntryUserRel(long accountEntryId, long creatorUserId, java.lang.String screenName, java.lang.String emailAddress, java.util.Locale locale, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, long prefixId, long suffixId) throws com.liferay.portal.kernel.exception.PortalException
addAccountEntryUserRel
in interface AccountEntryUserRelLocalService
com.liferay.portal.kernel.exception.PortalException
public void addAccountEntryUserRels(long accountEntryId, long[] accountUserIds) throws com.liferay.portal.kernel.exception.PortalException
addAccountEntryUserRels
in interface AccountEntryUserRelLocalService
com.liferay.portal.kernel.exception.PortalException
public AccountEntryUserRel createAccountEntryUserRel(long accountEntryUserRelId)
createAccountEntryUserRel
in interface AccountEntryUserRelLocalService
accountEntryUserRelId
- the primary key for the new account entry user relpublic AccountEntryUserRel deleteAccountEntryUserRel(AccountEntryUserRel accountEntryUserRel)
deleteAccountEntryUserRel
in interface AccountEntryUserRelLocalService
accountEntryUserRel
- the account entry user relpublic AccountEntryUserRel deleteAccountEntryUserRel(long accountEntryUserRelId) throws com.liferay.portal.kernel.exception.PortalException
deleteAccountEntryUserRel
in interface AccountEntryUserRelLocalService
accountEntryUserRelId
- the primary key of the account entry user relPortalException
- if a account entry user rel with the primary key could not be foundpublic void deleteAccountEntryUserRels(long accountEntryId, long[] accountUserIds) throws com.liferay.portal.kernel.exception.PortalException
deleteAccountEntryUserRels
in interface AccountEntryUserRelLocalService
com.liferay.portal.kernel.exception.PortalException
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 AccountEntryUserRelLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface AccountEntryUserRelLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface AccountEntryUserRelLocalService
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.AccountEntryUserRelModelImpl
.
dynamicQuery
in interface AccountEntryUserRelLocalService
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.AccountEntryUserRelModelImpl
.
dynamicQuery
in interface AccountEntryUserRelLocalService
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 AccountEntryUserRelLocalService
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 AccountEntryUserRelLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic AccountEntryUserRel fetchAccountEntryUserRel(long accountEntryUserRelId)
fetchAccountEntryUserRel
in interface AccountEntryUserRelLocalService
public AccountEntryUserRel getAccountEntryUserRel(long accountEntryUserRelId) throws com.liferay.portal.kernel.exception.PortalException
getAccountEntryUserRel
in interface AccountEntryUserRelLocalService
accountEntryUserRelId
- the primary key of the account entry user relPortalException
- if a account entry user rel with the primary key could not be foundpublic java.util.List<AccountEntryUserRel> getAccountEntryUserRels(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.AccountEntryUserRelModelImpl
.
getAccountEntryUserRels
in interface AccountEntryUserRelLocalService
start
- the lower bound of the range of account entry user relsend
- the upper bound of the range of account entry user rels (not inclusive)public java.util.List<AccountEntryUserRel> getAccountEntryUserRelsByAccountEntryId(long accountEntryId)
getAccountEntryUserRelsByAccountEntryId
in interface AccountEntryUserRelLocalService
public java.util.List<AccountEntryUserRel> getAccountEntryUserRelsByAccountUserId(long accountUserId)
getAccountEntryUserRelsByAccountUserId
in interface AccountEntryUserRelLocalService
public int getAccountEntryUserRelsCount()
getAccountEntryUserRelsCount
in interface AccountEntryUserRelLocalService
public long getAccountEntryUserRelsCountByAccountEntryId(long accountEntryId)
getAccountEntryUserRelsCountByAccountEntryId
in interface AccountEntryUserRelLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface AccountEntryUserRelLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface AccountEntryUserRelLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface AccountEntryUserRelLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface AccountEntryUserRelLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public boolean hasAccountEntryUserRel(long accountEntryId, long userId)
hasAccountEntryUserRel
in interface AccountEntryUserRelLocalService
public AccountEntryUserRel updateAccountEntryUserRel(AccountEntryUserRel accountEntryUserRel)
updateAccountEntryUserRel
in interface AccountEntryUserRelLocalService
accountEntryUserRel
- the account entry user relpublic AccountEntryUserRelLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<AccountEntryUserRelLocalService>
public void setWrappedService(AccountEntryUserRelLocalService accountEntryUserRelLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<AccountEntryUserRelLocalService>