Class LayoutSetBranchLocalServiceWrapper
- All Implemented Interfaces:
BaseLocalService
,LayoutSetBranchLocalService
,PersistedModelLocalService
,ServiceWrapper<LayoutSetBranchLocalService>
LayoutSetBranchLocalService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionLayoutSetBranchLocalServiceWrapper
(LayoutSetBranchLocalService layoutSetBranchLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddLayoutSetBranch
(long userId, long groupId, boolean privateLayout, String name, String description, boolean master, long copyLayoutSetBranchId, ServiceContext serviceContext) addLayoutSetBranch
(LayoutSetBranch layoutSetBranch) Adds the layout set branch to the database.createLayoutSetBranch
(long layoutSetBranchId) Creates a new layout set branch with the primary key.createPersistedModel
(Serializable primaryKeyObj) deleteLayoutSetBranch
(long layoutSetBranchId) Deletes the layout set branch with the primary key from the database.deleteLayoutSetBranch
(long currentLayoutPlid, long layoutSetBranchId) deleteLayoutSetBranch
(long currentLayoutPlid, LayoutSetBranch layoutSetBranch, boolean includeMaster) deleteLayoutSetBranch
(LayoutSetBranch layoutSetBranch) Deletes the layout set branch from the database.deleteLayoutSetBranch
(LayoutSetBranch layoutSetBranch, boolean includeMaster) void
deleteLayoutSetBranches
(long groupId, boolean privateLayout) void
deleteLayoutSetBranches
(long groupId, boolean privateLayout, boolean includeMaster) deletePersistedModel
(PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) <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.fetchLayoutSetBranch
(long layoutSetBranchId) fetchLayoutSetBranch
(long groupId, boolean privateLayout, String name) getLayoutSetBranch
(long layoutSetBranchId) Returns the layout set branch with the primary key.getLayoutSetBranch
(long groupId, boolean privateLayout, String name) getLayoutSetBranches
(long groupId, boolean privateLayout) getLayoutSetBranchs
(int start, int end) Returns a range of all the layout set branches.int
Returns the number of layout set branches.getMasterLayoutSetBranch
(long groupId, boolean privateLayout) Returns the OSGi service identifier.getPersistedModel
(Serializable primaryKeyObj) getUserLayoutSetBranch
(long userId, long groupId, boolean privateLayout, long layoutSetId, long layoutSetBranchId) mergeLayoutSetBranch
(long layoutSetBranchId, long mergeLayoutSetBranchId, ServiceContext serviceContext) void
setWrappedService
(LayoutSetBranchLocalService layoutSetBranchLocalService) updateLayoutSetBranch
(long layoutSetBranchId, String name, String description, ServiceContext serviceContext) updateLayoutSetBranch
(LayoutSetBranch layoutSetBranch) Updates the layout set branch in the database or adds it if it does not yet exist.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
-
LayoutSetBranchLocalServiceWrapper
public LayoutSetBranchLocalServiceWrapper() -
LayoutSetBranchLocalServiceWrapper
-
-
Method Details
-
addLayoutSetBranch
Adds the layout set branch to the database. Also notifies the appropriate model listeners.Important: Inspect LayoutSetBranchLocalServiceImpl 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:
addLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Parameters:
layoutSetBranch
- the layout set branch- Returns:
- the layout set branch that was added
-
addLayoutSetBranch
public LayoutSetBranch addLayoutSetBranch(long userId, long groupId, boolean privateLayout, String name, String description, boolean master, long copyLayoutSetBranchId, ServiceContext serviceContext) throws PortalException - Specified by:
addLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Throws:
PortalException
-
createLayoutSetBranch
Creates a new layout set branch with the primary key. Does not add the layout set branch to the database.- Specified by:
createLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Parameters:
layoutSetBranchId
- the primary key for the new layout set branch- Returns:
- the new layout set branch
-
createPersistedModel
- Specified by:
createPersistedModel
in interfaceLayoutSetBranchLocalService
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
deleteLayoutSetBranch
public LayoutSetBranch deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch) throws PortalException Deletes the layout set branch from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutSetBranchLocalServiceImpl 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:
deleteLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Parameters:
layoutSetBranch
- the layout set branch- Returns:
- the layout set branch that was removed
- Throws:
PortalException
PortalException
-
deleteLayoutSetBranch
public LayoutSetBranch deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch, boolean includeMaster) throws PortalException - Specified by:
deleteLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Throws:
PortalException
-
deleteLayoutSetBranch
Deletes the layout set branch with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutSetBranchLocalServiceImpl 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:
deleteLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Parameters:
layoutSetBranchId
- the primary key of the layout set branch- Returns:
- the layout set branch that was removed
- Throws:
PortalException
- if a layout set branch with the primary key could not be foundPortalException
-
deleteLayoutSetBranch
public LayoutSetBranch deleteLayoutSetBranch(long currentLayoutPlid, LayoutSetBranch layoutSetBranch, boolean includeMaster) throws PortalException - Specified by:
deleteLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Throws:
PortalException
-
deleteLayoutSetBranch
public LayoutSetBranch deleteLayoutSetBranch(long currentLayoutPlid, long layoutSetBranchId) throws PortalException - Specified by:
deleteLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Throws:
PortalException
-
deleteLayoutSetBranches
- Specified by:
deleteLayoutSetBranches
in interfaceLayoutSetBranchLocalService
- Throws:
PortalException
-
deleteLayoutSetBranches
public void deleteLayoutSetBranches(long groupId, boolean privateLayout, boolean includeMaster) throws PortalException - Specified by:
deleteLayoutSetBranches
in interfaceLayoutSetBranchLocalService
- Throws:
PortalException
-
deletePersistedModel
- Specified by:
deletePersistedModel
in interfaceLayoutSetBranchLocalService
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceLayoutSetBranchLocalService
- Specified by:
dslQuery
in interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceLayoutSetBranchLocalService
- Specified by:
dslQueryCount
in interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQuery
in interfaceLayoutSetBranchLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceLayoutSetBranchLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
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.portal.model.impl.LayoutSetBranchModelImpl
.- Specified by:
dynamicQuery
in interfaceLayoutSetBranchLocalService
- 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(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.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.portal.model.impl.LayoutSetBranchModelImpl
.- Specified by:
dynamicQuery
in interfaceLayoutSetBranchLocalService
- 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
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceLayoutSetBranchLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceLayoutSetBranchLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchLayoutSetBranch
- Specified by:
fetchLayoutSetBranch
in interfaceLayoutSetBranchLocalService
-
fetchLayoutSetBranch
- Specified by:
fetchLayoutSetBranch
in interfaceLayoutSetBranchLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQuery
in interfaceLayoutSetBranchLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQuery
in interfaceLayoutSetBranchLocalService
-
getLayoutSetBranch
Returns the layout set branch with the primary key.- Specified by:
getLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Parameters:
layoutSetBranchId
- the primary key of the layout set branch- Returns:
- the layout set branch
- Throws:
PortalException
- if a layout set branch with the primary key could not be foundPortalException
-
getLayoutSetBranch
public LayoutSetBranch getLayoutSetBranch(long groupId, boolean privateLayout, String name) throws PortalException - Specified by:
getLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Throws:
PortalException
-
getLayoutSetBranches
- Specified by:
getLayoutSetBranches
in interfaceLayoutSetBranchLocalService
-
getLayoutSetBranchs
Returns a range of all the layout set branches.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.portal.model.impl.LayoutSetBranchModelImpl
.- Specified by:
getLayoutSetBranchs
in interfaceLayoutSetBranchLocalService
- Parameters:
start
- the lower bound of the range of layout set branchesend
- the upper bound of the range of layout set branches (not inclusive)- Returns:
- the range of layout set branches
-
getLayoutSetBranchsCount
public int getLayoutSetBranchsCount()Returns the number of layout set branches.- Specified by:
getLayoutSetBranchsCount
in interfaceLayoutSetBranchLocalService
- Returns:
- the number of layout set branches
-
getMasterLayoutSetBranch
public LayoutSetBranch getMasterLayoutSetBranch(long groupId, boolean privateLayout) throws PortalException - Specified by:
getMasterLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceLayoutSetBranchLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModel
in interfaceLayoutSetBranchLocalService
- Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
getUserLayoutSetBranch
public LayoutSetBranch getUserLayoutSetBranch(long userId, long groupId, boolean privateLayout, long layoutSetId, long layoutSetBranchId) throws PortalException - Specified by:
getUserLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Throws:
PortalException
-
mergeLayoutSetBranch
public LayoutSetBranch mergeLayoutSetBranch(long layoutSetBranchId, long mergeLayoutSetBranchId, ServiceContext serviceContext) throws PortalException - Specified by:
mergeLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Throws:
PortalException
-
updateLayoutSetBranch
Updates the layout set branch in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect LayoutSetBranchLocalServiceImpl 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:
updateLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Parameters:
layoutSetBranch
- the layout set branch- Returns:
- the layout set branch that was updated
-
updateLayoutSetBranch
public LayoutSetBranch updateLayoutSetBranch(long layoutSetBranchId, String name, String description, ServiceContext serviceContext) throws PortalException - Specified by:
updateLayoutSetBranch
in interfaceLayoutSetBranchLocalService
- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistence
in interfacePersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<LayoutSetBranchLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<LayoutSetBranchLocalService>
-