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.PersistedModelcreatePersistedModel(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.voiddeleteDDMStructureLayouts(long classNameId, DDMStructureVersion ddmStructureVersion) com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) voiddeleteStructureLayout(long structureLayoutId) voiddeleteStructureLayout(DDMStructureLayout structureLayout) <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.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.ActionableDynamicQuerycom.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.intReturns the number of ddm structure layouts.com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(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) intgetStructureLayoutsCount(long groupId) intgetStructureLayoutsCount(long groupId, long classNameId) intgetStructureLayoutsCount(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) intsearchCount(long companyId, long[] groupIds, long classNameId, String keywords) voidsetWrappedService(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, waitMethods 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:
addDDMStructureLayoutin 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:
addStructureLayoutin 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:
addStructureLayoutin 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:
addStructureLayoutin 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:
createDDMStructureLayoutin 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:
createPersistedModelin interfaceDDMStructureLayoutLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.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:
deleteDDMStructureLayoutin 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:
deleteDDMStructureLayoutin 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:
deleteDDMStructureLayoutsin 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:
deletePersistedModelin interfaceDDMStructureLayoutLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteStructureLayout
- Specified by:
deleteStructureLayoutin interfaceDDMStructureLayoutLocalService
-
deleteStructureLayout
public void deleteStructureLayout(long structureLayoutId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteStructureLayoutin interfaceDDMStructureLayoutLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceDDMStructureLayoutLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceDDMStructureLayoutLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceDDMStructureLayoutLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin 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 - 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.dynamic.data.mapping.model.impl.DDMStructureLayoutModelImpl.- Specified by:
dynamicQueryin 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 - 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.dynamic.data.mapping.model.impl.DDMStructureLayoutModelImpl.- Specified by:
dynamicQueryin 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:
dynamicQueryCountin 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:
dynamicQueryCountin 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:
fetchDDMStructureLayoutin interfaceDDMStructureLayoutLocalService
-
fetchDDMStructureLayoutByUuidAndGroupId
Returns the ddm structure layout matching the UUID and group.- Specified by:
fetchDDMStructureLayoutByUuidAndGroupIdin interfaceDDMStructureLayoutLocalService- Parameters:
uuid- the ddm structure layout's UUIDgroupId- the primary key of the group- Returns:
- the matching ddm structure layout, or
nullif a matching ddm structure layout could not be found
-
fetchStructureLayout
- Specified by:
fetchStructureLayoutin interfaceDDMStructureLayoutLocalService
-
fetchStructureLayout
public DDMStructureLayout fetchStructureLayout(long groupId, long classNameId, String structureLayoutKey) - Specified by:
fetchStructureLayoutin interfaceDDMStructureLayoutLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin 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:
getDDMStructureLayoutin 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:
getDDMStructureLayoutByUuidAndGroupIdin 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 - 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.dynamic.data.mapping.model.impl.DDMStructureLayoutModelImpl.- Specified by:
getDDMStructureLayoutsin 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:
getDDMStructureLayoutsByUuidAndCompanyIdin 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:
getDDMStructureLayoutsByUuidAndCompanyIdin 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:
getDDMStructureLayoutsCountin 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:
getExportActionableDynamicQueryin interfaceDDMStructureLayoutLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceDDMStructureLayoutLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
getPersistedModelin interfaceDDMStructureLayoutLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
getStructureLayout
public DDMStructureLayout getStructureLayout(long structureLayoutId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getStructureLayoutin 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:
getStructureLayoutin interfaceDDMStructureLayoutLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStructureLayoutByStructureVersionId
public DDMStructureLayout getStructureLayoutByStructureVersionId(long structureVersionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getStructureLayoutByStructureVersionIdin interfaceDDMStructureLayoutLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStructureLayoutDDMFormLayout
- Specified by:
getStructureLayoutDDMFormLayoutin interfaceDDMStructureLayoutLocalService
-
getStructureLayouts
public List<DDMStructureLayout> getStructureLayouts(long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getStructureLayoutsin 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:
getStructureLayoutsin interfaceDDMStructureLayoutLocalService
-
getStructureLayouts
public List<DDMStructureLayout> getStructureLayouts(long groupId, long classNameId, long structureVersionId) - Specified by:
getStructureLayoutsin 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:
getStructureLayoutsin interfaceDDMStructureLayoutLocalService
-
getStructureLayoutsCount
public int getStructureLayoutsCount(long groupId) - Specified by:
getStructureLayoutsCountin interfaceDDMStructureLayoutLocalService
-
getStructureLayoutsCount
public int getStructureLayoutsCount(long groupId, long classNameId) - Specified by:
getStructureLayoutsCountin interfaceDDMStructureLayoutLocalService
-
getStructureLayoutsCount
public int getStructureLayoutsCount(long groupId, long classNameId, long structureVersionId) - Specified by:
getStructureLayoutsCountin 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:
searchin 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:
searchCountin 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:
updateDDMStructureLayoutin 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:
updateStructureLayoutin 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:
updateStructureLayoutin interfaceDDMStructureLayoutLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
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<DDMStructureLayout> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMStructureLayout>- Specified by:
getCTPersistencein interfaceDDMStructureLayoutLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMStructureLayout>- Specified by:
getModelClassin 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:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMStructureLayout>- Specified by:
updateWithUnsafeFunctionin interfaceDDMStructureLayoutLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<DDMStructureLayoutLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<DDMStructureLayoutLocalService>
-
addStructureLayout(long, long, long, String, long, DDMFormLayout, ServiceContext)