public class LayoutPrototypeLocalServiceImpl extends LayoutPrototypeLocalServiceBaseImpl
counterLocalService, layoutPrototypeLocalService, layoutPrototypePersistence, persistedModelLocalServiceRegistry
Constructor and Description |
---|
LayoutPrototypeLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.LayoutPrototype |
addLayoutPrototype(long userId,
long companyId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.model.LayoutPrototype |
deleteLayoutPrototype(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype)
Deletes the layout prototype from the database.
|
com.liferay.portal.kernel.model.LayoutPrototype |
deleteLayoutPrototype(long layoutPrototypeId)
Deletes the layout prototype with the primary key from the database.
|
void |
deleteNondefaultLayoutPrototypes(long companyId) |
com.liferay.portal.kernel.model.LayoutPrototype |
fetchLayoutPrototype(long companyId,
String name,
Locale locale) |
com.liferay.portal.kernel.model.LayoutPrototype |
fetchLayoutProtoype(long companyId,
String name) |
com.liferay.portal.kernel.model.LayoutPrototype |
getLayoutPrototype(long companyId,
String name) |
com.liferay.portal.kernel.model.LayoutPrototype |
getLayoutPrototype(long companyId,
String name,
Locale locale) |
List<com.liferay.portal.kernel.model.LayoutPrototype> |
search(long companyId,
Boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) |
int |
searchCount(long companyId,
Boolean active) |
com.liferay.portal.kernel.model.LayoutPrototype |
updateLayoutPrototype(long layoutPrototypeId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
addLayoutPrototype, afterPropertiesSet, createLayoutPrototype, createPersistedModel, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchLayoutPrototype, fetchLayoutPrototypeByUuidAndCompanyId, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getLayoutPrototype, getLayoutPrototypeByUuidAndCompanyId, getLayoutPrototypeLocalService, getLayoutPrototypePersistence, getLayoutPrototypes, getLayoutPrototypesCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, initActionableDynamicQuery, runSQL, setCounterLocalService, setLayoutPrototypeLocalService, setLayoutPrototypePersistence, updateLayoutPrototype
public com.liferay.portal.kernel.model.LayoutPrototype addLayoutPrototype(long userId, long companyId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@SystemEvent(action=1, type=1) public com.liferay.portal.kernel.model.LayoutPrototype deleteLayoutPrototype(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) throws com.liferay.portal.kernel.exception.PortalException
LayoutPrototypeLocalServiceBaseImpl
Important: Inspect LayoutPrototypeLocalServiceImpl 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.
deleteLayoutPrototype
in interface com.liferay.portal.kernel.service.LayoutPrototypeLocalService
deleteLayoutPrototype
in class LayoutPrototypeLocalServiceBaseImpl
layoutPrototype
- the layout prototypecom.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutPrototype deleteLayoutPrototype(long layoutPrototypeId) throws com.liferay.portal.kernel.exception.PortalException
LayoutPrototypeLocalServiceBaseImpl
Important: Inspect LayoutPrototypeLocalServiceImpl 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.
deleteLayoutPrototype
in interface com.liferay.portal.kernel.service.LayoutPrototypeLocalService
deleteLayoutPrototype
in class LayoutPrototypeLocalServiceBaseImpl
layoutPrototypeId
- the primary key of the layout prototypecom.liferay.portal.kernel.exception.PortalException
- if a layout prototype with the primary key could not be foundpublic void deleteNondefaultLayoutPrototypes(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutPrototype fetchLayoutPrototype(long companyId, String name, Locale locale)
public com.liferay.portal.kernel.model.LayoutPrototype fetchLayoutProtoype(long companyId, String name)
public com.liferay.portal.kernel.model.LayoutPrototype getLayoutPrototype(long companyId, String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutPrototype getLayoutPrototype(long companyId, String name, Locale locale) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.LayoutPrototype> search(long companyId, Boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
public int searchCount(long companyId, Boolean active)
public com.liferay.portal.kernel.model.LayoutPrototype updateLayoutPrototype(long layoutPrototypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException