@ProviderType public interface DepotAppCustomizationPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DepotAppCustomization>
Caching information and settings can be found in portal.properties
DepotAppCustomizationUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DepotAppCustomization depotAppCustomization)
Caches the depot app customization in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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,
java.lang.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 = ?.
|
DepotAppCustomization |
create(long depotAppCustomizationId)
Creates a new depot app customization with the primary key.
|
DepotAppCustomization |
fetchByD_E(long depotEntryId,
boolean enabled)
Returns the depot app customization where depotEntryId = ? and enabled = ? or returns
null if it could not be found. |
DepotAppCustomization |
fetchByD_E(long depotEntryId,
boolean enabled,
boolean useFinderCache)
Returns the depot app customization where depotEntryId = ? and enabled = ? or returns
null if it could not be found, optionally using the finder cache. |
DepotAppCustomization |
fetchByD_P(long depotEntryId,
java.lang.String portletId)
Returns the depot app customization where depotEntryId = ? and portletId = ? or returns
null if it could not be found. |
DepotAppCustomization |
fetchByD_P(long depotEntryId,
java.lang.String portletId,
boolean useFinderCache)
Returns the depot app customization where depotEntryId = ? and portletId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
DepotAppCustomization |
fetchByPrimaryKey(long depotAppCustomizationId)
Returns the depot app customization with the primary key or returns
null if it could not be found. |
java.util.List<DepotAppCustomization> |
findAll()
Returns all the depot app customizations.
|
java.util.List<DepotAppCustomization> |
findAll(int start,
int end)
Returns a range of all the depot app customizations.
|
java.util.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.
|
java.util.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.
|
DepotAppCustomization |
findByD_E(long depotEntryId,
boolean enabled)
Returns the depot app customization where depotEntryId = ? and enabled = ? or throws a
NoSuchAppCustomizationException if it could not be found. |
DepotAppCustomization |
findByD_P(long depotEntryId,
java.lang.String portletId)
Returns the depot app customization where depotEntryId = ? and portletId = ? or throws a
NoSuchAppCustomizationException if it could not be found. |
DepotAppCustomization |
findByDepotEntryId_First(long depotEntryId,
com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator)
Returns the first depot app customization in the ordered set where depotEntryId = ?.
|
DepotAppCustomization |
findByDepotEntryId_Last(long depotEntryId,
com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator)
Returns the last depot app customization in the ordered set where depotEntryId = ?.
|
DepotAppCustomization[] |
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 = ?.
|
java.util.List<DepotAppCustomization> |
findByDepotEntryId(long depotEntryId)
Returns all the depot app customizations where depotEntryId = ?.
|
java.util.List<DepotAppCustomization> |
findByDepotEntryId(long depotEntryId,
int start,
int end)
Returns a range of all the depot app customizations where depotEntryId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
DepotAppCustomization |
findByPrimaryKey(long depotAppCustomizationId)
Returns the depot app customization with the primary key or throws a
NoSuchAppCustomizationException if it could not be found. |
DepotAppCustomization |
remove(long depotAppCustomizationId)
Removes the depot app customization with the primary key from the database.
|
void |
removeAll()
Removes all the depot app customizations from the database.
|
DepotAppCustomization |
removeByD_E(long depotEntryId,
boolean enabled)
Removes the depot app customization where depotEntryId = ? and enabled = ? from the database.
|
DepotAppCustomization |
removeByD_P(long depotEntryId,
java.lang.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.
|
DepotAppCustomization |
updateImpl(DepotAppCustomization depotAppCustomization) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<DepotAppCustomization> findByDepotEntryId(long depotEntryId)
depotEntryId
- the depot entry IDjava.util.List<DepotAppCustomization> findByDepotEntryId(long depotEntryId, 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 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 DepotAppCustomizationModelImpl
.
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)java.util.List<DepotAppCustomization> findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> 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 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 DepotAppCustomizationModelImpl
.
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 (optionally null
)java.util.List<DepotAppCustomization> findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator, boolean useFinderCache)
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 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 DepotAppCustomizationModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheDepotAppCustomization findByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) throws NoSuchAppCustomizationException
depotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppCustomizationException
- if a matching depot app customization could not be foundDepotAppCustomization fetchByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator)
depotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching depot app customization could not be foundDepotAppCustomization findByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) throws NoSuchAppCustomizationException
depotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppCustomizationException
- if a matching depot app customization could not be foundDepotAppCustomization fetchByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator)
depotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching depot app customization could not be foundDepotAppCustomization[] findByDepotEntryId_PrevAndNext(long depotAppCustomizationId, long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator) throws NoSuchAppCustomizationException
depotAppCustomizationId
- the primary key of the current depot app customizationdepotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppCustomizationException
- if a depot app customization with the primary key could not be foundvoid removeByDepotEntryId(long depotEntryId)
depotEntryId
- the depot entry IDint countByDepotEntryId(long depotEntryId)
depotEntryId
- the depot entry IDDepotAppCustomization findByD_E(long depotEntryId, boolean enabled) throws NoSuchAppCustomizationException
NoSuchAppCustomizationException
if it could not be found.depotEntryId
- the depot entry IDenabled
- the enabledNoSuchAppCustomizationException
- if a matching depot app customization could not be foundDepotAppCustomization fetchByD_E(long depotEntryId, boolean enabled)
null
if it could not be found. Uses the finder cache.depotEntryId
- the depot entry IDenabled
- the enablednull
if a matching depot app customization could not be foundDepotAppCustomization fetchByD_E(long depotEntryId, boolean enabled, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.depotEntryId
- the depot entry IDenabled
- the enableduseFinderCache
- whether to use the finder cachenull
if a matching depot app customization could not be foundDepotAppCustomization removeByD_E(long depotEntryId, boolean enabled) throws NoSuchAppCustomizationException
depotEntryId
- the depot entry IDenabled
- the enabledNoSuchAppCustomizationException
int countByD_E(long depotEntryId, boolean enabled)
depotEntryId
- the depot entry IDenabled
- the enabledDepotAppCustomization findByD_P(long depotEntryId, java.lang.String portletId) throws NoSuchAppCustomizationException
NoSuchAppCustomizationException
if it could not be found.depotEntryId
- the depot entry IDportletId
- the portlet IDNoSuchAppCustomizationException
- if a matching depot app customization could not be foundDepotAppCustomization fetchByD_P(long depotEntryId, java.lang.String portletId)
null
if it could not be found. Uses the finder cache.depotEntryId
- the depot entry IDportletId
- the portlet IDnull
if a matching depot app customization could not be foundDepotAppCustomization fetchByD_P(long depotEntryId, java.lang.String portletId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.depotEntryId
- the depot entry IDportletId
- the portlet IDuseFinderCache
- whether to use the finder cachenull
if a matching depot app customization could not be foundDepotAppCustomization removeByD_P(long depotEntryId, java.lang.String portletId) throws NoSuchAppCustomizationException
depotEntryId
- the depot entry IDportletId
- the portlet IDNoSuchAppCustomizationException
int countByD_P(long depotEntryId, java.lang.String portletId)
depotEntryId
- the depot entry IDportletId
- the portlet IDvoid cacheResult(DepotAppCustomization depotAppCustomization)
depotAppCustomization
- the depot app customizationvoid cacheResult(java.util.List<DepotAppCustomization> depotAppCustomizations)
depotAppCustomizations
- the depot app customizationsDepotAppCustomization create(long depotAppCustomizationId)
depotAppCustomizationId
- the primary key for the new depot app customizationDepotAppCustomization remove(long depotAppCustomizationId) throws NoSuchAppCustomizationException
depotAppCustomizationId
- the primary key of the depot app customizationNoSuchAppCustomizationException
- if a depot app customization with the primary key could not be foundDepotAppCustomization updateImpl(DepotAppCustomization depotAppCustomization)
DepotAppCustomization findByPrimaryKey(long depotAppCustomizationId) throws NoSuchAppCustomizationException
NoSuchAppCustomizationException
if it could not be found.depotAppCustomizationId
- the primary key of the depot app customizationNoSuchAppCustomizationException
- if a depot app customization with the primary key could not be foundDepotAppCustomization fetchByPrimaryKey(long depotAppCustomizationId)
null
if it could not be found.depotAppCustomizationId
- the primary key of the depot app customizationnull
if a depot app customization with the primary key could not be foundjava.util.List<DepotAppCustomization> findAll()
java.util.List<DepotAppCustomization> findAll(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 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 DepotAppCustomizationModelImpl
.
start
- the lower bound of the range of depot app customizationsend
- the upper bound of the range of depot app customizations (not inclusive)java.util.List<DepotAppCustomization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> 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 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 DepotAppCustomizationModelImpl
.
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 (optionally null
)java.util.List<DepotAppCustomization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotAppCustomization> orderByComparator, boolean useFinderCache)
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 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 DepotAppCustomizationModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()