Class DDMStructureLayoutLocalServiceWrapper
- All Implemented Interfaces:
DDMStructureLayoutLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<DDMStructureLayout>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<DDMStructureLayoutLocalService>
DDMStructureLayoutLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionDDMStructureLayoutLocalServiceWrapper
(DDMStructureLayoutLocalService ddmStructureLayoutLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddDDMStructureLayout
(DDMStructureLayout ddmStructureLayout) Adds the ddm structure layout to the database.addStructureLayout
(long userId, long groupId, long structureVersionId, DDMFormLayout ddmFormLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.addStructureLayout
(long userId, long groupId, long classNameId, String structureLayoutKey, long structureVersionId, DDMFormLayout ddmFormLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) addStructureLayout
(long userId, long groupId, long classNameId, String structureLayoutKey, long structureVersionId, Map<Locale, String> name, Map<Locale, String> description, String definition, com.liferay.portal.kernel.service.ServiceContext serviceContext) createDDMStructureLayout
(long structureLayoutId) Creates a new ddm structure layout with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteDDMStructureLayout
(long structureLayoutId) Deletes the ddm structure layout with the primary key from the database.deleteDDMStructureLayout
(DDMStructureLayout ddmStructureLayout) Deletes the ddm structure layout from the database.void
deleteDDMStructureLayouts
(long classNameId, DDMStructureVersion ddmStructureVersion) com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) void
deleteStructureLayout
(long structureLayoutId) void
deleteStructureLayout
(DDMStructureLayout structureLayout) <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.fetchDDMStructureLayout
(long structureLayoutId) fetchDDMStructureLayoutByUuidAndGroupId
(String uuid, long groupId) Returns the ddm structure layout matching the UUID and group.fetchStructureLayout
(long structureLayoutId) fetchStructureLayout
(long groupId, long classNameId, String structureLayoutKey) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMStructureLayout>
getDDMStructureLayout
(long structureLayoutId) Returns the ddm structure layout with the primary key.getDDMStructureLayoutByUuidAndGroupId
(String uuid, long groupId) Returns the ddm structure layout matching the UUID and group.getDDMStructureLayouts
(int start, int end) Returns a range of all the ddm structure layouts.getDDMStructureLayoutsByUuidAndCompanyId
(String uuid, long companyId) Returns all the ddm structure layouts matching the UUID and company.getDDMStructureLayoutsByUuidAndCompanyId
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns a range of ddm structure layouts matching the UUID and company.int
Returns the number of ddm structure layouts.com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) getStructureLayout
(long structureLayoutId) getStructureLayout
(long groupId, long classNameId, String structureLayoutKey) getStructureLayoutByStructureVersionId
(long structureVersionId) getStructureLayoutDDMFormLayout
(DDMStructureLayout structureLayout) getStructureLayouts
(long groupId, int start, int end) getStructureLayouts
(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) getStructureLayouts
(long groupId, long classNameId, long structureVersionId) getStructureLayouts
(long groupId, long classNameId, long structureVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) int
getStructureLayoutsCount
(long groupId) int
getStructureLayoutsCount
(long groupId, long classNameId) int
getStructureLayoutsCount
(long groupId, long classNameId, long structureVersionId) search
(long companyId, long[] groupIds, long classNameId, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) int
searchCount
(long companyId, long[] groupIds, long classNameId, String keywords) void
setWrappedService
(DDMStructureLayoutLocalService ddmStructureLayoutLocalService) updateDDMStructureLayout
(DDMStructureLayout ddmStructureLayout) Updates the ddm structure layout in the database or adds it if it does not yet exist.updateStructureLayout
(long structureLayoutId, long structureVersionId, Map<Locale, String> name, Map<Locale, String> description, String definition, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateStructureLayout
(long structureLayoutId, DDMFormLayout ddmFormLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) <R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMStructureLayout>, 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
-
DDMStructureLayoutLocalServiceWrapper
public DDMStructureLayoutLocalServiceWrapper() -
DDMStructureLayoutLocalServiceWrapper
public DDMStructureLayoutLocalServiceWrapper(DDMStructureLayoutLocalService ddmStructureLayoutLocalService)
-
-
Method Details
-
addDDMStructureLayout
Adds the ddm structure layout to the database. Also notifies the appropriate model listeners.Important: Inspect DDMStructureLayoutLocalServiceImpl 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:
addDDMStructureLayout
in interfaceDDMStructureLayoutLocalService
- Parameters:
ddmStructureLayout
- the ddm structure layout- Returns:
- the ddm structure layout that was added
-
addStructureLayout
@Deprecated public DDMStructureLayout addStructureLayout(long userId, long groupId, long structureVersionId, DDMFormLayout ddmFormLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x), replaced byaddStructureLayout(long, long, long, String, long, DDMFormLayout, ServiceContext)
- Specified by:
addStructureLayout
in interfaceDDMStructureLayoutLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addStructureLayout
public DDMStructureLayout addStructureLayout(long userId, long groupId, long classNameId, String structureLayoutKey, long structureVersionId, DDMFormLayout ddmFormLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addStructureLayout
in interfaceDDMStructureLayoutLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addStructureLayout
public DDMStructureLayout addStructureLayout(long userId, long groupId, long classNameId, String structureLayoutKey, long structureVersionId, Map<Locale, String> name, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> description, String definition, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addStructureLayout
in interfaceDDMStructureLayoutLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createDDMStructureLayout
Creates a new ddm structure layout with the primary key. Does not add the ddm structure layout to the database.- Specified by:
createDDMStructureLayout
in interfaceDDMStructureLayoutLocalService
- Parameters:
structureLayoutId
- the primary key for the new ddm structure layout- Returns:
- the new ddm structure layout
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceDDMStructureLayoutLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteDDMStructureLayout
Deletes the ddm structure layout from the database. Also notifies the appropriate model listeners.Important: Inspect DDMStructureLayoutLocalServiceImpl 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:
deleteDDMStructureLayout
in interfaceDDMStructureLayoutLocalService
- Parameters:
ddmStructureLayout
- the ddm structure layout- Returns:
- the ddm structure layout that was removed
-
deleteDDMStructureLayout
public DDMStructureLayout deleteDDMStructureLayout(long structureLayoutId) throws com.liferay.portal.kernel.exception.PortalException Deletes the ddm structure layout with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect DDMStructureLayoutLocalServiceImpl 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:
deleteDDMStructureLayout
in interfaceDDMStructureLayoutLocalService
- Parameters:
structureLayoutId
- the primary key of the ddm structure layout- Returns:
- the ddm structure layout that was removed
- Throws:
PortalException
- if a ddm structure layout with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteDDMStructureLayouts
public void deleteDDMStructureLayouts(long classNameId, DDMStructureVersion ddmStructureVersion) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteDDMStructureLayouts
in interfaceDDMStructureLayoutLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
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 interfaceDDMStructureLayoutLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteStructureLayout
- Specified by:
deleteStructureLayout
in interfaceDDMStructureLayoutLocalService
-
deleteStructureLayout
public void deleteStructureLayout(long structureLayoutId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteStructureLayout
in interfaceDDMStructureLayoutLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceDDMStructureLayoutLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceDDMStructureLayoutLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceDDMStructureLayoutLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceDDMStructureLayoutLocalService
- 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.dynamic.data.mapping.model.impl.DDMStructureLayoutModelImpl
.- Specified by:
dynamicQuery
in interfaceDDMStructureLayoutLocalService
- 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.dynamic.data.mapping.model.impl.DDMStructureLayoutModelImpl
.- Specified by:
dynamicQuery
in interfaceDDMStructureLayoutLocalService
- 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 interfaceDDMStructureLayoutLocalService
- 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 interfaceDDMStructureLayoutLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchDDMStructureLayout
- Specified by:
fetchDDMStructureLayout
in interfaceDDMStructureLayoutLocalService
-
fetchDDMStructureLayoutByUuidAndGroupId
Returns the ddm structure layout matching the UUID and group.- Specified by:
fetchDDMStructureLayoutByUuidAndGroupId
in interfaceDDMStructureLayoutLocalService
- Parameters:
uuid
- the ddm structure layout's UUIDgroupId
- the primary key of the group- Returns:
- the matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
fetchStructureLayout
- Specified by:
fetchStructureLayout
in interfaceDDMStructureLayoutLocalService
-
fetchStructureLayout
public DDMStructureLayout fetchStructureLayout(long groupId, long classNameId, String structureLayoutKey) - Specified by:
fetchStructureLayout
in interfaceDDMStructureLayoutLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceDDMStructureLayoutLocalService
-
getDDMStructureLayout
public DDMStructureLayout getDDMStructureLayout(long structureLayoutId) throws com.liferay.portal.kernel.exception.PortalException Returns the ddm structure layout with the primary key.- Specified by:
getDDMStructureLayout
in interfaceDDMStructureLayoutLocalService
- Parameters:
structureLayoutId
- the primary key of the ddm structure layout- Returns:
- the ddm structure layout
- Throws:
PortalException
- if a ddm structure layout with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getDDMStructureLayoutByUuidAndGroupId
public DDMStructureLayout getDDMStructureLayoutByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the ddm structure layout matching the UUID and group.- Specified by:
getDDMStructureLayoutByUuidAndGroupId
in interfaceDDMStructureLayoutLocalService
- Parameters:
uuid
- the ddm structure layout's UUIDgroupId
- the primary key of the group- Returns:
- the matching ddm structure layout
- Throws:
PortalException
- if a matching ddm structure layout could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getDDMStructureLayouts
Returns a range of all the ddm structure layouts.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.dynamic.data.mapping.model.impl.DDMStructureLayoutModelImpl
.- Specified by:
getDDMStructureLayouts
in interfaceDDMStructureLayoutLocalService
- Parameters:
start
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)- Returns:
- the range of ddm structure layouts
-
getDDMStructureLayoutsByUuidAndCompanyId
public List<DDMStructureLayout> getDDMStructureLayoutsByUuidAndCompanyId(String uuid, long companyId) Returns all the ddm structure layouts matching the UUID and company.- Specified by:
getDDMStructureLayoutsByUuidAndCompanyId
in interfaceDDMStructureLayoutLocalService
- Parameters:
uuid
- the UUID of the ddm structure layoutscompanyId
- the primary key of the company- Returns:
- the matching ddm structure layouts, or an empty list if no matches were found
-
getDDMStructureLayoutsByUuidAndCompanyId
public List<DDMStructureLayout> getDDMStructureLayoutsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns a range of ddm structure layouts matching the UUID and company.- Specified by:
getDDMStructureLayoutsByUuidAndCompanyId
in interfaceDDMStructureLayoutLocalService
- Parameters:
uuid
- the UUID of the ddm structure layoutscompanyId
- the primary key of the companystart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the range of matching ddm structure layouts, or an empty list if no matches were found
-
getDDMStructureLayoutsCount
public int getDDMStructureLayoutsCount()Returns the number of ddm structure layouts.- Specified by:
getDDMStructureLayoutsCount
in interfaceDDMStructureLayoutLocalService
- Returns:
- the number of ddm structure layouts
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceDDMStructureLayoutLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceDDMStructureLayoutLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceDDMStructureLayoutLocalService
- 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 interfaceDDMStructureLayoutLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
getStructureLayout
public DDMStructureLayout getStructureLayout(long structureLayoutId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getStructureLayout
in interfaceDDMStructureLayoutLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStructureLayout
public DDMStructureLayout getStructureLayout(long groupId, long classNameId, String structureLayoutKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getStructureLayout
in interfaceDDMStructureLayoutLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStructureLayoutByStructureVersionId
public DDMStructureLayout getStructureLayoutByStructureVersionId(long structureVersionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getStructureLayoutByStructureVersionId
in interfaceDDMStructureLayoutLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStructureLayoutDDMFormLayout
- Specified by:
getStructureLayoutDDMFormLayout
in interfaceDDMStructureLayoutLocalService
-
getStructureLayouts
public List<DDMStructureLayout> getStructureLayouts(long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getStructureLayouts
in interfaceDDMStructureLayoutLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStructureLayouts
public List<DDMStructureLayout> getStructureLayouts(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) - Specified by:
getStructureLayouts
in interfaceDDMStructureLayoutLocalService
-
getStructureLayouts
public List<DDMStructureLayout> getStructureLayouts(long groupId, long classNameId, long structureVersionId) - Specified by:
getStructureLayouts
in interfaceDDMStructureLayoutLocalService
-
getStructureLayouts
public List<DDMStructureLayout> getStructureLayouts(long groupId, long classNameId, long structureVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) - Specified by:
getStructureLayouts
in interfaceDDMStructureLayoutLocalService
-
getStructureLayoutsCount
public int getStructureLayoutsCount(long groupId) - Specified by:
getStructureLayoutsCount
in interfaceDDMStructureLayoutLocalService
-
getStructureLayoutsCount
public int getStructureLayoutsCount(long groupId, long classNameId) - Specified by:
getStructureLayoutsCount
in interfaceDDMStructureLayoutLocalService
-
getStructureLayoutsCount
public int getStructureLayoutsCount(long groupId, long classNameId, long structureVersionId) - Specified by:
getStructureLayoutsCount
in interfaceDDMStructureLayoutLocalService
-
search
public List<DDMStructureLayout> search(long companyId, long[] groupIds, long classNameId, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
search
in interfaceDDMStructureLayoutLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCount
public int searchCount(long companyId, long[] groupIds, long classNameId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCount
in interfaceDDMStructureLayoutLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDDMStructureLayout
Updates the ddm structure layout in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect DDMStructureLayoutLocalServiceImpl 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:
updateDDMStructureLayout
in interfaceDDMStructureLayoutLocalService
- Parameters:
ddmStructureLayout
- the ddm structure layout- Returns:
- the ddm structure layout that was updated
-
updateStructureLayout
public DDMStructureLayout updateStructureLayout(long structureLayoutId, DDMFormLayout ddmFormLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStructureLayout
in interfaceDDMStructureLayoutLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStructureLayout
public DDMStructureLayout updateStructureLayout(long structureLayoutId, long structureVersionId, Map<Locale, String> name, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> description, String definition, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
updateStructureLayout
in interfaceDDMStructureLayoutLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
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<DDMStructureLayout> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMStructureLayout>
- Specified by:
getCTPersistence
in interfaceDDMStructureLayoutLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMStructureLayout>
- Specified by:
getModelClass
in interfaceDDMStructureLayoutLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMStructureLayout>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMStructureLayout>
- Specified by:
updateWithUnsafeFunction
in interfaceDDMStructureLayoutLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<DDMStructureLayoutLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<DDMStructureLayoutLocalService>
-
addStructureLayout(long, long, long, String, long, DDMFormLayout, ServiceContext)