Liferay 7.0-ce-b4

com.liferay.portal.service.impl
Class LayoutSetPrototypeLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portal.service.base.LayoutSetPrototypeLocalServiceBaseImpl
          extended by com.liferay.portal.service.impl.LayoutSetPrototypeLocalServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, LayoutSetPrototypeLocalService, 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
 LayoutSetPrototype addLayoutSetPrototype(long userId, long companyId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, boolean layoutsUpdateable, ServiceContext serviceContext)
           
 LayoutSetPrototype addLayoutSetPrototype(long userId, long companyId, Map<Locale,String> nameMap, String description, boolean active, boolean layoutsUpdateable, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by addLayoutSetPrototype(long, long, Map, Map, boolean, boolean, ServiceContext)
 LayoutSetPrototype deleteLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype)
          Deletes the layout set prototype from the database.
 LayoutSetPrototype deleteLayoutSetPrototype(long layoutSetPrototypeId)
          Deletes the layout set prototype with the primary key from the database.
 void deleteLayoutSetPrototypes()
           
 void deleteNondefaultLayoutSetPrototypes(long companyId)
           
 LayoutSetPrototype getLayoutSetPrototypeByUuid(String uuid)
          Deprecated. As of 6.2.0, replaced by getLayoutSetPrototypeByUuidAndCompanyId(String, long)
 LayoutSetPrototype getLayoutSetPrototypeByUuidAndCompanyId(String uuid, long companyId)
          Returns the layout set prototype with the matching UUID and company.
 List<LayoutSetPrototype> getLayoutSetPrototypes(long companyId)
           
 List<LayoutSetPrototype> search(long companyId, Boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> obc)
           
 int searchCount(long companyId, Boolean active)
           
 LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, boolean active, boolean layoutsUpdateable, ServiceContext serviceContext)
           
 LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, Map<Locale,String> nameMap, String description, boolean active, boolean layoutsUpdateable, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by updateLayoutSetPrototype(long, Map, Map, boolean, boolean, ServiceContext)
 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.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 LayoutSetPrototype addLayoutSetPrototype(long userId,
                                                long companyId,
                                                Map<Locale,String> nameMap,
                                                Map<Locale,String> descriptionMap,
                                                boolean active,
                                                boolean layoutsUpdateable,
                                                ServiceContext serviceContext)
                                         throws PortalException
Throws:
PortalException

addLayoutSetPrototype

@Deprecated
public LayoutSetPrototype addLayoutSetPrototype(long userId,
                                                           long companyId,
                                                           Map<Locale,String> nameMap,
                                                           String description,
                                                           boolean active,
                                                           boolean layoutsUpdateable,
                                                           ServiceContext serviceContext)
                                         throws PortalException
Deprecated. As of 7.0.0, replaced by addLayoutSetPrototype(long, long, Map, Map, boolean, boolean, ServiceContext)

Throws:
PortalException

deleteLayoutSetPrototype

@SystemEvent(action=1,
             type=1)
public LayoutSetPrototype deleteLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype)
                                            throws 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 LayoutSetPrototypeLocalService
Overrides:
deleteLayoutSetPrototype in class LayoutSetPrototypeLocalServiceBaseImpl
Parameters:
layoutSetPrototype - the layout set prototype
Returns:
the layout set prototype that was removed
Throws:
PortalException

deleteLayoutSetPrototype

public LayoutSetPrototype deleteLayoutSetPrototype(long layoutSetPrototypeId)
                                            throws 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 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:
PortalException - if a layout set prototype with the primary key could not be found

deleteLayoutSetPrototypes

public void deleteLayoutSetPrototypes()
                               throws PortalException
Throws:
PortalException

deleteNondefaultLayoutSetPrototypes

public void deleteNondefaultLayoutSetPrototypes(long companyId)
                                         throws PortalException
Throws:
PortalException

getLayoutSetPrototypeByUuid

@Deprecated
public LayoutSetPrototype getLayoutSetPrototypeByUuid(String uuid)
                                               throws PortalException
Deprecated. As of 6.2.0, replaced by getLayoutSetPrototypeByUuidAndCompanyId(String, long)

Throws:
PortalException

getLayoutSetPrototypeByUuidAndCompanyId

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

Specified by:
getLayoutSetPrototypeByUuidAndCompanyId in interface 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:
PortalException - if a matching layout set prototype could not be found

getLayoutSetPrototypes

public List<LayoutSetPrototype> getLayoutSetPrototypes(long companyId)

search

public List<LayoutSetPrototype> search(long companyId,
                                       Boolean active,
                                       int start,
                                       int end,
                                       OrderByComparator<LayoutSetPrototype> obc)

searchCount

public int searchCount(long companyId,
                       Boolean active)

updateLayoutSetPrototype

public LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId,
                                                   Map<Locale,String> nameMap,
                                                   Map<Locale,String> descriptionMap,
                                                   boolean active,
                                                   boolean layoutsUpdateable,
                                                   ServiceContext serviceContext)
                                            throws PortalException
Throws:
PortalException

updateLayoutSetPrototype

@Deprecated
public LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId,
                                                              Map<Locale,String> nameMap,
                                                              String description,
                                                              boolean active,
                                                              boolean layoutsUpdateable,
                                                              ServiceContext serviceContext)
                                            throws PortalException
Deprecated. As of 7.0.0, replaced by updateLayoutSetPrototype(long, Map, Map, boolean, boolean, ServiceContext)

Throws:
PortalException

updateLayoutSetPrototype

public LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId,
                                                   String settings)
                                            throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4