com.liferay.portal.service.impl
Class LayoutFriendlyURLLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portal.service.base.LayoutFriendlyURLLocalServiceBaseImpl
com.liferay.portal.service.impl.LayoutFriendlyURLLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseLocalService, LayoutFriendlyURLLocalService, 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 |
LayoutFriendlyURL |
addLayoutFriendlyURL(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
String friendlyURL,
String languageId,
ServiceContext serviceContext)
|
List<LayoutFriendlyURL> |
addLayoutFriendlyURLs(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
Map<Locale,String> friendlyURLMap,
ServiceContext serviceContext)
|
LayoutFriendlyURL |
deleteLayoutFriendlyURL(LayoutFriendlyURL layoutFriendlyURL)
Deletes the layout friendly u r l from the database. |
void |
deleteLayoutFriendlyURL(long plid,
String languageId)
|
void |
deleteLayoutFriendlyURLs(long plid)
|
LayoutFriendlyURL |
fetchFirstLayoutFriendlyURL(long groupId,
boolean privateLayout,
String friendlyURL)
|
LayoutFriendlyURL |
fetchLayoutFriendlyURL(long groupId,
boolean privateLayout,
String friendlyURL,
String languageId)
|
LayoutFriendlyURL |
fetchLayoutFriendlyURL(long plid,
String languageId)
|
LayoutFriendlyURL |
fetchLayoutFriendlyURL(long plid,
String languageId,
boolean useDefault)
|
LayoutFriendlyURL |
getLayoutFriendlyURL(long plid,
String languageId)
|
LayoutFriendlyURL |
getLayoutFriendlyURL(long plid,
String languageId,
boolean useDefault)
|
List<LayoutFriendlyURL> |
getLayoutFriendlyURLs(long plid)
|
List<LayoutFriendlyURL> |
getLayoutFriendlyURLs(long plid,
String friendlyURL,
int start,
int end)
|
LayoutFriendlyURL |
updateLayoutFriendlyURL(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
String friendlyURL,
String languageId,
ServiceContext serviceContext)
|
List<LayoutFriendlyURL> |
updateLayoutFriendlyURLs(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
Map<Locale,String> friendlyURLMap,
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutFriendlyURLLocalServiceImpl
public LayoutFriendlyURLLocalServiceImpl()
addLayoutFriendlyURL
public LayoutFriendlyURL addLayoutFriendlyURL(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
String friendlyURL,
String languageId,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
addLayoutFriendlyURLs
public List<LayoutFriendlyURL> addLayoutFriendlyURLs(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
Map<Locale,String> friendlyURLMap,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteLayoutFriendlyURL
public LayoutFriendlyURL deleteLayoutFriendlyURL(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 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 LayoutFriendlyURL fetchFirstLayoutFriendlyURL(long groupId,
boolean privateLayout,
String friendlyURL)
fetchLayoutFriendlyURL
public LayoutFriendlyURL fetchLayoutFriendlyURL(long groupId,
boolean privateLayout,
String friendlyURL,
String languageId)
fetchLayoutFriendlyURL
public LayoutFriendlyURL fetchLayoutFriendlyURL(long plid,
String languageId)
fetchLayoutFriendlyURL
public LayoutFriendlyURL fetchLayoutFriendlyURL(long plid,
String languageId,
boolean useDefault)
getLayoutFriendlyURL
public LayoutFriendlyURL getLayoutFriendlyURL(long plid,
String languageId)
throws PortalException
- Throws:
PortalException
getLayoutFriendlyURL
public LayoutFriendlyURL getLayoutFriendlyURL(long plid,
String languageId,
boolean useDefault)
throws PortalException
- Throws:
PortalException
getLayoutFriendlyURLs
public List<LayoutFriendlyURL> getLayoutFriendlyURLs(long plid)
getLayoutFriendlyURLs
public List<LayoutFriendlyURL> getLayoutFriendlyURLs(long plid,
String friendlyURL,
int start,
int end)
updateLayoutFriendlyURL
public LayoutFriendlyURL updateLayoutFriendlyURL(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
String friendlyURL,
String languageId,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
updateLayoutFriendlyURLs
public List<LayoutFriendlyURL> updateLayoutFriendlyURLs(long userId,
long companyId,
long groupId,
long plid,
boolean privateLayout,
Map<Locale,String> friendlyURLMap,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException