public class SegmentsEntryLocalServiceWrapper extends java.lang.Object implements SegmentsEntryLocalService, ServiceWrapper<SegmentsEntryLocalService>
SegmentsEntryLocalService.SegmentsEntryLocalService| Constructor and Description |
|---|
SegmentsEntryLocalServiceWrapper(SegmentsEntryLocalService segmentsEntryLocalService) |
| Modifier and Type | Method and Description |
|---|---|
SegmentsEntry |
addSegmentsEntry(SegmentsEntry segmentsEntry)
Adds the segments entry to the database.
|
SegmentsEntry |
addSegmentsEntry(java.lang.String segmentsEntryKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
boolean active,
java.lang.String criteria,
java.lang.String type,
ServiceContext serviceContext) |
SegmentsEntry |
addSegmentsEntry(java.lang.String segmentsEntryKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
boolean active,
java.lang.String criteria,
java.lang.String source,
java.lang.String type,
ServiceContext serviceContext) |
void |
addSegmentsEntryClassPKs(long segmentsEntryId,
long[] classPKs,
ServiceContext serviceContext) |
PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
SegmentsEntry |
createSegmentsEntry(long segmentsEntryId)
Creates a new segments entry with the primary key.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
void |
deleteSegmentsEntries(long groupId) |
void |
deleteSegmentsEntries(java.lang.String source) |
SegmentsEntry |
deleteSegmentsEntry(long segmentsEntryId)
Deletes the segments entry with the primary key from the database.
|
SegmentsEntry |
deleteSegmentsEntry(SegmentsEntry segmentsEntry)
Deletes the segments entry from the database.
|
void |
deleteSegmentsEntryClassPKs(long segmentsEntryId,
long[] classPKs) |
<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.
|
SegmentsEntry |
fetchSegmentsEntry(long segmentsEntryId) |
SegmentsEntry |
fetchSegmentsEntry(long groupId,
java.lang.String segmentsEntryKey,
boolean includeAncestorSegmentsEntries) |
SegmentsEntry |
fetchSegmentsEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the segments entry matching the UUID and group.
|
ActionableDynamicQuery |
getActionableDynamicQuery() |
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<SegmentsEntry> |
getSegmentsEntries(int start,
int end)
Returns a range of all the segments entries.
|
java.util.List<SegmentsEntry> |
getSegmentsEntries(long groupId,
boolean includeAncestorSegmentsEntries,
int start,
int end,
OrderByComparator<SegmentsEntry> orderByComparator) |
java.util.List<SegmentsEntry> |
getSegmentsEntries(long groupId,
boolean active,
java.lang.String type,
int start,
int end,
OrderByComparator<SegmentsEntry> orderByComparator) |
java.util.List<SegmentsEntry> |
getSegmentsEntries(long groupId,
boolean active,
java.lang.String source,
java.lang.String type,
int start,
int end,
OrderByComparator<SegmentsEntry> orderByComparator) |
java.util.List<SegmentsEntry> |
getSegmentsEntriesBySource(java.lang.String source,
int start,
int end,
OrderByComparator<SegmentsEntry> orderByComparator) |
java.util.List<SegmentsEntry> |
getSegmentsEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the segments entries matching the UUID and company.
|
java.util.List<SegmentsEntry> |
getSegmentsEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator<SegmentsEntry> orderByComparator)
Returns a range of segments entries matching the UUID and company.
|
int |
getSegmentsEntriesCount()
Returns the number of segments entries.
|
int |
getSegmentsEntriesCount(long groupId,
boolean includeAncestorSegmentsEntries) |
SegmentsEntry |
getSegmentsEntry(long segmentsEntryId)
Returns the segments entry with the primary key.
|
SegmentsEntry |
getSegmentsEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the segments entry matching the UUID and group.
|
SegmentsEntryLocalService |
getWrappedService() |
BaseModelSearchResult<SegmentsEntry> |
searchSegmentsEntries(long companyId,
long groupId,
java.lang.String keywords,
boolean includeAncestorSegmentsEntries,
int start,
int end,
Sort sort)
Deprecated.
As of Athanasius (7.3.x), replaced by
searchSegmentsEntries(long, long, String, boolean,
LinkedHashMap, int, int, Sort) |
BaseModelSearchResult<SegmentsEntry> |
searchSegmentsEntries(long companyId,
long groupId,
java.lang.String keywords,
boolean includeAncestorSegmentsEntries,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int start,
int end,
Sort sort) |
BaseModelSearchResult<SegmentsEntry> |
searchSegmentsEntries(SearchContext searchContext) |
void |
setWrappedService(SegmentsEntryLocalService segmentsEntryLocalService) |
SegmentsEntry |
updateSegmentsEntry(long segmentsEntryId,
java.lang.String segmentsEntryKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
boolean active,
java.lang.String criteria,
ServiceContext serviceContext) |
SegmentsEntry |
updateSegmentsEntry(SegmentsEntry segmentsEntry)
Updates the segments entry in the database or adds it if it does not yet exist.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic SegmentsEntryLocalServiceWrapper(SegmentsEntryLocalService segmentsEntryLocalService)
public SegmentsEntry addSegmentsEntry(SegmentsEntry segmentsEntry)
addSegmentsEntry in interface SegmentsEntryLocalServicesegmentsEntry - the segments entrypublic SegmentsEntry addSegmentsEntry(java.lang.String segmentsEntryKey, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, boolean active, java.lang.String criteria, java.lang.String type, ServiceContext serviceContext) throws PortalException
addSegmentsEntry in interface SegmentsEntryLocalServicePortalExceptionpublic SegmentsEntry addSegmentsEntry(java.lang.String segmentsEntryKey, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, boolean active, java.lang.String criteria, java.lang.String source, java.lang.String type, ServiceContext serviceContext) throws PortalException
addSegmentsEntry in interface SegmentsEntryLocalServicePortalExceptionpublic void addSegmentsEntryClassPKs(long segmentsEntryId,
long[] classPKs,
ServiceContext serviceContext)
throws PortalException
addSegmentsEntryClassPKs in interface SegmentsEntryLocalServicePortalExceptionpublic PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface PersistedModelLocalServicecreatePersistedModel in interface SegmentsEntryLocalServicePortalExceptionpublic SegmentsEntry createSegmentsEntry(long segmentsEntryId)
createSegmentsEntry in interface SegmentsEntryLocalServicesegmentsEntryId - the primary key for the new segments entrypublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface SegmentsEntryLocalServicePortalExceptionpublic void deleteSegmentsEntries(long groupId)
throws PortalException
deleteSegmentsEntries in interface SegmentsEntryLocalServicePortalExceptionpublic void deleteSegmentsEntries(java.lang.String source)
throws PortalException
deleteSegmentsEntries in interface SegmentsEntryLocalServicePortalExceptionpublic SegmentsEntry deleteSegmentsEntry(long segmentsEntryId) throws PortalException
deleteSegmentsEntry in interface SegmentsEntryLocalServicesegmentsEntryId - the primary key of the segments entryPortalException - if a segments entry with the primary key could not be foundpublic SegmentsEntry deleteSegmentsEntry(SegmentsEntry segmentsEntry) throws PortalException
deleteSegmentsEntry in interface SegmentsEntryLocalServicesegmentsEntry - the segments entryPortalExceptionpublic void deleteSegmentsEntryClassPKs(long segmentsEntryId,
long[] classPKs)
throws PortalException
deleteSegmentsEntryClassPKs in interface SegmentsEntryLocalServicePortalExceptionpublic <T> T dslQuery(DSLQuery dslQuery)
dslQuery in interface SegmentsEntryLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface SegmentsEntryLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface SegmentsEntryLocalServicedynamicQuery - 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.segments.model.impl.SegmentsEntryModelImpl.
dynamicQuery in interface SegmentsEntryLocalServicedynamicQuery - 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.segments.model.impl.SegmentsEntryModelImpl.
dynamicQuery in interface SegmentsEntryLocalServicedynamicQuery - 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 SegmentsEntryLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface SegmentsEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic SegmentsEntry fetchSegmentsEntry(long segmentsEntryId)
fetchSegmentsEntry in interface SegmentsEntryLocalServicepublic SegmentsEntry fetchSegmentsEntry(long groupId, java.lang.String segmentsEntryKey, boolean includeAncestorSegmentsEntries)
fetchSegmentsEntry in interface SegmentsEntryLocalServicepublic SegmentsEntry fetchSegmentsEntryByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchSegmentsEntryByUuidAndGroupId in interface SegmentsEntryLocalServiceuuid - the segments entry's UUIDgroupId - the primary key of the groupnull if a matching segments entry could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface SegmentsEntryLocalServicepublic ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface SegmentsEntryLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface SegmentsEntryLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface SegmentsEntryLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface SegmentsEntryLocalServicePortalExceptionpublic java.util.List<SegmentsEntry> getSegmentsEntries(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.segments.model.impl.SegmentsEntryModelImpl.
getSegmentsEntries in interface SegmentsEntryLocalServicestart - the lower bound of the range of segments entriesend - the upper bound of the range of segments entries (not inclusive)public java.util.List<SegmentsEntry> getSegmentsEntries(long groupId, boolean includeAncestorSegmentsEntries, int start, int end, OrderByComparator<SegmentsEntry> orderByComparator)
getSegmentsEntries in interface SegmentsEntryLocalServicepublic java.util.List<SegmentsEntry> getSegmentsEntries(long groupId, boolean active, java.lang.String type, int start, int end, OrderByComparator<SegmentsEntry> orderByComparator)
getSegmentsEntries in interface SegmentsEntryLocalServicepublic java.util.List<SegmentsEntry> getSegmentsEntries(long groupId, boolean active, java.lang.String source, java.lang.String type, int start, int end, OrderByComparator<SegmentsEntry> orderByComparator)
getSegmentsEntries in interface SegmentsEntryLocalServicepublic java.util.List<SegmentsEntry> getSegmentsEntriesBySource(java.lang.String source, int start, int end, OrderByComparator<SegmentsEntry> orderByComparator)
getSegmentsEntriesBySource in interface SegmentsEntryLocalServicepublic java.util.List<SegmentsEntry> getSegmentsEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId)
getSegmentsEntriesByUuidAndCompanyId in interface SegmentsEntryLocalServiceuuid - the UUID of the segments entriescompanyId - the primary key of the companypublic java.util.List<SegmentsEntry> getSegmentsEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, OrderByComparator<SegmentsEntry> orderByComparator)
getSegmentsEntriesByUuidAndCompanyId in interface SegmentsEntryLocalServiceuuid - the UUID of the segments entriescompanyId - the primary key of the companystart - the lower bound of the range of segments entriesend - the upper bound of the range of segments entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getSegmentsEntriesCount()
getSegmentsEntriesCount in interface SegmentsEntryLocalServicepublic int getSegmentsEntriesCount(long groupId,
boolean includeAncestorSegmentsEntries)
getSegmentsEntriesCount in interface SegmentsEntryLocalServicepublic SegmentsEntry getSegmentsEntry(long segmentsEntryId) throws PortalException
getSegmentsEntry in interface SegmentsEntryLocalServicesegmentsEntryId - the primary key of the segments entryPortalException - if a segments entry with the primary key could not be foundpublic SegmentsEntry getSegmentsEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException
getSegmentsEntryByUuidAndGroupId in interface SegmentsEntryLocalServiceuuid - the segments entry's UUIDgroupId - the primary key of the groupPortalException - if a matching segments entry could not be found@Deprecated public BaseModelSearchResult<SegmentsEntry> searchSegmentsEntries(long companyId, long groupId, java.lang.String keywords, boolean includeAncestorSegmentsEntries, int start, int end, Sort sort) throws PortalException
searchSegmentsEntries(long, long, String, boolean,
LinkedHashMap, int, int, Sort)searchSegmentsEntries in interface SegmentsEntryLocalServicePortalExceptionpublic BaseModelSearchResult<SegmentsEntry> searchSegmentsEntries(long companyId, long groupId, java.lang.String keywords, boolean includeAncestorSegmentsEntries, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, int start, int end, Sort sort) throws PortalException
searchSegmentsEntries in interface SegmentsEntryLocalServicePortalExceptionpublic BaseModelSearchResult<SegmentsEntry> searchSegmentsEntries(SearchContext searchContext) throws PortalException
searchSegmentsEntries in interface SegmentsEntryLocalServicePortalExceptionpublic SegmentsEntry updateSegmentsEntry(long segmentsEntryId, java.lang.String segmentsEntryKey, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, boolean active, java.lang.String criteria, ServiceContext serviceContext) throws PortalException
updateSegmentsEntry in interface SegmentsEntryLocalServicePortalExceptionpublic SegmentsEntry updateSegmentsEntry(SegmentsEntry segmentsEntry)
updateSegmentsEntry in interface SegmentsEntryLocalServicesegmentsEntry - the segments entrypublic SegmentsEntryLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<SegmentsEntryLocalService>public void setWrappedService(SegmentsEntryLocalService segmentsEntryLocalService)
setWrappedService in interface ServiceWrapper<SegmentsEntryLocalService>