com.liferay.portal.service
Interface LayoutPrototypeService

All Superinterfaces:
BaseService
All Known Implementing Classes:
LayoutPrototypeServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface LayoutPrototypeService
extends BaseService

The interface for the layout prototype remote service.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
LayoutPrototypeServiceUtil, LayoutPrototypeServiceBaseImpl, com.liferay.portal.service.impl.LayoutPrototypeServiceImpl
Generated:

Method Summary
 LayoutPrototype addLayoutPrototype(java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String description, boolean active)
           
 void deleteLayoutPrototype(long layoutPrototypeId)
           
 java.lang.String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
           
 java.util.List<LayoutPrototype> search(long companyId, java.lang.Boolean active, OrderByComparator obc)
           
 void setBeanIdentifier(java.lang.String beanIdentifier)
          Sets the Spring bean ID for this bean.
 LayoutPrototype updateLayoutPrototype(long layoutPrototypeId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String description, boolean active)
           
 

Method Detail

getBeanIdentifier

java.lang.String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addLayoutPrototype

LayoutPrototype addLayoutPrototype(java.util.Map<java.util.Locale,java.lang.String> nameMap,
                                   java.lang.String description,
                                   boolean active)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

deleteLayoutPrototype

void deleteLayoutPrototype(long layoutPrototypeId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getLayoutPrototype

@Transactional(propagation=SUPPORTS,
               readOnly=true)
LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<LayoutPrototype> search(long companyId,
                                                                                java.lang.Boolean active,
                                                                                OrderByComparator obc)
                                       throws PortalException,
                                              SystemException
Throws:
PortalException
SystemException

updateLayoutPrototype

LayoutPrototype updateLayoutPrototype(long layoutPrototypeId,
                                      java.util.Map<java.util.Locale,java.lang.String> nameMap,
                                      java.lang.String description,
                                      boolean active)
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException