com.liferay.portal.service.impl
Class LayoutLocalServiceHelper
java.lang.Object
com.liferay.portal.service.impl.LayoutLocalServiceHelper
- All Implemented Interfaces:
- IdentifiableBean
public class LayoutLocalServiceHelper
- extends Object
- implements IdentifiableBean
Method Summary |
String |
getBeanIdentifier()
|
String |
getFriendlyURL(long groupId,
boolean privateLayout,
long layoutId,
String name,
String friendlyURL)
|
String |
getFriendlyURL(String friendlyURL)
|
Map<Locale,String> |
getFriendlyURLMap(long groupId,
boolean privateLayout,
long layoutId,
String name,
Map<Locale,String> friendlyURLMap)
|
int |
getNextPriority(long groupId,
boolean privateLayout,
long parentLayoutId,
String sourcePrototypeLayoutUuid,
int defaultPriority)
|
long |
getParentLayoutId(long groupId,
boolean privateLayout,
long parentLayoutId)
|
protected boolean |
hasGuestViewPermission(Layout layout)
|
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,
Map<Locale,String> friendlyURLMap)
|
void |
validateFirstLayout(Layout layout)
|
void |
validateFirstLayout(String type)
|
void |
validateFriendlyURL(long groupId,
boolean privateLayout,
long layoutId,
String friendlyURL)
|
void |
validateFriendlyURLs(long groupId,
boolean privateLayout,
long layoutId,
Map<Locale,String> friendlyURLMap)
|
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 |
layoutFriendlyURLPersistence
@BeanReference(type=LayoutFriendlyURLPersistence.class)
protected LayoutFriendlyURLPersistence layoutFriendlyURLPersistence
layoutPersistence
@BeanReference(type=LayoutPersistence.class)
protected LayoutPersistence layoutPersistence
layoutSetPersistence
@BeanReference(type=LayoutSetPersistence.class)
protected LayoutSetPersistence layoutSetPersistence
resourcePermissionLocalService
@BeanReference(type=ResourcePermissionLocalService.class)
protected ResourcePermissionLocalService resourcePermissionLocalService
LayoutLocalServiceHelper
public LayoutLocalServiceHelper()
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)
getFriendlyURLMap
public Map<Locale,String> getFriendlyURLMap(long groupId,
boolean privateLayout,
long layoutId,
String name,
Map<Locale,String> friendlyURLMap)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
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,
Map<Locale,String> friendlyURLMap)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validateFirstLayout
public void validateFirstLayout(Layout layout)
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
validateFriendlyURLs
public void validateFriendlyURLs(long groupId,
boolean privateLayout,
long layoutId,
Map<Locale,String> friendlyURLMap)
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
hasGuestViewPermission
protected boolean hasGuestViewPermission(Layout layout)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException