com.liferay.portal.service.impl
Class LayoutFriendlyURLLocalServiceImpl
java.lang.Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portal.service.base.LayoutFriendlyURLLocalServiceBaseImpl
com.liferay.portal.service.impl.LayoutFriendlyURLLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.LayoutFriendlyURLLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService
public class LayoutFriendlyURLLocalServiceImpl
- extends LayoutFriendlyURLLocalServiceBaseImpl
Provides the local service for accessing, adding, deleting, and updating
friendly URLs for layouts.
All custom service methods should be put in this class. Whenever methods are
added, rerun ServiceBuilder to copy their definitions into the LayoutFriendlyURLLocalService interface.
Methods of this service will not have security checks based on the propagated
JAAS credentials because this service can only be accessed from within the
same VM.
|
Method Summary |
com.liferay.portal.kernel.model.LayoutFriendlyURL |
addLayoutFriendlyURL(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
String friendlyURL,
String languageId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
List<com.liferay.portal.kernel.model.LayoutFriendlyURL> |
addLayoutFriendlyURLs(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
Map<Locale,String> friendlyURLMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
com.liferay.portal.kernel.model.LayoutFriendlyURL |
deleteLayoutFriendlyURL(com.liferay.portal.kernel.model.LayoutFriendlyURL layoutFriendlyURL)
Deletes the layout friendly u r l from the database. |
void |
deleteLayoutFriendlyURL(long plid,
String languageId)
|
void |
deleteLayoutFriendlyURLs(long plid)
|
com.liferay.portal.kernel.model.LayoutFriendlyURL |
fetchFirstLayoutFriendlyURL(long groupId,
boolean privateLayout,
String friendlyURL)
|
com.liferay.portal.kernel.model.LayoutFriendlyURL |
fetchLayoutFriendlyURL(long groupId,
boolean privateLayout,
String friendlyURL,
String languageId)
|
com.liferay.portal.kernel.model.LayoutFriendlyURL |
fetchLayoutFriendlyURL(long plid,
String languageId)
|
com.liferay.portal.kernel.model.LayoutFriendlyURL |
fetchLayoutFriendlyURL(long plid,
String languageId,
boolean useDefault)
|
com.liferay.portal.kernel.model.LayoutFriendlyURL |
getLayoutFriendlyURL(long plid,
String languageId)
|
com.liferay.portal.kernel.model.LayoutFriendlyURL |
getLayoutFriendlyURL(long plid,
String languageId,
boolean useDefault)
|
List<com.liferay.portal.kernel.model.LayoutFriendlyURL> |
getLayoutFriendlyURLs(long plid)
|
List<com.liferay.portal.kernel.model.LayoutFriendlyURL> |
getLayoutFriendlyURLs(long plid,
String friendlyURL,
int start,
int end)
|
com.liferay.portal.kernel.model.LayoutFriendlyURL |
updateLayoutFriendlyURL(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
String friendlyURL,
String languageId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
List<com.liferay.portal.kernel.model.LayoutFriendlyURL> |
updateLayoutFriendlyURLs(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
Map<Locale,String> friendlyURLMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
| Methods inherited from class com.liferay.portal.service.base.LayoutFriendlyURLLocalServiceBaseImpl |
addLayoutFriendlyURL, afterPropertiesSet, createLayoutFriendlyURL, deleteLayoutFriendlyURL, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchLayoutFriendlyURL, fetchLayoutFriendlyURLByUuidAndGroupId, getActionableDynamicQuery, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getLayoutFriendlyURL, getLayoutFriendlyURLByUuidAndGroupId, getLayoutFriendlyURLLocalService, getLayoutFriendlyURLPersistence, getLayoutFriendlyURLs, getLayoutFriendlyURLsByUuidAndCompanyId, getLayoutFriendlyURLsByUuidAndCompanyId, getLayoutFriendlyURLsCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setLayoutFriendlyURLLocalService, setLayoutFriendlyURLPersistence, setUserFinder, setUserLocalService, setUserPersistence, updateLayoutFriendlyURL |
| 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 |
LayoutFriendlyURLLocalServiceImpl
public LayoutFriendlyURLLocalServiceImpl()
addLayoutFriendlyURL
public com.liferay.portal.kernel.model.LayoutFriendlyURL addLayoutFriendlyURL(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
String friendlyURL,
String languageId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
addLayoutFriendlyURLs
public List<com.liferay.portal.kernel.model.LayoutFriendlyURL> addLayoutFriendlyURLs(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
Map<Locale,String> friendlyURLMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
deleteLayoutFriendlyURL
public com.liferay.portal.kernel.model.LayoutFriendlyURL deleteLayoutFriendlyURL(com.liferay.portal.kernel.model.LayoutFriendlyURL layoutFriendlyURL)
- Description copied from class:
LayoutFriendlyURLLocalServiceBaseImpl
- Deletes the layout friendly u r l from the database. Also notifies the appropriate model listeners.
- Specified by:
deleteLayoutFriendlyURL in interface com.liferay.portal.kernel.service.LayoutFriendlyURLLocalService- Overrides:
deleteLayoutFriendlyURL in class LayoutFriendlyURLLocalServiceBaseImpl
- Parameters:
layoutFriendlyURL - the layout friendly u r l
- Returns:
- the layout friendly u r l that was removed
deleteLayoutFriendlyURL
public void deleteLayoutFriendlyURL(long plid,
String languageId)
deleteLayoutFriendlyURLs
public void deleteLayoutFriendlyURLs(long plid)
fetchFirstLayoutFriendlyURL
public com.liferay.portal.kernel.model.LayoutFriendlyURL fetchFirstLayoutFriendlyURL(long groupId,
boolean privateLayout,
String friendlyURL)
fetchLayoutFriendlyURL
public com.liferay.portal.kernel.model.LayoutFriendlyURL fetchLayoutFriendlyURL(long groupId,
boolean privateLayout,
String friendlyURL,
String languageId)
fetchLayoutFriendlyURL
public com.liferay.portal.kernel.model.LayoutFriendlyURL fetchLayoutFriendlyURL(long plid,
String languageId)
fetchLayoutFriendlyURL
public com.liferay.portal.kernel.model.LayoutFriendlyURL fetchLayoutFriendlyURL(long plid,
String languageId,
boolean useDefault)
getLayoutFriendlyURL
public com.liferay.portal.kernel.model.LayoutFriendlyURL getLayoutFriendlyURL(long plid,
String languageId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getLayoutFriendlyURL
public com.liferay.portal.kernel.model.LayoutFriendlyURL getLayoutFriendlyURL(long plid,
String languageId,
boolean useDefault)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getLayoutFriendlyURLs
public List<com.liferay.portal.kernel.model.LayoutFriendlyURL> getLayoutFriendlyURLs(long plid)
getLayoutFriendlyURLs
public List<com.liferay.portal.kernel.model.LayoutFriendlyURL> getLayoutFriendlyURLs(long plid,
String friendlyURL,
int start,
int end)
updateLayoutFriendlyURL
public com.liferay.portal.kernel.model.LayoutFriendlyURL updateLayoutFriendlyURL(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
String friendlyURL,
String languageId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateLayoutFriendlyURLs
public List<com.liferay.portal.kernel.model.LayoutFriendlyURL> updateLayoutFriendlyURLs(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
Map<Locale,String> friendlyURLMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException