public class UserIdMapperLocalServiceWrapper extends Object implements ServiceWrapper<UserIdMapperLocalService>, UserIdMapperLocalService
UserIdMapperLocalService.UserIdMapperLocalService| Constructor and Description |
|---|
UserIdMapperLocalServiceWrapper(UserIdMapperLocalService userIdMapperLocalService) |
| Modifier and Type | Method and Description |
|---|---|
UserIdMapper |
addUserIdMapper(UserIdMapper userIdMapper)
Adds the user ID mapper to the database.
|
UserIdMapper |
createUserIdMapper(long userIdMapperId)
Creates a new user ID mapper with the primary key.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
UserIdMapper |
deleteUserIdMapper(long userIdMapperId)
Deletes the user ID mapper with the primary key from the database.
|
UserIdMapper |
deleteUserIdMapper(UserIdMapper userIdMapper)
Deletes the user ID mapper from the database.
|
void |
deleteUserIdMappers(long userId) |
DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> 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> 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.
|
UserIdMapper |
fetchUserIdMapper(long userIdMapperId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
UserIdMapper |
getUserIdMapper(long userIdMapperId)
Returns the user ID mapper with the primary key.
|
UserIdMapper |
getUserIdMapper(long userId,
String type) |
UserIdMapper |
getUserIdMapperByExternalUserId(String type,
String externalUserId) |
List<UserIdMapper> |
getUserIdMappers(int start,
int end)
Returns a range of all the user ID mappers.
|
List<UserIdMapper> |
getUserIdMappers(long userId) |
int |
getUserIdMappersCount()
Returns the number of user ID mappers.
|
UserIdMapperLocalService |
getWrappedService() |
void |
setWrappedService(UserIdMapperLocalService userIdMapperLocalService) |
UserIdMapper |
updateUserIdMapper(long userId,
String type,
String description,
String externalUserId) |
UserIdMapper |
updateUserIdMapper(UserIdMapper userIdMapper)
Updates the user ID mapper in the database or adds it if it does not yet exist.
|
public UserIdMapperLocalServiceWrapper(UserIdMapperLocalService userIdMapperLocalService)
public UserIdMapper addUserIdMapper(UserIdMapper userIdMapper)
addUserIdMapper in interface UserIdMapperLocalServiceuserIdMapper - the user ID mapperpublic UserIdMapper createUserIdMapper(long userIdMapperId)
createUserIdMapper in interface UserIdMapperLocalServiceuserIdMapperId - the primary key for the new user ID mapperpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface UserIdMapperLocalServicePortalExceptionpublic UserIdMapper deleteUserIdMapper(long userIdMapperId) throws PortalException
deleteUserIdMapper in interface UserIdMapperLocalServiceuserIdMapperId - the primary key of the user ID mapperPortalException - if a user ID mapper with the primary key could not be foundpublic UserIdMapper deleteUserIdMapper(UserIdMapper userIdMapper)
deleteUserIdMapper in interface UserIdMapperLocalServiceuserIdMapper - the user ID mapperpublic void deleteUserIdMappers(long userId)
deleteUserIdMappers in interface UserIdMapperLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface UserIdMapperLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface UserIdMapperLocalServicedynamicQuery - the dynamic querypublic <T> 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.portal.model.impl.UserIdMapperModelImpl.
dynamicQuery in interface UserIdMapperLocalServicedynamicQuery - 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> 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.portal.model.impl.UserIdMapperModelImpl.
dynamicQuery in interface UserIdMapperLocalServicedynamicQuery - 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 UserIdMapperLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface UserIdMapperLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic UserIdMapper fetchUserIdMapper(long userIdMapperId)
fetchUserIdMapper in interface UserIdMapperLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface UserIdMapperLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface UserIdMapperLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface UserIdMapperLocalServicepublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface UserIdMapperLocalServicePortalExceptionpublic UserIdMapper getUserIdMapper(long userIdMapperId) throws PortalException
getUserIdMapper in interface UserIdMapperLocalServiceuserIdMapperId - the primary key of the user ID mapperPortalException - if a user ID mapper with the primary key could not be foundpublic UserIdMapper getUserIdMapper(long userId, String type) throws PortalException
getUserIdMapper in interface UserIdMapperLocalServicePortalExceptionpublic UserIdMapper getUserIdMapperByExternalUserId(String type, String externalUserId) throws PortalException
getUserIdMapperByExternalUserId in interface UserIdMapperLocalServicePortalExceptionpublic List<UserIdMapper> getUserIdMappers(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.portal.model.impl.UserIdMapperModelImpl.
getUserIdMappers in interface UserIdMapperLocalServicestart - the lower bound of the range of user ID mappersend - the upper bound of the range of user ID mappers (not inclusive)public List<UserIdMapper> getUserIdMappers(long userId)
getUserIdMappers in interface UserIdMapperLocalServicepublic int getUserIdMappersCount()
getUserIdMappersCount in interface UserIdMapperLocalServicepublic UserIdMapper updateUserIdMapper(long userId, String type, String description, String externalUserId)
updateUserIdMapper in interface UserIdMapperLocalServicepublic UserIdMapper updateUserIdMapper(UserIdMapper userIdMapper)
updateUserIdMapper in interface UserIdMapperLocalServiceuserIdMapper - the user ID mapperpublic UserIdMapperLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<UserIdMapperLocalService>public void setWrappedService(UserIdMapperLocalService userIdMapperLocalService)
setWrappedService in interface ServiceWrapper<UserIdMapperLocalService>