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.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) createSegmentsEntryRole(long segmentsEntryRoleId) Creates a new segments entry role with the primary key.com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(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.voiddeleteSegmentsEntryRoles(long segmentsEntryId) voiddeleteSegmentsEntryRolesByRoleId(long roleId) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsEntryRole>com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(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) intReturns the number of segments entry roles.intgetSegmentsEntryRolesCount(long segmentsEntryId) intgetSegmentsEntryRolesCountByRoleId(long roleId) booleanhasSegmentEntryRole(long segmentsEntryId, long roleId) voidsetSegmentsEntrySiteRoles(long segmentsEntryId, long[] siteRoleIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidsetWrappedService(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, waitMethods 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:
addSegmentsEntryRolein 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:
addSegmentsEntryRolein 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:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
createPersistedModelin interfaceSegmentsEntryRoleLocalService- Throws:
PortalExceptioncom.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:
createSegmentsEntryRolein 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:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
deletePersistedModelin interfaceSegmentsEntryRoleLocalService- Throws:
PortalExceptioncom.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:
deleteSegmentsEntryRolein 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:
deleteSegmentsEntryRolein 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:
deleteSegmentsEntryRolein 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:
deleteSegmentsEntryRolesin interfaceSegmentsEntryRoleLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteSegmentsEntryRolesByRoleId
public void deleteSegmentsEntryRolesByRoleId(long roleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteSegmentsEntryRolesByRoleIdin interfaceSegmentsEntryRoleLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
dslQueryin interfaceSegmentsEntryRoleLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
dslQueryCountin interfaceSegmentsEntryRoleLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceSegmentsEntryRoleLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryRoleModelImpl.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryRoleModelImpl.- Specified by:
dynamicQueryin 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:
dynamicQueryCountin 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:
dynamicQueryCountin 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:
fetchSegmentsEntryRolein interfaceSegmentsEntryRoleLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceSegmentsEntryRoleLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceSegmentsEntryRoleLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
getPersistedModelin interfaceSegmentsEntryRoleLocalService- Throws:
PortalExceptioncom.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:
getSegmentsEntryRolein 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.segments.model.impl.SegmentsEntryRoleModelImpl.- Specified by:
getSegmentsEntryRolesin 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:
getSegmentsEntryRolesin interfaceSegmentsEntryRoleLocalService
-
getSegmentsEntryRolesByRoleId
- Specified by:
getSegmentsEntryRolesByRoleIdin interfaceSegmentsEntryRoleLocalService
-
getSegmentsEntryRolesCount
public int getSegmentsEntryRolesCount()Returns the number of segments entry roles.- Specified by:
getSegmentsEntryRolesCountin interfaceSegmentsEntryRoleLocalService- Returns:
- the number of segments entry roles
-
getSegmentsEntryRolesCount
public int getSegmentsEntryRolesCount(long segmentsEntryId) - Specified by:
getSegmentsEntryRolesCountin interfaceSegmentsEntryRoleLocalService
-
getSegmentsEntryRolesCountByRoleId
public int getSegmentsEntryRolesCountByRoleId(long roleId) - Specified by:
getSegmentsEntryRolesCountByRoleIdin interfaceSegmentsEntryRoleLocalService
-
hasSegmentEntryRole
public boolean hasSegmentEntryRole(long segmentsEntryId, long roleId) - Specified by:
hasSegmentEntryRolein 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:
setSegmentsEntrySiteRolesin 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:
updateSegmentsEntryRolein 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:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsEntryRole> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<SegmentsEntryRole>- Specified by:
getCTPersistencein interfaceSegmentsEntryRoleLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<SegmentsEntryRole>- Specified by:
getModelClassin 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:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<SegmentsEntryRole>- Specified by:
updateWithUnsafeFunctionin interfaceSegmentsEntryRoleLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<SegmentsEntryRoleLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<SegmentsEntryRoleLocalService>
-