Package com.liferay.portal.service.impl
Class LayoutSetPrototypeLocalServiceImpl
Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portal.service.base.LayoutSetPrototypeLocalServiceBaseImpl
com.liferay.portal.service.impl.LayoutSetPrototypeLocalServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.LayoutSetPrototypeLocalService,com.liferay.portal.kernel.service.PersistedModelLocalService
- Author:
- Brian Wing Shun Chan, Ryan Park
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.LayoutSetPrototypeLocalServiceBaseImpl
counterLocalService, layoutSetPrototypeLocalService, layoutSetPrototypePersistence -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.LayoutSetPrototypeaddLayoutSetPrototype(long userId, long companyId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, boolean layoutsUpdateable, boolean readyForPropagation, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.LayoutSetPrototypeaddLayoutSetPrototype(long userId, long companyId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, boolean layoutsUpdateable, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.LayoutSetPrototypedeleteLayoutSetPrototype(long layoutSetPrototypeId) Deletes the layout set prototype with the primary key from the database.com.liferay.portal.kernel.model.LayoutSetPrototypedeleteLayoutSetPrototype(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype) Deletes the layout set prototype from the database.voidvoiddeleteNondefaultLayoutSetPrototypes(long companyId) List<com.liferay.portal.kernel.model.LayoutSetPrototype>getLayoutSetPrototypes(long companyId) List<com.liferay.portal.kernel.model.LayoutSetPrototype>search(long companyId, Boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) intsearchCount(long companyId, Boolean active) com.liferay.portal.kernel.model.LayoutSetPrototypeupdateLayoutSetPrototype(long layoutSetPrototypeId, String settings) com.liferay.portal.kernel.model.LayoutSetPrototypeupdateLayoutSetPrototype(long layoutSetPrototypeId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, boolean layoutsUpdateable, boolean readyForPropagation, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.LayoutSetPrototypeupdateLayoutSetPrototype(long layoutSetPrototypeId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, boolean layoutsUpdateable, com.liferay.portal.kernel.service.ServiceContext serviceContext) Methods inherited from class com.liferay.portal.service.base.LayoutSetPrototypeLocalServiceBaseImpl
addLayoutSetPrototype, afterPropertiesSet, createLayoutSetPrototype, createPersistedModel, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchLayoutSetPrototype, fetchLayoutSetPrototypeByUuidAndCompanyId, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getLayoutSetPrototype, getLayoutSetPrototypeByUuidAndCompanyId, getLayoutSetPrototypeLocalService, getLayoutSetPrototypePersistence, getLayoutSetPrototypes, getLayoutSetPrototypesCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, initActionableDynamicQuery, runSQL, setCounterLocalService, setLayoutSetPrototypeLocalService, setLayoutSetPrototypePersistence, updateLayoutSetPrototypeMethods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMapMethods 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
-
LayoutSetPrototypeLocalServiceImpl
public LayoutSetPrototypeLocalServiceImpl()
-
-
Method Details
-
addLayoutSetPrototype
public com.liferay.portal.kernel.model.LayoutSetPrototype addLayoutSetPrototype(long userId, long companyId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, boolean layoutsUpdateable, boolean readyForPropagation, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addLayoutSetPrototype
public com.liferay.portal.kernel.model.LayoutSetPrototype addLayoutSetPrototype(long userId, long companyId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, boolean layoutsUpdateable, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutSetPrototype
@SystemEvent(action=1, type=1) public com.liferay.portal.kernel.model.LayoutSetPrototype deleteLayoutSetPrototype(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype) throws com.liferay.portal.kernel.exception.PortalException Description copied from class:LayoutSetPrototypeLocalServiceBaseImplDeletes the layout set prototype from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutSetPrototypeLocalServiceImpl 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:
deleteLayoutSetPrototypein interfacecom.liferay.portal.kernel.service.LayoutSetPrototypeLocalService- Overrides:
deleteLayoutSetPrototypein classLayoutSetPrototypeLocalServiceBaseImpl- Parameters:
layoutSetPrototype- the layout set prototype- Returns:
- the layout set prototype that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutSetPrototype
public com.liferay.portal.kernel.model.LayoutSetPrototype deleteLayoutSetPrototype(long layoutSetPrototypeId) throws com.liferay.portal.kernel.exception.PortalException Description copied from class:LayoutSetPrototypeLocalServiceBaseImplDeletes the layout set prototype with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutSetPrototypeLocalServiceImpl 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:
deleteLayoutSetPrototypein interfacecom.liferay.portal.kernel.service.LayoutSetPrototypeLocalService- Overrides:
deleteLayoutSetPrototypein classLayoutSetPrototypeLocalServiceBaseImpl- Parameters:
layoutSetPrototypeId- the primary key of the layout set prototype- Returns:
- the layout set prototype that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a layout set prototype with the primary key could not be found
-
deleteLayoutSetPrototypes
public void deleteLayoutSetPrototypes() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteNondefaultLayoutSetPrototypes
public void deleteNondefaultLayoutSetPrototypes(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutSetPrototypes
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> getLayoutSetPrototypes(long companyId) -
search
-
searchCount
-
updateLayoutSetPrototype
public com.liferay.portal.kernel.model.LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, boolean layoutsUpdateable, boolean readyForPropagation, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutSetPrototype
public com.liferay.portal.kernel.model.LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, boolean layoutsUpdateable, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutSetPrototype
public com.liferay.portal.kernel.model.LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, String settings) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-