Class SegmentsEntryRoleLocalServiceWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<SegmentsEntryRole>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<SegmentsEntryRoleLocalService>
,SegmentsEntryRoleLocalService
SegmentsEntryRoleLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionSegmentsEntryRoleLocalServiceWrapper
(SegmentsEntryRoleLocalService segmentsEntryRoleLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddSegmentsEntryRole
(long segmentsEntryId, long roleId, com.liferay.portal.kernel.service.ServiceContext serviceContext) addSegmentsEntryRole
(SegmentsEntryRole segmentsEntryRole) Adds the segments entry role to the database.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) createSegmentsEntryRole
(long segmentsEntryRoleId) Creates a new segments entry role with the primary key.com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) deleteSegmentsEntryRole
(long segmentsEntryRoleId) Deletes the segments entry role with the primary key from the database.deleteSegmentsEntryRole
(long segmentsEntryId, long roleId) deleteSegmentsEntryRole
(SegmentsEntryRole segmentsEntryRole) Deletes the segments entry role from the database.void
deleteSegmentsEntryRoles
(long segmentsEntryId) void
deleteSegmentsEntryRolesByRoleId
(long roleId) <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.fetchSegmentsEntryRole
(long segmentsEntryRoleId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsEntryRole>
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) getSegmentsEntryRole
(long segmentsEntryRoleId) Returns the segments entry role with the primary key.getSegmentsEntryRoles
(int start, int end) Returns a range of all the segments entry roles.getSegmentsEntryRoles
(long segmentsEntryId) getSegmentsEntryRolesByRoleId
(long roleId) int
Returns the number of segments entry roles.int
getSegmentsEntryRolesCount
(long segmentsEntryId) int
getSegmentsEntryRolesCountByRoleId
(long roleId) boolean
hasSegmentEntryRole
(long segmentsEntryId, long roleId) void
setSegmentsEntrySiteRoles
(long segmentsEntryId, long[] siteRoleIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
setWrappedService
(SegmentsEntryRoleLocalService segmentsEntryRoleLocalService) updateSegmentsEntryRole
(SegmentsEntryRole segmentsEntryRole) Updates the segments entry role in the database or adds it if it does not yet exist.<R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsEntryRole>, R, E> updateUnsafeFunction) 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
-
SegmentsEntryRoleLocalServiceWrapper
public SegmentsEntryRoleLocalServiceWrapper() -
SegmentsEntryRoleLocalServiceWrapper
public SegmentsEntryRoleLocalServiceWrapper(SegmentsEntryRoleLocalService segmentsEntryRoleLocalService)
-
-
Method Details
-
addSegmentsEntryRole
public SegmentsEntryRole addSegmentsEntryRole(long segmentsEntryId, long roleId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addSegmentsEntryRole
in interfaceSegmentsEntryRoleLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addSegmentsEntryRole
Adds the segments entry role to the database. Also notifies the appropriate model listeners.Important: Inspect SegmentsEntryRoleLocalServiceImpl 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:
addSegmentsEntryRole
in interfaceSegmentsEntryRoleLocalService
- Parameters:
segmentsEntryRole
- the segments entry role- Returns:
- the segments entry role that was added
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Specified by:
createPersistedModel
in interfaceSegmentsEntryRoleLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
createSegmentsEntryRole
Creates a new segments entry role with the primary key. Does not add the segments entry role to the database.- Specified by:
createSegmentsEntryRole
in interfaceSegmentsEntryRoleLocalService
- Parameters:
segmentsEntryRoleId
- the primary key for the new segments entry role- Returns:
- the new segments entry role
-
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 interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Specified by:
deletePersistedModel
in interfaceSegmentsEntryRoleLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsEntryRole
public SegmentsEntryRole deleteSegmentsEntryRole(long segmentsEntryRoleId) throws com.liferay.portal.kernel.exception.PortalException Deletes the segments entry role with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect SegmentsEntryRoleLocalServiceImpl 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:
deleteSegmentsEntryRole
in interfaceSegmentsEntryRoleLocalService
- Parameters:
segmentsEntryRoleId
- the primary key of the segments entry role- Returns:
- the segments entry role that was removed
- Throws:
PortalException
- if a segments entry role with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsEntryRole
public SegmentsEntryRole deleteSegmentsEntryRole(long segmentsEntryId, long roleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteSegmentsEntryRole
in interfaceSegmentsEntryRoleLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsEntryRole
Deletes the segments entry role from the database. Also notifies the appropriate model listeners.Important: Inspect SegmentsEntryRoleLocalServiceImpl 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:
deleteSegmentsEntryRole
in interfaceSegmentsEntryRoleLocalService
- Parameters:
segmentsEntryRole
- the segments entry role- Returns:
- the segments entry role that was removed
-
deleteSegmentsEntryRoles
public void deleteSegmentsEntryRoles(long segmentsEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteSegmentsEntryRoles
in interfaceSegmentsEntryRoleLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsEntryRolesByRoleId
public void deleteSegmentsEntryRolesByRoleId(long roleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteSegmentsEntryRolesByRoleId
in interfaceSegmentsEntryRoleLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Specified by:
dslQuery
in interfaceSegmentsEntryRoleLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Specified by:
dslQueryCount
in interfaceSegmentsEntryRoleLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceSegmentsEntryRoleLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceSegmentsEntryRoleLocalService
- 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.segments.model.impl.SegmentsEntryRoleModelImpl
.- Specified by:
dynamicQuery
in interfaceSegmentsEntryRoleLocalService
- 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.segments.model.impl.SegmentsEntryRoleModelImpl
.- Specified by:
dynamicQuery
in interfaceSegmentsEntryRoleLocalService
- 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 interfaceSegmentsEntryRoleLocalService
- 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 interfaceSegmentsEntryRoleLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchSegmentsEntryRole
- Specified by:
fetchSegmentsEntryRole
in interfaceSegmentsEntryRoleLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceSegmentsEntryRoleLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceSegmentsEntryRoleLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceSegmentsEntryRoleLocalService
- 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 interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Specified by:
getPersistedModel
in interfaceSegmentsEntryRoleLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
getSegmentsEntryRole
public SegmentsEntryRole getSegmentsEntryRole(long segmentsEntryRoleId) throws com.liferay.portal.kernel.exception.PortalException Returns the segments entry role with the primary key.- Specified by:
getSegmentsEntryRole
in interfaceSegmentsEntryRoleLocalService
- Parameters:
segmentsEntryRoleId
- the primary key of the segments entry role- Returns:
- the segments entry role
- Throws:
PortalException
- if a segments entry role with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getSegmentsEntryRoles
Returns a range of all the segments entry roles.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.segments.model.impl.SegmentsEntryRoleModelImpl
.- Specified by:
getSegmentsEntryRoles
in interfaceSegmentsEntryRoleLocalService
- Parameters:
start
- the lower bound of the range of segments entry rolesend
- the upper bound of the range of segments entry roles (not inclusive)- Returns:
- the range of segments entry roles
-
getSegmentsEntryRoles
- Specified by:
getSegmentsEntryRoles
in interfaceSegmentsEntryRoleLocalService
-
getSegmentsEntryRolesByRoleId
- Specified by:
getSegmentsEntryRolesByRoleId
in interfaceSegmentsEntryRoleLocalService
-
getSegmentsEntryRolesCount
public int getSegmentsEntryRolesCount()Returns the number of segments entry roles.- Specified by:
getSegmentsEntryRolesCount
in interfaceSegmentsEntryRoleLocalService
- Returns:
- the number of segments entry roles
-
getSegmentsEntryRolesCount
public int getSegmentsEntryRolesCount(long segmentsEntryId) - Specified by:
getSegmentsEntryRolesCount
in interfaceSegmentsEntryRoleLocalService
-
getSegmentsEntryRolesCountByRoleId
public int getSegmentsEntryRolesCountByRoleId(long roleId) - Specified by:
getSegmentsEntryRolesCountByRoleId
in interfaceSegmentsEntryRoleLocalService
-
hasSegmentEntryRole
public boolean hasSegmentEntryRole(long segmentsEntryId, long roleId) - Specified by:
hasSegmentEntryRole
in interfaceSegmentsEntryRoleLocalService
-
setSegmentsEntrySiteRoles
public void setSegmentsEntrySiteRoles(long segmentsEntryId, long[] siteRoleIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
setSegmentsEntrySiteRoles
in interfaceSegmentsEntryRoleLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateSegmentsEntryRole
Updates the segments entry role in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect SegmentsEntryRoleLocalServiceImpl 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:
updateSegmentsEntryRole
in interfaceSegmentsEntryRoleLocalService
- Parameters:
segmentsEntryRole
- the segments entry role- Returns:
- the segments entry role that was updated
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsEntryRole> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<SegmentsEntryRole>
- Specified by:
getCTPersistence
in interfaceSegmentsEntryRoleLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<SegmentsEntryRole>
- Specified by:
getModelClass
in interfaceSegmentsEntryRoleLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsEntryRole>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<SegmentsEntryRole>
- Specified by:
updateWithUnsafeFunction
in interfaceSegmentsEntryRoleLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<SegmentsEntryRoleLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<SegmentsEntryRoleLocalService>
-