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 TypeMethodDescriptionintcountByD_E(long depotEntryId, boolean enabled) Returns the number of depot app customizations where depotEntryId = ? and enabled = ?.intcountByD_P(long depotEntryId, String portletId) Returns the number of depot app customizations where depotEntryId = ? and portletId = ?.intcountByDepotEntryId(long depotEntryId) Returns the number of depot app customizations where depotEntryId = ?.create(long depotAppCustomizationId) Creates a new depot app customization with the primary key.default DepotAppCustomizationfetchByD_E(long depotEntryId, boolean enabled) Returns the depot app customization where depotEntryId = ? and enabled = ? or returnsnullif it could not be found.fetchByD_E(long depotEntryId, boolean enabled, boolean useFinderCache) Returns the depot app customization where depotEntryId = ? and enabled = ? or returnsnullif it could not be found, optionally using the finder cache.default DepotAppCustomizationfetchByD_P(long depotEntryId, String portletId) Returns the depot app customization where depotEntryId = ? and portletId = ? or returnsnullif it could not be found.fetchByD_P(long depotEntryId, String portletId, boolean useFinderCache) Returns the depot app customization where depotEntryId = ? and portletId = ? or returnsnullif 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 = ?.fetchByPrimaryKey(long depotAppCustomizationId) Returns the depot app customization with the primary key or returnsnullif it could not be found.findByD_E(long depotEntryId, boolean enabled) Returns the depot app customization where depotEntryId = ? and enabled = ? or throws aNoSuchAppCustomizationExceptionif it could not be found.Returns the depot app customization where depotEntryId = ? and portletId = ? or throws aNoSuchAppCustomizationExceptionif it could not be found.default List<DepotAppCustomization> findByDepotEntryId(long depotEntryId) Returns all the depot app customizations where depotEntryId = ?.default List<DepotAppCustomization> findByDepotEntryId(long depotEntryId, int start, int end) Returns a range of all the depot app customizations where depotEntryId = ?.default 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 = ?.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 = ?.findByPrimaryKey(long depotAppCustomizationId) Returns the depot app customization with the primary key or throws aNoSuchAppCustomizationExceptionif it could not be found.remove(long depotAppCustomizationId) Removes the depot app customization with the primary key 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.voidremoveByDepotEntryId(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
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.depot.model.impl.DepotAppCustomizationModelImpl.- 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
nullif a matching depot app customization 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 aNoSuchAppCustomizationExceptionif 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 returnsnullif 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
nullif 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 aNoSuchAppCustomizationExceptionif 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 returnsnullif 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
nullif 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
-
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 aNoSuchAppCustomizationExceptionif 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 returnsnullif it could not be found.- Parameters:
depotAppCustomizationId- the primary key of the depot app customization- Returns:
- the depot app customization, or
nullif a depot app customization with the primary key could not be found
-
fetchByD_E
Returns the depot app customization where depotEntryId = ? and enabled = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
depotEntryId- the depot entry IDenabled- the enabled- Returns:
- the matching depot app customization, or
nullif a matching depot app customization could not be found
-
fetchByD_P
Returns the depot app customization where depotEntryId = ? and portletId = ? or returnsnullif 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
nullif a matching depot app customization could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.depot.model.impl.DepotAppCustomizationModelImpl.- 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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.depot.model.impl.DepotAppCustomizationModelImpl.- 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
-