Liferay 7.0-ga1 portal-impl

com.liferay.portal.service.impl
Class LayoutSetPrototypeLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.kernel.service.BaseLocalServiceImpl
      extended by com.liferay.portal.service.base.LayoutSetPrototypeLocalServiceBaseImpl
          extended by 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

public class LayoutSetPrototypeLocalServiceImpl
extends LayoutSetPrototypeLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portal.service.base.LayoutSetPrototypeLocalServiceBaseImpl
counterLocalService, groupFinder, groupLocalService, groupPersistence, layoutFinder, layoutLocalService, layoutPersistence, layoutSetLocalService, layoutSetPersistence, layoutSetPrototypeLocalService, layoutSetPrototypePersistence, persistedModelLocalServiceRegistry, resourceLocalService, userFinder, userLocalService, userPersistence
 
Constructor Summary
LayoutSetPrototypeLocalServiceImpl()
           
 
Method Summary
 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 addLayoutSetPrototype(long userId, long companyId, Map<Locale,String> nameMap, String description, boolean active, boolean layoutsUpdateable, com.liferay.portal.kernel.service.ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by addLayoutSetPrototype(long, long, Map, Map, boolean, boolean, 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> obc)
           
 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, Map<Locale,String> nameMap, String description, boolean active, boolean layoutsUpdateable, com.liferay.portal.kernel.service.ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by updateLayoutSetPrototype(long, Map, Map, boolean, boolean, ServiceContext)
 com.liferay.portal.kernel.model.LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, String settings)
           
 
Methods inherited from class com.liferay.portal.service.base.LayoutSetPrototypeLocalServiceBaseImpl
addLayoutSetPrototype, afterPropertiesSet, createLayoutSetPrototype, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchLayoutSetPrototype, fetchLayoutSetPrototypeByUuidAndCompanyId, getActionableDynamicQuery, getCounterLocalService, getExportActionableDynamicQuery, getGroupFinder, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetPrototype, getLayoutSetPrototypeLocalService, getLayoutSetPrototypePersistence, getLayoutSetPrototypes, getLayoutSetPrototypesCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetPrototypeLocalService, setLayoutSetPrototypePersistence, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, updateLayoutSetPrototype
 
Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutSetPrototypeLocalServiceImpl

public LayoutSetPrototypeLocalServiceImpl()
Method Detail

addLayoutSetPrototype

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
Throws:
com.liferay.portal.kernel.exception.PortalException

addLayoutSetPrototype

@Deprecated
public com.liferay.portal.kernel.model.LayoutSetPrototype addLayoutSetPrototype(long userId,
                                                                                           long companyId,
                                                                                           Map<Locale,String> nameMap,
                                                                                           String description,
                                                                                           boolean active,
                                                                                           boolean layoutsUpdateable,
                                                                                           com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                         throws com.liferay.portal.kernel.exception.PortalException
Deprecated. As of 7.0.0, replaced by addLayoutSetPrototype(long, long, Map, Map, boolean, boolean, 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: LayoutSetPrototypeLocalServiceBaseImpl
Deletes the layout set prototype from the database. Also notifies the appropriate model listeners.

Specified by:
deleteLayoutSetPrototype in interface com.liferay.portal.kernel.service.LayoutSetPrototypeLocalService
Overrides:
deleteLayoutSetPrototype in class LayoutSetPrototypeLocalServiceBaseImpl
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: LayoutSetPrototypeLocalServiceBaseImpl
Deletes the layout set prototype with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteLayoutSetPrototype in interface com.liferay.portal.kernel.service.LayoutSetPrototypeLocalService
Overrides:
deleteLayoutSetPrototype in class LayoutSetPrototypeLocalServiceBaseImpl
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

getLayoutSetPrototypeByUuidAndCompanyId

public com.liferay.portal.kernel.model.LayoutSetPrototype getLayoutSetPrototypeByUuidAndCompanyId(String uuid,
                                                                                                  long companyId)
                                                                                           throws com.liferay.portal.kernel.exception.PortalException
Description copied from class: LayoutSetPrototypeLocalServiceBaseImpl
Returns the layout set prototype with the matching UUID and company.

Specified by:
getLayoutSetPrototypeByUuidAndCompanyId in interface com.liferay.portal.kernel.service.LayoutSetPrototypeLocalService
Overrides:
getLayoutSetPrototypeByUuidAndCompanyId in class LayoutSetPrototypeLocalServiceBaseImpl
Parameters:
uuid - the layout set prototype's UUID
companyId - the primary key of the company
Returns:
the matching layout set prototype
Throws:
com.liferay.portal.kernel.exception.PortalException - if a matching layout set prototype could not be found

getLayoutSetPrototypes

public List<com.liferay.portal.kernel.model.LayoutSetPrototype> getLayoutSetPrototypes(long companyId)

search

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> obc)

searchCount

public int searchCount(long companyId,
                       Boolean active)

updateLayoutSetPrototype

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
Throws:
com.liferay.portal.kernel.exception.PortalException

updateLayoutSetPrototype

@Deprecated
public com.liferay.portal.kernel.model.LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId,
                                                                                              Map<Locale,String> nameMap,
                                                                                              String description,
                                                                                              boolean active,
                                                                                              boolean layoutsUpdateable,
                                                                                              com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                            throws com.liferay.portal.kernel.exception.PortalException
Deprecated. As of 7.0.0, replaced by updateLayoutSetPrototype(long, Map, Map, boolean, boolean, 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

Liferay 7.0-ga1 portal-impl