public class LayoutSetPrototypeLocalServiceImpl extends LayoutSetPrototypeLocalServiceBaseImpl
counterLocalService, groupFinder, groupLocalService, groupPersistence, layoutSetLocalService, layoutSetPersistence, layoutSetPrototypeLocalService, layoutSetPrototypePersistence, persistedModelLocalServiceRegistry, resourceLocalService, userFinder, userLocalService, userPersistence
Constructor and Description |
---|
LayoutSetPrototypeLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.LayoutSetPrototype |
addLayoutSetPrototype(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.LayoutSetPrototype |
deleteLayoutSetPrototype(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype)
Deletes the layout set prototype from the database.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
deleteLayoutSetPrototype(long layoutSetPrototypeId)
Deletes the layout set prototype with the primary key from the database.
|
void |
deleteLayoutSetPrototypes() |
void |
deleteNondefaultLayoutSetPrototypes(long companyId) |
com.liferay.portal.kernel.model.LayoutSetPrototype |
getLayoutSetPrototypeByUuidAndCompanyId(String uuid,
long companyId)
Returns the layout set prototype with the matching UUID and company.
|
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) |
int |
searchCount(long companyId,
Boolean active) |
com.liferay.portal.kernel.model.LayoutSetPrototype |
updateLayoutSetPrototype(long layoutSetPrototypeId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
boolean active,
boolean layoutsUpdateable,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.model.LayoutSetPrototype |
updateLayoutSetPrototype(long layoutSetPrototypeId,
String settings) |
addLayoutSetPrototype, afterPropertiesSet, createLayoutSetPrototype, createPersistedModel, deletePersistedModel, destroy, dslQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchLayoutSetPrototype, fetchLayoutSetPrototypeByUuidAndCompanyId, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getExportActionableDynamicQuery, getGroupFinder, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetPrototype, getLayoutSetPrototypeLocalService, getLayoutSetPrototypePersistence, getLayoutSetPrototypes, getLayoutSetPrototypesCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetPrototypeLocalService, setLayoutSetPrototypePersistence, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, updateLayoutSetPrototype
public com.liferay.portal.kernel.model.LayoutSetPrototype addLayoutSetPrototype(long userId, long companyId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, boolean layoutsUpdateable, 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.LayoutSetPrototype deleteLayoutSetPrototype(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype) throws com.liferay.portal.kernel.exception.PortalException
LayoutSetPrototypeLocalServiceBaseImpl
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.
deleteLayoutSetPrototype
in interface com.liferay.portal.kernel.service.LayoutSetPrototypeLocalService
deleteLayoutSetPrototype
in class LayoutSetPrototypeLocalServiceBaseImpl
layoutSetPrototype
- the layout set prototypecom.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSetPrototype deleteLayoutSetPrototype(long layoutSetPrototypeId) throws com.liferay.portal.kernel.exception.PortalException
LayoutSetPrototypeLocalServiceBaseImpl
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.
deleteLayoutSetPrototype
in interface com.liferay.portal.kernel.service.LayoutSetPrototypeLocalService
deleteLayoutSetPrototype
in class LayoutSetPrototypeLocalServiceBaseImpl
layoutSetPrototypeId
- the primary key of the layout set prototypecom.liferay.portal.kernel.exception.PortalException
- if a layout set prototype with the primary key could not be foundpublic void deleteLayoutSetPrototypes() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteNondefaultLayoutSetPrototypes(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSetPrototype getLayoutSetPrototypeByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
LayoutSetPrototypeLocalServiceBaseImpl
getLayoutSetPrototypeByUuidAndCompanyId
in interface com.liferay.portal.kernel.service.LayoutSetPrototypeLocalService
getLayoutSetPrototypeByUuidAndCompanyId
in class LayoutSetPrototypeLocalServiceBaseImpl
uuid
- the layout set prototype's UUIDcompanyId
- the primary key of the companycom.liferay.portal.kernel.exception.PortalException
- if a matching layout set prototype could not be foundpublic List<com.liferay.portal.kernel.model.LayoutSetPrototype> getLayoutSetPrototypes(long companyId)
public 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)
public int searchCount(long companyId, Boolean active)
public com.liferay.portal.kernel.model.LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, boolean layoutsUpdateable, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, String settings) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException