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 UserIdMapperLocalService
userIdMapper
- the user ID mapperpublic UserIdMapper createUserIdMapper(long userIdMapperId)
createUserIdMapper
in interface UserIdMapperLocalService
userIdMapperId
- the primary key for the new user ID mapperpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface PersistedModelLocalService
deletePersistedModel
in interface UserIdMapperLocalService
PortalException
public UserIdMapper deleteUserIdMapper(long userIdMapperId) throws PortalException
deleteUserIdMapper
in interface UserIdMapperLocalService
userIdMapperId
- 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 UserIdMapperLocalService
userIdMapper
- the user ID mapperpublic void deleteUserIdMappers(long userId)
deleteUserIdMappers
in interface UserIdMapperLocalService
public DynamicQuery dynamicQuery()
dynamicQuery
in interface UserIdMapperLocalService
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
in interface UserIdMapperLocalService
dynamicQuery
- 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 and pagination is required (start
and end
are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.UserIdMapperModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface UserIdMapperLocalService
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> 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 and pagination is required (start
and end
are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.UserIdMapperModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface UserIdMapperLocalService
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(DynamicQuery dynamicQuery)
dynamicQueryCount
in interface UserIdMapperLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount
in interface UserIdMapperLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic UserIdMapper fetchUserIdMapper(long userIdMapperId)
fetchUserIdMapper
in interface UserIdMapperLocalService
public ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface UserIdMapperLocalService
public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface UserIdMapperLocalService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface UserIdMapperLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface UserIdMapperLocalService
PortalException
public UserIdMapper getUserIdMapper(long userIdMapperId) throws PortalException
getUserIdMapper
in interface UserIdMapperLocalService
userIdMapperId
- 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 UserIdMapperLocalService
PortalException
public UserIdMapper getUserIdMapperByExternalUserId(String type, String externalUserId) throws PortalException
getUserIdMapperByExternalUserId
in interface UserIdMapperLocalService
PortalException
public 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 and pagination is required (start
and end
are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.UserIdMapperModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getUserIdMappers
in interface UserIdMapperLocalService
start
- 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 UserIdMapperLocalService
public int getUserIdMappersCount()
getUserIdMappersCount
in interface UserIdMapperLocalService
public UserIdMapper updateUserIdMapper(long userId, String type, String description, String externalUserId)
updateUserIdMapper
in interface UserIdMapperLocalService
public UserIdMapper updateUserIdMapper(UserIdMapper userIdMapper)
updateUserIdMapper
in interface UserIdMapperLocalService
userIdMapper
- the user ID mapperpublic UserIdMapperLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<UserIdMapperLocalService>
public void setWrappedService(UserIdMapperLocalService userIdMapperLocalService)
setWrappedService
in interface ServiceWrapper<UserIdMapperLocalService>