public class FriendlyURLEntryLocalServiceWrapper extends java.lang.Object implements FriendlyURLEntryLocalService, ServiceWrapper<FriendlyURLEntryLocalService>
FriendlyURLEntryLocalService.FriendlyURLEntryLocalService| Constructor and Description |
|---|
FriendlyURLEntryLocalServiceWrapper(FriendlyURLEntryLocalService friendlyURLEntryLocalService) |
| Modifier and Type | Method and Description |
|---|---|
FriendlyURLEntry |
addFriendlyURLEntry(FriendlyURLEntry friendlyURLEntry)
Adds the friendly url entry to the database.
|
FriendlyURLEntry |
addFriendlyURLEntry(long groupId,
java.lang.Class<?> clazz,
long classPK,
java.lang.String urlTitle,
ServiceContext serviceContext) |
FriendlyURLEntry |
addFriendlyURLEntry(long groupId,
long classNameId,
long classPK,
java.util.Map<java.lang.String,java.lang.String> urlTitleMap,
ServiceContext serviceContext) |
FriendlyURLEntry |
addFriendlyURLEntry(long groupId,
long classNameId,
long classPK,
java.lang.String defaultLanguageId,
java.util.Map<java.lang.String,java.lang.String> urlTitleMap,
ServiceContext serviceContext) |
FriendlyURLEntry |
addFriendlyURLEntry(long groupId,
long classNameId,
long classPK,
java.lang.String urlTitle,
ServiceContext serviceContext) |
FriendlyURLEntry |
createFriendlyURLEntry(long friendlyURLEntryId)
Creates a new friendly url entry with the primary key.
|
PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
FriendlyURLEntry |
deleteFriendlyURLEntry(FriendlyURLEntry friendlyURLEntry)
Deletes the friendly url entry from the database.
|
FriendlyURLEntry |
deleteFriendlyURLEntry(long friendlyURLEntryId)
Deletes the friendly url entry with the primary key from the database.
|
void |
deleteFriendlyURLEntry(long groupId,
java.lang.Class<?> clazz,
long classPK) |
void |
deleteFriendlyURLEntry(long groupId,
long classNameId,
long classPK) |
void |
deleteFriendlyURLLocalizationEntry(long friendlyURLEntryId,
java.lang.String languageId) |
void |
deleteGroupFriendlyURLEntries(long groupId,
long classNameId) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
<T> T |
dslQuery(DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
FriendlyURLEntry |
fetchFriendlyURLEntry(long friendlyURLEntryId) |
FriendlyURLEntry |
fetchFriendlyURLEntry(long groupId,
java.lang.Class<?> clazz,
java.lang.String urlTitle) |
FriendlyURLEntry |
fetchFriendlyURLEntry(long groupId,
long classNameId,
java.lang.String urlTitle) |
FriendlyURLEntry |
fetchFriendlyURLEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the friendly url entry matching the UUID and group.
|
FriendlyURLEntryLocalization |
fetchFriendlyURLEntryLocalization(long groupId,
long classNameId,
java.lang.String urlTitle) |
FriendlyURLEntryLocalization |
fetchFriendlyURLEntryLocalization(long friendlyURLEntryId,
java.lang.String languageId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
CTPersistence<FriendlyURLEntry> |
getCTPersistence() |
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext) |
java.util.List<FriendlyURLEntry> |
getFriendlyURLEntries(int start,
int end)
Returns a range of all the friendly url entries.
|
java.util.List<FriendlyURLEntry> |
getFriendlyURLEntries(long groupId,
long classNameId,
long classPK) |
java.util.List<FriendlyURLEntry> |
getFriendlyURLEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the friendly url entries matching the UUID and company.
|
java.util.List<FriendlyURLEntry> |
getFriendlyURLEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns a range of friendly url entries matching the UUID and company.
|
int |
getFriendlyURLEntriesCount()
Returns the number of friendly url entries.
|
FriendlyURLEntry |
getFriendlyURLEntry(long friendlyURLEntryId)
Returns the friendly url entry with the primary key.
|
FriendlyURLEntry |
getFriendlyURLEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the friendly url entry matching the UUID and group.
|
FriendlyURLEntryLocalization |
getFriendlyURLEntryLocalization(long friendlyURLEntryId,
java.lang.String languageId) |
java.util.List<FriendlyURLEntryLocalization> |
getFriendlyURLEntryLocalizations(long friendlyURLEntryId) |
java.util.List<FriendlyURLEntryLocalization> |
getFriendlyURLEntryLocalizations(long groupId,
long classNameId,
long classPK,
java.lang.String languageId,
int start,
int end,
OrderByComparator<FriendlyURLEntryLocalization> orderByComparator) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
FriendlyURLEntry |
getMainFriendlyURLEntry(java.lang.Class<?> clazz,
long classPK) |
FriendlyURLEntry |
getMainFriendlyURLEntry(long classNameId,
long classPK) |
java.lang.Class<FriendlyURLEntry> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.lang.String |
getUniqueUrlTitle(long groupId,
long classNameId,
long classPK,
java.lang.String urlTitle) |
FriendlyURLEntryLocalService |
getWrappedService() |
void |
setMainFriendlyURLEntry(FriendlyURLEntry friendlyURLEntry) |
void |
setWrappedService(FriendlyURLEntryLocalService friendlyURLEntryLocalService) |
FriendlyURLEntry |
updateFriendlyURLEntry(FriendlyURLEntry friendlyURLEntry)
Updates the friendly url entry in the database or adds it if it does not yet exist.
|
FriendlyURLEntry |
updateFriendlyURLEntry(long friendlyURLEntryId,
long classNameId,
long classPK,
java.lang.String defaultLanguageId,
java.util.Map<java.lang.String,java.lang.String> urlTitleMap) |
FriendlyURLEntryLocalization |
updateFriendlyURLEntryLocalization(FriendlyURLEntry friendlyURLEntry,
java.lang.String languageId,
java.lang.String urlTitle) |
java.util.List<FriendlyURLEntryLocalization> |
updateFriendlyURLEntryLocalizations(FriendlyURLEntry friendlyURLEntry,
java.util.Map<java.lang.String,java.lang.String> urlTitleMap) |
FriendlyURLEntryLocalization |
updateFriendlyURLLocalization(FriendlyURLEntryLocalization friendlyURLEntryLocalization) |
FriendlyURLEntryLocalization |
updateFriendlyURLLocalization(long friendlyURLLocalizationId,
java.lang.String urlTitle) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(UnsafeFunction<CTPersistence<FriendlyURLEntry>,R,E> updateUnsafeFunction) |
void |
validate(long groupId,
long classNameId,
long classPK,
java.util.Map<java.lang.String,java.lang.String> urlTitleMap) |
void |
validate(long groupId,
long classNameId,
long classPK,
java.lang.String urlTitle) |
void |
validate(long groupId,
long classNameId,
java.lang.String urlTitle) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic FriendlyURLEntryLocalServiceWrapper(FriendlyURLEntryLocalService friendlyURLEntryLocalService)
public FriendlyURLEntry addFriendlyURLEntry(FriendlyURLEntry friendlyURLEntry)
addFriendlyURLEntry in interface FriendlyURLEntryLocalServicefriendlyURLEntry - the friendly url entrypublic FriendlyURLEntry addFriendlyURLEntry(long groupId, java.lang.Class<?> clazz, long classPK, java.lang.String urlTitle, ServiceContext serviceContext) throws PortalException
addFriendlyURLEntry in interface FriendlyURLEntryLocalServicePortalExceptionpublic FriendlyURLEntry addFriendlyURLEntry(long groupId, long classNameId, long classPK, java.util.Map<java.lang.String,java.lang.String> urlTitleMap, ServiceContext serviceContext) throws PortalException
addFriendlyURLEntry in interface FriendlyURLEntryLocalServicePortalExceptionpublic FriendlyURLEntry addFriendlyURLEntry(long groupId, long classNameId, long classPK, java.lang.String defaultLanguageId, java.util.Map<java.lang.String,java.lang.String> urlTitleMap, ServiceContext serviceContext) throws PortalException
addFriendlyURLEntry in interface FriendlyURLEntryLocalServicePortalExceptionpublic FriendlyURLEntry addFriendlyURLEntry(long groupId, long classNameId, long classPK, java.lang.String urlTitle, ServiceContext serviceContext) throws PortalException
addFriendlyURLEntry in interface FriendlyURLEntryLocalServicePortalExceptionpublic FriendlyURLEntry createFriendlyURLEntry(long friendlyURLEntryId)
createFriendlyURLEntry in interface FriendlyURLEntryLocalServicefriendlyURLEntryId - the primary key for the new friendly url entrypublic PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface FriendlyURLEntryLocalServicecreatePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic FriendlyURLEntry deleteFriendlyURLEntry(FriendlyURLEntry friendlyURLEntry)
deleteFriendlyURLEntry in interface FriendlyURLEntryLocalServicefriendlyURLEntry - the friendly url entrypublic FriendlyURLEntry deleteFriendlyURLEntry(long friendlyURLEntryId) throws PortalException
deleteFriendlyURLEntry in interface FriendlyURLEntryLocalServicefriendlyURLEntryId - the primary key of the friendly url entryPortalException - if a friendly url entry with the primary key could not be foundpublic void deleteFriendlyURLEntry(long groupId,
java.lang.Class<?> clazz,
long classPK)
deleteFriendlyURLEntry in interface FriendlyURLEntryLocalServicepublic void deleteFriendlyURLEntry(long groupId,
long classNameId,
long classPK)
deleteFriendlyURLEntry in interface FriendlyURLEntryLocalServicepublic void deleteFriendlyURLLocalizationEntry(long friendlyURLEntryId,
java.lang.String languageId)
throws PortalException
deleteFriendlyURLLocalizationEntry in interface FriendlyURLEntryLocalServicePortalExceptionpublic void deleteGroupFriendlyURLEntries(long groupId,
long classNameId)
deleteGroupFriendlyURLEntries in interface FriendlyURLEntryLocalServicepublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface FriendlyURLEntryLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(DSLQuery dslQuery)
dslQuery in interface FriendlyURLEntryLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface FriendlyURLEntryLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface FriendlyURLEntryLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.friendly.url.model.impl.FriendlyURLEntryModelImpl.
dynamicQuery in interface FriendlyURLEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.friendly.url.model.impl.FriendlyURLEntryModelImpl.
dynamicQuery in interface FriendlyURLEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface FriendlyURLEntryLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface FriendlyURLEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic FriendlyURLEntry fetchFriendlyURLEntry(long friendlyURLEntryId)
fetchFriendlyURLEntry in interface FriendlyURLEntryLocalServicepublic FriendlyURLEntry fetchFriendlyURLEntry(long groupId, java.lang.Class<?> clazz, java.lang.String urlTitle)
fetchFriendlyURLEntry in interface FriendlyURLEntryLocalServicepublic FriendlyURLEntry fetchFriendlyURLEntry(long groupId, long classNameId, java.lang.String urlTitle)
fetchFriendlyURLEntry in interface FriendlyURLEntryLocalServicepublic FriendlyURLEntry fetchFriendlyURLEntryByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchFriendlyURLEntryByUuidAndGroupId in interface FriendlyURLEntryLocalServiceuuid - the friendly url entry's UUIDgroupId - the primary key of the groupnull if a matching friendly url entry could not be foundpublic FriendlyURLEntryLocalization fetchFriendlyURLEntryLocalization(long groupId, long classNameId, java.lang.String urlTitle)
fetchFriendlyURLEntryLocalization in interface FriendlyURLEntryLocalServicepublic FriendlyURLEntryLocalization fetchFriendlyURLEntryLocalization(long friendlyURLEntryId, java.lang.String languageId)
fetchFriendlyURLEntryLocalization in interface FriendlyURLEntryLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface FriendlyURLEntryLocalServicepublic ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface FriendlyURLEntryLocalServicepublic java.util.List<FriendlyURLEntry> getFriendlyURLEntries(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.friendly.url.model.impl.FriendlyURLEntryModelImpl.
getFriendlyURLEntries in interface FriendlyURLEntryLocalServicestart - the lower bound of the range of friendly url entriesend - the upper bound of the range of friendly url entries (not inclusive)public java.util.List<FriendlyURLEntry> getFriendlyURLEntries(long groupId, long classNameId, long classPK)
getFriendlyURLEntries in interface FriendlyURLEntryLocalServicepublic java.util.List<FriendlyURLEntry> getFriendlyURLEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId)
getFriendlyURLEntriesByUuidAndCompanyId in interface FriendlyURLEntryLocalServiceuuid - the UUID of the friendly url entriescompanyId - the primary key of the companypublic java.util.List<FriendlyURLEntry> getFriendlyURLEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, OrderByComparator<FriendlyURLEntry> orderByComparator)
getFriendlyURLEntriesByUuidAndCompanyId in interface FriendlyURLEntryLocalServiceuuid - the UUID of the friendly url entriescompanyId - the primary key of the companystart - the lower bound of the range of friendly url entriesend - the upper bound of the range of friendly url entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getFriendlyURLEntriesCount()
getFriendlyURLEntriesCount in interface FriendlyURLEntryLocalServicepublic FriendlyURLEntry getFriendlyURLEntry(long friendlyURLEntryId) throws PortalException
getFriendlyURLEntry in interface FriendlyURLEntryLocalServicefriendlyURLEntryId - the primary key of the friendly url entryPortalException - if a friendly url entry with the primary key could not be foundpublic FriendlyURLEntry getFriendlyURLEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException
getFriendlyURLEntryByUuidAndGroupId in interface FriendlyURLEntryLocalServiceuuid - the friendly url entry's UUIDgroupId - the primary key of the groupPortalException - if a matching friendly url entry could not be foundpublic FriendlyURLEntryLocalization getFriendlyURLEntryLocalization(long friendlyURLEntryId, java.lang.String languageId) throws PortalException
getFriendlyURLEntryLocalization in interface FriendlyURLEntryLocalServicePortalExceptionpublic java.util.List<FriendlyURLEntryLocalization> getFriendlyURLEntryLocalizations(long friendlyURLEntryId)
getFriendlyURLEntryLocalizations in interface FriendlyURLEntryLocalServicepublic java.util.List<FriendlyURLEntryLocalization> getFriendlyURLEntryLocalizations(long groupId, long classNameId, long classPK, java.lang.String languageId, int start, int end, OrderByComparator<FriendlyURLEntryLocalization> orderByComparator)
getFriendlyURLEntryLocalizations in interface FriendlyURLEntryLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface FriendlyURLEntryLocalServicepublic FriendlyURLEntry getMainFriendlyURLEntry(java.lang.Class<?> clazz, long classPK) throws PortalException
getMainFriendlyURLEntry in interface FriendlyURLEntryLocalServicePortalExceptionpublic FriendlyURLEntry getMainFriendlyURLEntry(long classNameId, long classPK) throws PortalException
getMainFriendlyURLEntry in interface FriendlyURLEntryLocalServicePortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface FriendlyURLEntryLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface FriendlyURLEntryLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionpublic java.lang.String getUniqueUrlTitle(long groupId,
long classNameId,
long classPK,
java.lang.String urlTitle)
getUniqueUrlTitle in interface FriendlyURLEntryLocalServicepublic void setMainFriendlyURLEntry(FriendlyURLEntry friendlyURLEntry)
setMainFriendlyURLEntry in interface FriendlyURLEntryLocalServicepublic FriendlyURLEntry updateFriendlyURLEntry(FriendlyURLEntry friendlyURLEntry)
updateFriendlyURLEntry in interface FriendlyURLEntryLocalServicefriendlyURLEntry - the friendly url entrypublic FriendlyURLEntry updateFriendlyURLEntry(long friendlyURLEntryId, long classNameId, long classPK, java.lang.String defaultLanguageId, java.util.Map<java.lang.String,java.lang.String> urlTitleMap) throws PortalException
updateFriendlyURLEntry in interface FriendlyURLEntryLocalServicePortalExceptionpublic FriendlyURLEntryLocalization updateFriendlyURLEntryLocalization(FriendlyURLEntry friendlyURLEntry, java.lang.String languageId, java.lang.String urlTitle) throws PortalException
updateFriendlyURLEntryLocalization in interface FriendlyURLEntryLocalServicePortalExceptionpublic java.util.List<FriendlyURLEntryLocalization> updateFriendlyURLEntryLocalizations(FriendlyURLEntry friendlyURLEntry, java.util.Map<java.lang.String,java.lang.String> urlTitleMap) throws PortalException
updateFriendlyURLEntryLocalizations in interface FriendlyURLEntryLocalServicePortalExceptionpublic FriendlyURLEntryLocalization updateFriendlyURLLocalization(FriendlyURLEntryLocalization friendlyURLEntryLocalization)
updateFriendlyURLLocalization in interface FriendlyURLEntryLocalServicepublic FriendlyURLEntryLocalization updateFriendlyURLLocalization(long friendlyURLLocalizationId, java.lang.String urlTitle) throws PortalException
updateFriendlyURLLocalization in interface FriendlyURLEntryLocalServicePortalExceptionpublic void validate(long groupId,
long classNameId,
long classPK,
java.util.Map<java.lang.String,java.lang.String> urlTitleMap)
throws PortalException
validate in interface FriendlyURLEntryLocalServicePortalExceptionpublic void validate(long groupId,
long classNameId,
long classPK,
java.lang.String urlTitle)
throws PortalException
validate in interface FriendlyURLEntryLocalServicePortalExceptionpublic void validate(long groupId,
long classNameId,
java.lang.String urlTitle)
throws PortalException
validate in interface FriendlyURLEntryLocalServicePortalExceptionpublic CTPersistence<FriendlyURLEntry> getCTPersistence()
getCTPersistence in interface FriendlyURLEntryLocalServicegetCTPersistence in interface CTService<FriendlyURLEntry>public java.lang.Class<FriendlyURLEntry> getModelClass()
getModelClass in interface FriendlyURLEntryLocalServicegetModelClass in interface CTService<FriendlyURLEntry>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(UnsafeFunction<CTPersistence<FriendlyURLEntry>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface FriendlyURLEntryLocalServiceupdateWithUnsafeFunction in interface CTService<FriendlyURLEntry>E extends java.lang.Throwablepublic FriendlyURLEntryLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<FriendlyURLEntryLocalService>public void setWrappedService(FriendlyURLEntryLocalService friendlyURLEntryLocalService)
setWrappedService in interface ServiceWrapper<FriendlyURLEntryLocalService>