public class DepotEntryLocalServiceWrapper extends java.lang.Object implements DepotEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DepotEntryLocalService>
DepotEntryLocalService
.DepotEntryLocalService
Constructor and Description |
---|
DepotEntryLocalServiceWrapper(DepotEntryLocalService depotEntryLocalService) |
Modifier and Type | Method and Description |
---|---|
DepotEntry |
addDepotEntry(DepotEntry depotEntry)
Adds the depot entry to the database.
|
DepotEntry |
addDepotEntry(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
DepotEntry |
createDepotEntry(long depotEntryId)
Creates a new depot entry with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
DepotEntry |
deleteDepotEntry(DepotEntry depotEntry)
Deletes the depot entry from the database.
|
DepotEntry |
deleteDepotEntry(long depotEntryId)
Deletes the depot entry with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
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.
|
DepotEntry |
fetchDepotEntry(long depotEntryId) |
DepotEntry |
fetchDepotEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the depot entry matching the UUID and group.
|
DepotEntry |
fetchGroupDepotEntry(long groupId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
java.util.List<DepotEntry> |
getDepotEntries(int start,
int end)
Returns a range of all the depot entries.
|
java.util.List<DepotEntry> |
getDepotEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the depot entries matching the UUID and company.
|
java.util.List<DepotEntry> |
getDepotEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
Returns a range of depot entries matching the UUID and company.
|
int |
getDepotEntriesCount()
Returns the number of depot entries.
|
DepotEntry |
getDepotEntry(long depotEntryId)
Returns the depot entry with the primary key.
|
DepotEntry |
getDepotEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the depot entry matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
java.util.List<DepotEntry> |
getGroupConnectedDepotEntries(long groupId,
boolean ddmStructuresAvailable,
int start,
int end) |
java.util.List<DepotEntry> |
getGroupConnectedDepotEntries(long groupId,
int start,
int end) |
int |
getGroupConnectedDepotEntriesCount(long groupId) |
DepotEntry |
getGroupDepotEntry(long groupId) |
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) |
DepotEntryLocalService |
getWrappedService() |
void |
setWrappedService(DepotEntryLocalService depotEntryLocalService) |
DepotEntry |
updateDepotEntry(DepotEntry depotEntry)
Updates the depot entry in the database or adds it if it does not yet exist.
|
DepotEntry |
updateDepotEntry(long depotEntryId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Map<java.lang.String,java.lang.Boolean> depotAppCustomizationMap,
com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public DepotEntryLocalServiceWrapper(DepotEntryLocalService depotEntryLocalService)
public DepotEntry addDepotEntry(DepotEntry depotEntry)
Important: Inspect DepotEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addDepotEntry
in interface DepotEntryLocalService
depotEntry
- the depot entrypublic DepotEntry addDepotEntry(java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addDepotEntry
in interface DepotEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public DepotEntry createDepotEntry(long depotEntryId)
createDepotEntry
in interface DepotEntryLocalService
depotEntryId
- the primary key for the new depot entrypublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface DepotEntryLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public DepotEntry deleteDepotEntry(DepotEntry depotEntry)
Important: Inspect DepotEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteDepotEntry
in interface DepotEntryLocalService
depotEntry
- the depot entrypublic DepotEntry deleteDepotEntry(long depotEntryId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect DepotEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteDepotEntry
in interface DepotEntryLocalService
depotEntryId
- the primary key of the depot entryPortalException
- if a depot entry with the primary key could not be foundpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface DepotEntryLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface DepotEntryLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface DepotEntryLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface DepotEntryLocalService
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.depot.model.impl.DepotEntryModelImpl
.
dynamicQuery
in interface DepotEntryLocalService
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.depot.model.impl.DepotEntryModelImpl
.
dynamicQuery
in interface DepotEntryLocalService
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 DepotEntryLocalService
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 DepotEntryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic DepotEntry fetchDepotEntry(long depotEntryId)
fetchDepotEntry
in interface DepotEntryLocalService
public DepotEntry fetchDepotEntryByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchDepotEntryByUuidAndGroupId
in interface DepotEntryLocalService
uuid
- the depot entry's UUIDgroupId
- the primary key of the groupnull
if a matching depot entry could not be foundpublic DepotEntry fetchGroupDepotEntry(long groupId)
fetchGroupDepotEntry
in interface DepotEntryLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface DepotEntryLocalService
public java.util.List<DepotEntry> getDepotEntries(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.depot.model.impl.DepotEntryModelImpl
.
getDepotEntries
in interface DepotEntryLocalService
start
- the lower bound of the range of depot entriesend
- the upper bound of the range of depot entries (not inclusive)public java.util.List<DepotEntry> getDepotEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId)
getDepotEntriesByUuidAndCompanyId
in interface DepotEntryLocalService
uuid
- the UUID of the depot entriescompanyId
- the primary key of the companypublic java.util.List<DepotEntry> getDepotEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntry> orderByComparator)
getDepotEntriesByUuidAndCompanyId
in interface DepotEntryLocalService
uuid
- the UUID of the depot entriescompanyId
- the primary key of the companystart
- the lower bound of the range of depot entriesend
- the upper bound of the range of depot entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public int getDepotEntriesCount()
getDepotEntriesCount
in interface DepotEntryLocalService
public DepotEntry getDepotEntry(long depotEntryId) throws com.liferay.portal.kernel.exception.PortalException
getDepotEntry
in interface DepotEntryLocalService
depotEntryId
- the primary key of the depot entryPortalException
- if a depot entry with the primary key could not be foundpublic DepotEntry getDepotEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getDepotEntryByUuidAndGroupId
in interface DepotEntryLocalService
uuid
- the depot entry's UUIDgroupId
- the primary key of the groupPortalException
- if a matching depot entry could not be foundpublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface DepotEntryLocalService
public java.util.List<DepotEntry> getGroupConnectedDepotEntries(long groupId, boolean ddmStructuresAvailable, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getGroupConnectedDepotEntries
in interface DepotEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<DepotEntry> getGroupConnectedDepotEntries(long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getGroupConnectedDepotEntries
in interface DepotEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public int getGroupConnectedDepotEntriesCount(long groupId)
getGroupConnectedDepotEntriesCount
in interface DepotEntryLocalService
public DepotEntry getGroupDepotEntry(long groupId) throws com.liferay.portal.kernel.exception.PortalException
getGroupDepotEntry
in interface DepotEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface DepotEntryLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface DepotEntryLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface DepotEntryLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public DepotEntry updateDepotEntry(DepotEntry depotEntry)
Important: Inspect DepotEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateDepotEntry
in interface DepotEntryLocalService
depotEntry
- the depot entrypublic DepotEntry updateDepotEntry(long depotEntryId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Map<java.lang.String,java.lang.Boolean> depotAppCustomizationMap, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateDepotEntry
in interface DepotEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public DepotEntryLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<DepotEntryLocalService>
public void setWrappedService(DepotEntryLocalService depotEntryLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<DepotEntryLocalService>