Interface DepotAppCustomizationPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DepotAppCustomization>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DepotAppCustomization>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(DepotAppCustomization depotAppCustomization) Caches the depot app customization in the entity cache if it is enabled.void
cacheResult
(List<DepotAppCustomization> depotAppCustomizations) Caches the depot app customizations in the entity cache if it is enabled.int
countAll()
Returns the number of depot app customizations.int
countByD_E
(long depotEntryId, boolean enabled) Returns the number of depot app customizations where depotEntryId = ? and enabled = ?.int
countByD_P
(long depotEntryId, String portletId) Returns the number of depot app customizations where depotEntryId = ? and portletId = ?.int
countByDepotEntryId
(long depotEntryId) Returns the number of depot app customizations where depotEntryId = ?.create
(long depotAppCustomizationId) Creates a new depot app customization with the primary key.fetchByD_E
(long depotEntryId, boolean enabled) Returns the depot app customization where depotEntryId = ? and enabled = ? or returnsnull
if it could not be found.fetchByD_E
(long depotEntryId, boolean enabled, boolean useFinderCache) Returns the depot app customization where depotEntryId = ? and enabled = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByD_P
(long depotEntryId, String portletId) Returns the depot app customization where depotEntryId = ? and portletId = ? or returnsnull
if it could not be found.fetchByD_P
(long depotEntryId, String portletId, boolean useFinderCache) Returns the depot app customization where depotEntryId = ? and portletId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByDepotEntryId_First
(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) Returns the first depot app customization in the ordered set where depotEntryId = ?.fetchByDepotEntryId_Last
(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) Returns the last depot app customization in the ordered set where depotEntryId = ?.fetchByPrimaryKey
(long depotAppCustomizationId) Returns the depot app customization with the primary key or returnsnull
if it could not be found.findAll()
Returns all the depot app customizations.findAll
(int start, int end) Returns a range of all the depot app customizations.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) Returns an ordered range of all the depot app customizations.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the depot app customizations.findByD_E
(long depotEntryId, boolean enabled) Returns the depot app customization where depotEntryId = ? and enabled = ? or throws aNoSuchAppCustomizationException
if it could not be found.Returns the depot app customization where depotEntryId = ? and portletId = ? or throws aNoSuchAppCustomizationException
if it could not be found.findByDepotEntryId
(long depotEntryId) Returns all the depot app customizations where depotEntryId = ?.findByDepotEntryId
(long depotEntryId, int start, int end) Returns a range of all the depot app customizations where depotEntryId = ?.findByDepotEntryId
(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) Returns an ordered range of all the depot app customizations where depotEntryId = ?.findByDepotEntryId
(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the depot app customizations where depotEntryId = ?.findByDepotEntryId_First
(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) Returns the first depot app customization in the ordered set where depotEntryId = ?.findByDepotEntryId_Last
(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) Returns the last depot app customization in the ordered set where depotEntryId = ?.findByDepotEntryId_PrevAndNext
(long depotAppCustomizationId, long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) Returns the depot app customizations before and after the current depot app customization in the ordered set where depotEntryId = ?.findByPrimaryKey
(long depotAppCustomizationId) Returns the depot app customization with the primary key or throws aNoSuchAppCustomizationException
if it could not be found.remove
(long depotAppCustomizationId) Removes the depot app customization with the primary key from the database.void
Removes all the depot app customizations from the database.removeByD_E
(long depotEntryId, boolean enabled) Removes the depot app customization where depotEntryId = ? and enabled = ? from the database.removeByD_P
(long depotEntryId, String portletId) Removes the depot app customization where depotEntryId = ? and portletId = ? from the database.void
removeByDepotEntryId
(long depotEntryId) Removes all the depot app customizations where depotEntryId = ? from the database.updateImpl
(DepotAppCustomization depotAppCustomization) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByDepotEntryId
Returns all the depot app customizations where depotEntryId = ?.- Parameters:
depotEntryId
- the depot entry ID- Returns:
- the matching depot app customizations
-
findByDepotEntryId
Returns a range of all the depot app customizations where depotEntryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDepotAppCustomizationModelImpl
.- Parameters:
depotEntryId
- the depot entry IDstart
- the lower bound of the range of depot app customizationsend
- the upper bound of the range of depot app customizations (not inclusive)- Returns:
- the range of matching depot app customizations
-
findByDepotEntryId
List<DepotAppCustomization> findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) Returns an ordered range of all the depot app customizations where depotEntryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDepotAppCustomizationModelImpl
.- Parameters:
depotEntryId
- the depot entry IDstart
- the lower bound of the range of depot app customizationsend
- the upper bound of the range of depot app customizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching depot app customizations
-
findByDepotEntryId
List<DepotAppCustomization> findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the depot app customizations where depotEntryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDepotAppCustomizationModelImpl
.- Parameters:
depotEntryId
- the depot entry IDstart
- the lower bound of the range of depot app customizationsend
- the upper bound of the range of depot app customizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching depot app customizations
-
findByDepotEntryId_First
DepotAppCustomization findByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) throws NoSuchAppCustomizationException Returns the first depot app customization in the ordered set where depotEntryId = ?.- Parameters:
depotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching depot app customization
- Throws:
NoSuchAppCustomizationException
- if a matching depot app customization could not be found
-
fetchByDepotEntryId_First
DepotAppCustomization fetchByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) Returns the first depot app customization in the ordered set where depotEntryId = ?.- Parameters:
depotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching depot app customization, or
null
if a matching depot app customization could not be found
-
findByDepotEntryId_Last
DepotAppCustomization findByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) throws NoSuchAppCustomizationException Returns the last depot app customization in the ordered set where depotEntryId = ?.- Parameters:
depotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching depot app customization
- Throws:
NoSuchAppCustomizationException
- if a matching depot app customization could not be found
-
fetchByDepotEntryId_Last
DepotAppCustomization fetchByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) Returns the last depot app customization in the ordered set where depotEntryId = ?.- Parameters:
depotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching depot app customization, or
null
if a matching depot app customization could not be found
-
findByDepotEntryId_PrevAndNext
DepotAppCustomization[] findByDepotEntryId_PrevAndNext(long depotAppCustomizationId, long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) throws NoSuchAppCustomizationException Returns the depot app customizations before and after the current depot app customization in the ordered set where depotEntryId = ?.- Parameters:
depotAppCustomizationId
- the primary key of the current depot app customizationdepotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next depot app customization
- Throws:
NoSuchAppCustomizationException
- if a depot app customization with the primary key could not be found
-
removeByDepotEntryId
void removeByDepotEntryId(long depotEntryId) Removes all the depot app customizations where depotEntryId = ? from the database.- Parameters:
depotEntryId
- the depot entry ID
-
countByDepotEntryId
int countByDepotEntryId(long depotEntryId) Returns the number of depot app customizations where depotEntryId = ?.- Parameters:
depotEntryId
- the depot entry ID- Returns:
- the number of matching depot app customizations
-
findByD_E
DepotAppCustomization findByD_E(long depotEntryId, boolean enabled) throws NoSuchAppCustomizationException Returns the depot app customization where depotEntryId = ? and enabled = ? or throws aNoSuchAppCustomizationException
if it could not be found.- Parameters:
depotEntryId
- the depot entry IDenabled
- the enabled- Returns:
- the matching depot app customization
- Throws:
NoSuchAppCustomizationException
- if a matching depot app customization could not be found
-
fetchByD_E
Returns the depot app customization where depotEntryId = ? and enabled = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
depotEntryId
- the depot entry IDenabled
- the enabled- Returns:
- the matching depot app customization, or
null
if a matching depot app customization could not be found
-
fetchByD_E
Returns the depot app customization where depotEntryId = ? and enabled = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
depotEntryId
- the depot entry IDenabled
- the enableduseFinderCache
- whether to use the finder cache- Returns:
- the matching depot app customization, or
null
if a matching depot app customization could not be found
-
removeByD_E
DepotAppCustomization removeByD_E(long depotEntryId, boolean enabled) throws NoSuchAppCustomizationException Removes the depot app customization where depotEntryId = ? and enabled = ? from the database.- Parameters:
depotEntryId
- the depot entry IDenabled
- the enabled- Returns:
- the depot app customization that was removed
- Throws:
NoSuchAppCustomizationException
-
countByD_E
int countByD_E(long depotEntryId, boolean enabled) Returns the number of depot app customizations where depotEntryId = ? and enabled = ?.- Parameters:
depotEntryId
- the depot entry IDenabled
- the enabled- Returns:
- the number of matching depot app customizations
-
findByD_P
DepotAppCustomization findByD_P(long depotEntryId, String portletId) throws NoSuchAppCustomizationException Returns the depot app customization where depotEntryId = ? and portletId = ? or throws aNoSuchAppCustomizationException
if it could not be found.- Parameters:
depotEntryId
- the depot entry IDportletId
- the portlet ID- Returns:
- the matching depot app customization
- Throws:
NoSuchAppCustomizationException
- if a matching depot app customization could not be found
-
fetchByD_P
Returns the depot app customization where depotEntryId = ? and portletId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
depotEntryId
- the depot entry IDportletId
- the portlet ID- Returns:
- the matching depot app customization, or
null
if a matching depot app customization could not be found
-
fetchByD_P
Returns the depot app customization where depotEntryId = ? and portletId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
depotEntryId
- the depot entry IDportletId
- the portlet IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching depot app customization, or
null
if a matching depot app customization could not be found
-
removeByD_P
DepotAppCustomization removeByD_P(long depotEntryId, String portletId) throws NoSuchAppCustomizationException Removes the depot app customization where depotEntryId = ? and portletId = ? from the database.- Parameters:
depotEntryId
- the depot entry IDportletId
- the portlet ID- Returns:
- the depot app customization that was removed
- Throws:
NoSuchAppCustomizationException
-
countByD_P
Returns the number of depot app customizations where depotEntryId = ? and portletId = ?.- Parameters:
depotEntryId
- the depot entry IDportletId
- the portlet ID- Returns:
- the number of matching depot app customizations
-
cacheResult
Caches the depot app customization in the entity cache if it is enabled.- Parameters:
depotAppCustomization
- the depot app customization
-
cacheResult
Caches the depot app customizations in the entity cache if it is enabled.- Parameters:
depotAppCustomizations
- the depot app customizations
-
create
Creates a new depot app customization with the primary key. Does not add the depot app customization to the database.- Parameters:
depotAppCustomizationId
- the primary key for the new depot app customization- Returns:
- the new depot app customization
-
remove
Removes the depot app customization with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
depotAppCustomizationId
- the primary key of the depot app customization- Returns:
- the depot app customization that was removed
- Throws:
NoSuchAppCustomizationException
- if a depot app customization with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
DepotAppCustomization findByPrimaryKey(long depotAppCustomizationId) throws NoSuchAppCustomizationException Returns the depot app customization with the primary key or throws aNoSuchAppCustomizationException
if it could not be found.- Parameters:
depotAppCustomizationId
- the primary key of the depot app customization- Returns:
- the depot app customization
- Throws:
NoSuchAppCustomizationException
- if a depot app customization with the primary key could not be found
-
fetchByPrimaryKey
Returns the depot app customization with the primary key or returnsnull
if it could not be found.- Parameters:
depotAppCustomizationId
- the primary key of the depot app customization- Returns:
- the depot app customization, or
null
if a depot app customization with the primary key could not be found
-
findAll
List<DepotAppCustomization> findAll()Returns all the depot app customizations.- Returns:
- the depot app customizations
-
findAll
Returns a range of all the depot app customizations.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDepotAppCustomizationModelImpl
.- Parameters:
start
- the lower bound of the range of depot app customizationsend
- the upper bound of the range of depot app customizations (not inclusive)- Returns:
- the range of depot app customizations
-
findAll
List<DepotAppCustomization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) Returns an ordered range of all the depot app customizations.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDepotAppCustomizationModelImpl
.- Parameters:
start
- the lower bound of the range of depot app customizationsend
- the upper bound of the range of depot app customizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of depot app customizations
-
findAll
List<DepotAppCustomization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the depot app customizations.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDepotAppCustomizationModelImpl
.- Parameters:
start
- the lower bound of the range of depot app customizationsend
- the upper bound of the range of depot app customizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of depot app customizations
-
removeAll
void removeAll()Removes all the depot app customizations from the database. -
countAll
int countAll()Returns the number of depot app customizations.- Returns:
- the number of depot app customizations
-