public class LayoutPrototypeLocalServiceImpl extends LayoutPrototypeLocalServiceBaseImpl
counterLocalService, groupFinder, groupLocalService, groupPersistence, layoutFinder, layoutLocalService, layoutPersistence, layoutPrototypeLocalService, layoutPrototypePersistence, persistedModelLocalServiceRegistry, resourceLocalService, userFinder, userLocalService, userPersistence| 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) |
com.liferay.portal.kernel.model.LayoutPrototype |
getLayoutPrototypeByUuidAndCompanyId(String uuid,
long companyId)
Returns the layout prototype with the matching UUID and company.
|
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> obc) |
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, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchLayoutPrototype, fetchLayoutPrototypeByUuidAndCompanyId, getActionableDynamicQuery, getCounterLocalService, getExportActionableDynamicQuery, getGroupFinder, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutPrototype, getLayoutPrototypeLocalService, getLayoutPrototypePersistence, getLayoutPrototypes, getLayoutPrototypesCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutPrototypeLocalService, setLayoutPrototypePersistence, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, updateLayoutPrototypepublic 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
LayoutPrototypeLocalServiceBaseImpldeleteLayoutPrototype in interface com.liferay.portal.kernel.service.LayoutPrototypeLocalServicedeleteLayoutPrototype in class LayoutPrototypeLocalServiceBaseImpllayoutPrototype - the layout prototypecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.LayoutPrototype deleteLayoutPrototype(long layoutPrototypeId)
throws com.liferay.portal.kernel.exception.PortalException
LayoutPrototypeLocalServiceBaseImpldeleteLayoutPrototype in interface com.liferay.portal.kernel.service.LayoutPrototypeLocalServicedeleteLayoutPrototype in class LayoutPrototypeLocalServiceBaseImpllayoutPrototypeId - 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.PortalExceptionpublic 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.PortalExceptionpublic 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.PortalExceptionpublic com.liferay.portal.kernel.model.LayoutPrototype getLayoutPrototypeByUuidAndCompanyId(String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.PortalException
LayoutPrototypeLocalServiceBaseImplgetLayoutPrototypeByUuidAndCompanyId in interface com.liferay.portal.kernel.service.LayoutPrototypeLocalServicegetLayoutPrototypeByUuidAndCompanyId in class LayoutPrototypeLocalServiceBaseImpluuid - the layout prototype's UUIDcompanyId - the primary key of the companycom.liferay.portal.kernel.exception.PortalException - if a matching layout prototype could not be foundpublic 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> obc)
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