Liferay 6.1.2-ce-ga3

com.liferay.portal.service.impl
Class LayoutLocalServiceHelper

java.lang.Object
  extended by com.liferay.portal.service.impl.LayoutLocalServiceHelper
All Implemented Interfaces:
IdentifiableBean

public class LayoutLocalServiceHelper
extends Object
implements IdentifiableBean


Field Summary
protected  LayoutPersistence layoutPersistence
           
protected  LayoutSetPersistence layoutSetPersistence
           
 
Constructor Summary
LayoutLocalServiceHelper()
           
 
Method Summary
 String getBeanIdentifier()
           
 String getFriendlyURL(long groupId, boolean privateLayout, long layoutId, String name, String friendlyURL)
           
 String getFriendlyURL(String friendlyURL)
           
 int getNextPriority(long groupId, boolean privateLayout, long parentLayoutId, String sourcePrototypeLayoutUuid, int defaultPriority)
           
 long getParentLayoutId(long groupId, boolean privateLayout, long parentLayoutId)
           
 boolean hasLayoutSetPrototypeLayout(LayoutSetPrototype layoutSetPrototype, String layoutUuid)
           
 void setBeanIdentifier(String beanIdentifier)
           
 void validate(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, String name, String type, boolean hidden, String friendlyURL)
           
 void validateFirstLayout(String type)
           
 void validateFriendlyURL(long groupId, boolean privateLayout, long layoutId, String friendlyURL)
           
 void validateName(String name)
           
 void validateName(String name, String languageId)
           
 void validateParentLayoutId(long groupId, boolean privateLayout, long layoutId, long parentLayoutId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

layoutPersistence

@BeanReference(type=LayoutPersistence.class)
protected LayoutPersistence layoutPersistence

layoutSetPersistence

@BeanReference(type=LayoutSetPersistence.class)
protected LayoutSetPersistence layoutSetPersistence
Constructor Detail

LayoutLocalServiceHelper

public LayoutLocalServiceHelper()
Method Detail

getBeanIdentifier

public String getBeanIdentifier()
Specified by:
getBeanIdentifier in interface IdentifiableBean

getFriendlyURL

public String getFriendlyURL(long groupId,
                             boolean privateLayout,
                             long layoutId,
                             String name,
                             String friendlyURL)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getFriendlyURL

public String getFriendlyURL(String friendlyURL)

getNextPriority

public int getNextPriority(long groupId,
                           boolean privateLayout,
                           long parentLayoutId,
                           String sourcePrototypeLayoutUuid,
                           int defaultPriority)
                    throws SystemException
Throws:
SystemException

getParentLayoutId

public long getParentLayoutId(long groupId,
                              boolean privateLayout,
                              long parentLayoutId)
                       throws SystemException
Throws:
SystemException

hasLayoutSetPrototypeLayout

public boolean hasLayoutSetPrototypeLayout(LayoutSetPrototype layoutSetPrototype,
                                           String layoutUuid)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Specified by:
setBeanIdentifier in interface IdentifiableBean

validate

public void validate(long groupId,
                     boolean privateLayout,
                     long layoutId,
                     long parentLayoutId,
                     String name,
                     String type,
                     boolean hidden,
                     String friendlyURL)
              throws PortalException,
                     SystemException
Throws:
PortalException
SystemException

validateFirstLayout

public void validateFirstLayout(String type)
                         throws PortalException
Throws:
PortalException

validateFriendlyURL

public void validateFriendlyURL(long groupId,
                                boolean privateLayout,
                                long layoutId,
                                String friendlyURL)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

validateName

public void validateName(String name)
                  throws PortalException
Throws:
PortalException

validateName

public void validateName(String name,
                         String languageId)
                  throws PortalException
Throws:
PortalException

validateParentLayoutId

public void validateParentLayoutId(long groupId,
                                   boolean privateLayout,
                                   long layoutId,
                                   long parentLayoutId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3