public class ChangesetEntryLocalServiceWrapper extends java.lang.Object implements ChangesetEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<ChangesetEntryLocalService>
ChangesetEntryLocalService
.ChangesetEntryLocalService
Constructor and Description |
---|
ChangesetEntryLocalServiceWrapper(ChangesetEntryLocalService changesetEntryLocalService) |
Modifier and Type | Method and Description |
---|---|
ChangesetEntry |
addChangesetEntry(ChangesetEntry changesetEntry)
Adds the changeset entry to the database.
|
ChangesetEntry |
addChangesetEntry(long userId,
long changesetCollectionId,
long classNameId,
long classPK) |
ChangesetEntry |
createChangesetEntry(long changesetEntryId)
Creates a new changeset entry with the primary key.
|
void |
deleteChangesetEntries(long changesetCollectionId) |
void |
deleteChangesetEntries(java.util.Set<java.lang.Long> changesetEntryIds) |
ChangesetEntry |
deleteChangesetEntry(ChangesetEntry changesetEntry)
Deletes the changeset entry from the database.
|
ChangesetEntry |
deleteChangesetEntry(long changesetEntryId)
Deletes the changeset entry with the primary key from the database.
|
void |
deleteEntry(long changesetId,
long classNameId,
long classPK) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
ChangesetEntry |
fetchChangesetEntry(long changesetEntryId) |
ChangesetEntry |
fetchChangesetEntry(long changesetCollectionId,
long classNameId,
long classPK) |
ChangesetEntry |
fetchOrAddChangesetEntry(long changesetCollectionId,
long classNameId,
long classPK) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
java.util.List<ChangesetEntry> |
getChangesetEntries(int start,
int end)
Returns a range of all the changeset entries.
|
java.util.List<ChangesetEntry> |
getChangesetEntries(long changesetCollectionId,
long classNameId) |
int |
getChangesetEntriesCount()
Returns the number of changeset entries.
|
long |
getChangesetEntriesCount(long changesetCollectionId) |
long |
getChangesetEntriesCount(long changesetCollectionId,
long classNameId) |
long |
getChangesetEntriesCount(long changesetCollectionId,
long classNameId,
java.util.Set<java.lang.Long> classPKs) |
ChangesetEntry |
getChangesetEntry(long changesetEntryId)
Returns the changeset entry with the primary key.
|
ChangesetEntry |
getChangesetEntry(long changesetCollectionId,
long classNameId,
long classPK) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
ChangesetEntryLocalService |
getWrappedService() |
void |
setWrappedService(ChangesetEntryLocalService changesetEntryLocalService) |
ChangesetEntry |
updateChangesetEntry(ChangesetEntry changesetEntry)
Updates the changeset entry in the database or adds it if it does not yet exist.
|
public ChangesetEntryLocalServiceWrapper(ChangesetEntryLocalService changesetEntryLocalService)
public ChangesetEntry addChangesetEntry(ChangesetEntry changesetEntry)
addChangesetEntry
in interface ChangesetEntryLocalService
changesetEntry
- the changeset entrypublic ChangesetEntry addChangesetEntry(long userId, long changesetCollectionId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException
addChangesetEntry
in interface ChangesetEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public ChangesetEntry createChangesetEntry(long changesetEntryId)
createChangesetEntry
in interface ChangesetEntryLocalService
changesetEntryId
- the primary key for the new changeset entrypublic void deleteChangesetEntries(long changesetCollectionId) throws com.liferay.portal.kernel.exception.PortalException
deleteChangesetEntries
in interface ChangesetEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteChangesetEntries(java.util.Set<java.lang.Long> changesetEntryIds) throws com.liferay.portal.kernel.exception.PortalException
deleteChangesetEntries
in interface ChangesetEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public ChangesetEntry deleteChangesetEntry(ChangesetEntry changesetEntry)
deleteChangesetEntry
in interface ChangesetEntryLocalService
changesetEntry
- the changeset entrypublic ChangesetEntry deleteChangesetEntry(long changesetEntryId) throws com.liferay.portal.kernel.exception.PortalException
deleteChangesetEntry
in interface ChangesetEntryLocalService
changesetEntryId
- the primary key of the changeset entryPortalException
- if a changeset entry with the primary key could not be foundpublic void deleteEntry(long changesetId, long classNameId, long classPK)
deleteEntry
in interface ChangesetEntryLocalService
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface ChangesetEntryLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface ChangesetEntryLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface ChangesetEntryLocalService
dynamicQuery
- the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.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.changeset.model.impl.ChangesetEntryModelImpl
.
dynamicQuery
in interface ChangesetEntryLocalService
dynamicQuery
- 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.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.changeset.model.impl.ChangesetEntryModelImpl
.
dynamicQuery
in interface ChangesetEntryLocalService
dynamicQuery
- 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface ChangesetEntryLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface ChangesetEntryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic ChangesetEntry fetchChangesetEntry(long changesetEntryId)
fetchChangesetEntry
in interface ChangesetEntryLocalService
public ChangesetEntry fetchChangesetEntry(long changesetCollectionId, long classNameId, long classPK)
fetchChangesetEntry
in interface ChangesetEntryLocalService
public ChangesetEntry fetchOrAddChangesetEntry(long changesetCollectionId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException
fetchOrAddChangesetEntry
in interface ChangesetEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface ChangesetEntryLocalService
public java.util.List<ChangesetEntry> getChangesetEntries(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.changeset.model.impl.ChangesetEntryModelImpl
.
getChangesetEntries
in interface ChangesetEntryLocalService
start
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (not inclusive)public java.util.List<ChangesetEntry> getChangesetEntries(long changesetCollectionId, long classNameId)
getChangesetEntries
in interface ChangesetEntryLocalService
public int getChangesetEntriesCount()
getChangesetEntriesCount
in interface ChangesetEntryLocalService
public long getChangesetEntriesCount(long changesetCollectionId)
getChangesetEntriesCount
in interface ChangesetEntryLocalService
public long getChangesetEntriesCount(long changesetCollectionId, long classNameId)
getChangesetEntriesCount
in interface ChangesetEntryLocalService
public long getChangesetEntriesCount(long changesetCollectionId, long classNameId, java.util.Set<java.lang.Long> classPKs)
getChangesetEntriesCount
in interface ChangesetEntryLocalService
public ChangesetEntry getChangesetEntry(long changesetEntryId) throws com.liferay.portal.kernel.exception.PortalException
getChangesetEntry
in interface ChangesetEntryLocalService
changesetEntryId
- the primary key of the changeset entryPortalException
- if a changeset entry with the primary key could not be foundpublic ChangesetEntry getChangesetEntry(long changesetCollectionId, long classNameId, long classPK) throws NoSuchEntryException
getChangesetEntry
in interface ChangesetEntryLocalService
NoSuchEntryException
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface ChangesetEntryLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface ChangesetEntryLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface ChangesetEntryLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public ChangesetEntry updateChangesetEntry(ChangesetEntry changesetEntry)
updateChangesetEntry
in interface ChangesetEntryLocalService
changesetEntry
- the changeset entrypublic ChangesetEntryLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<ChangesetEntryLocalService>
public void setWrappedService(ChangesetEntryLocalService changesetEntryLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<ChangesetEntryLocalService>