@ProviderType public interface AppBuilderAppDeploymentPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AppBuilderAppDeployment>
Caching information and settings can be found in portal.properties
AppBuilderAppDeploymentUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(AppBuilderAppDeployment appBuilderAppDeployment)
Caches the app builder app deployment in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<AppBuilderAppDeployment> appBuilderAppDeployments)
Caches the app builder app deployments in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of app builder app deployments.
|
int |
countByA_T(long appBuilderAppId,
java.lang.String type)
Returns the number of app builder app deployments where appBuilderAppId = ? and type = ?.
|
int |
countByAppBuilderAppId(long appBuilderAppId)
Returns the number of app builder app deployments where appBuilderAppId = ?.
|
AppBuilderAppDeployment |
create(long appBuilderAppDeploymentId)
Creates a new app builder app deployment with the primary key.
|
AppBuilderAppDeployment |
fetchByA_T(long appBuilderAppId,
java.lang.String type)
Returns the app builder app deployment where appBuilderAppId = ? and type = ? or returns
null if it could not be found. |
AppBuilderAppDeployment |
fetchByA_T(long appBuilderAppId,
java.lang.String type,
boolean useFinderCache)
Returns the app builder app deployment where appBuilderAppId = ? and type = ? or returns
null if it could not be found, optionally using the finder cache. |
AppBuilderAppDeployment |
fetchByAppBuilderAppId_First(long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> orderByComparator)
Returns the first app builder app deployment in the ordered set where appBuilderAppId = ?.
|
AppBuilderAppDeployment |
fetchByAppBuilderAppId_Last(long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> orderByComparator)
Returns the last app builder app deployment in the ordered set where appBuilderAppId = ?.
|
AppBuilderAppDeployment |
fetchByPrimaryKey(long appBuilderAppDeploymentId)
Returns the app builder app deployment with the primary key or returns
null if it could not be found. |
java.util.List<AppBuilderAppDeployment> |
findAll()
Returns all the app builder app deployments.
|
java.util.List<AppBuilderAppDeployment> |
findAll(int start,
int end)
Returns a range of all the app builder app deployments.
|
java.util.List<AppBuilderAppDeployment> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> orderByComparator)
Returns an ordered range of all the app builder app deployments.
|
java.util.List<AppBuilderAppDeployment> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the app builder app deployments.
|
AppBuilderAppDeployment |
findByA_T(long appBuilderAppId,
java.lang.String type)
Returns the app builder app deployment where appBuilderAppId = ? and type = ? or throws a
NoSuchAppDeploymentException if it could not be found. |
AppBuilderAppDeployment |
findByAppBuilderAppId_First(long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> orderByComparator)
Returns the first app builder app deployment in the ordered set where appBuilderAppId = ?.
|
AppBuilderAppDeployment |
findByAppBuilderAppId_Last(long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> orderByComparator)
Returns the last app builder app deployment in the ordered set where appBuilderAppId = ?.
|
AppBuilderAppDeployment[] |
findByAppBuilderAppId_PrevAndNext(long appBuilderAppDeploymentId,
long appBuilderAppId,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> orderByComparator)
Returns the app builder app deployments before and after the current app builder app deployment in the ordered set where appBuilderAppId = ?.
|
java.util.List<AppBuilderAppDeployment> |
findByAppBuilderAppId(long appBuilderAppId)
Returns all the app builder app deployments where appBuilderAppId = ?.
|
java.util.List<AppBuilderAppDeployment> |
findByAppBuilderAppId(long appBuilderAppId,
int start,
int end)
Returns a range of all the app builder app deployments where appBuilderAppId = ?.
|
java.util.List<AppBuilderAppDeployment> |
findByAppBuilderAppId(long appBuilderAppId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> orderByComparator)
Returns an ordered range of all the app builder app deployments where appBuilderAppId = ?.
|
java.util.List<AppBuilderAppDeployment> |
findByAppBuilderAppId(long appBuilderAppId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the app builder app deployments where appBuilderAppId = ?.
|
AppBuilderAppDeployment |
findByPrimaryKey(long appBuilderAppDeploymentId)
Returns the app builder app deployment with the primary key or throws a
NoSuchAppDeploymentException if it could not be found. |
AppBuilderAppDeployment |
remove(long appBuilderAppDeploymentId)
Removes the app builder app deployment with the primary key from the database.
|
void |
removeAll()
Removes all the app builder app deployments from the database.
|
AppBuilderAppDeployment |
removeByA_T(long appBuilderAppId,
java.lang.String type)
Removes the app builder app deployment where appBuilderAppId = ? and type = ? from the database.
|
void |
removeByAppBuilderAppId(long appBuilderAppId)
Removes all the app builder app deployments where appBuilderAppId = ? from the database.
|
AppBuilderAppDeployment |
updateImpl(AppBuilderAppDeployment appBuilderAppDeployment) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<AppBuilderAppDeployment> findByAppBuilderAppId(long appBuilderAppId)
appBuilderAppId
- the app builder app IDjava.util.List<AppBuilderAppDeployment> findByAppBuilderAppId(long appBuilderAppId, 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 AppBuilderAppDeploymentModelImpl
.
appBuilderAppId
- the app builder app IDstart
- the lower bound of the range of app builder app deploymentsend
- the upper bound of the range of app builder app deployments (not inclusive)java.util.List<AppBuilderAppDeployment> findByAppBuilderAppId(long appBuilderAppId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> 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 AppBuilderAppDeploymentModelImpl
.
appBuilderAppId
- the app builder app IDstart
- the lower bound of the range of app builder app deploymentsend
- the upper bound of the range of app builder app deployments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<AppBuilderAppDeployment> findByAppBuilderAppId(long appBuilderAppId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> 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 AppBuilderAppDeploymentModelImpl
.
appBuilderAppId
- the app builder app IDstart
- the lower bound of the range of app builder app deploymentsend
- the upper bound of the range of app builder app deployments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAppBuilderAppDeployment findByAppBuilderAppId_First(long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> orderByComparator) throws NoSuchAppDeploymentException
appBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppDeploymentException
- if a matching app builder app deployment could not be foundAppBuilderAppDeployment fetchByAppBuilderAppId_First(long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> orderByComparator)
appBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app deployment could not be foundAppBuilderAppDeployment findByAppBuilderAppId_Last(long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> orderByComparator) throws NoSuchAppDeploymentException
appBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppDeploymentException
- if a matching app builder app deployment could not be foundAppBuilderAppDeployment fetchByAppBuilderAppId_Last(long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> orderByComparator)
appBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching app builder app deployment could not be foundAppBuilderAppDeployment[] findByAppBuilderAppId_PrevAndNext(long appBuilderAppDeploymentId, long appBuilderAppId, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> orderByComparator) throws NoSuchAppDeploymentException
appBuilderAppDeploymentId
- the primary key of the current app builder app deploymentappBuilderAppId
- the app builder app IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAppDeploymentException
- if a app builder app deployment with the primary key could not be foundvoid removeByAppBuilderAppId(long appBuilderAppId)
appBuilderAppId
- the app builder app IDint countByAppBuilderAppId(long appBuilderAppId)
appBuilderAppId
- the app builder app IDAppBuilderAppDeployment findByA_T(long appBuilderAppId, java.lang.String type) throws NoSuchAppDeploymentException
NoSuchAppDeploymentException
if it could not be found.appBuilderAppId
- the app builder app IDtype
- the typeNoSuchAppDeploymentException
- if a matching app builder app deployment could not be foundAppBuilderAppDeployment fetchByA_T(long appBuilderAppId, java.lang.String type)
null
if it could not be found. Uses the finder cache.appBuilderAppId
- the app builder app IDtype
- the typenull
if a matching app builder app deployment could not be foundAppBuilderAppDeployment fetchByA_T(long appBuilderAppId, java.lang.String type, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.appBuilderAppId
- the app builder app IDtype
- the typeuseFinderCache
- whether to use the finder cachenull
if a matching app builder app deployment could not be foundAppBuilderAppDeployment removeByA_T(long appBuilderAppId, java.lang.String type) throws NoSuchAppDeploymentException
appBuilderAppId
- the app builder app IDtype
- the typeNoSuchAppDeploymentException
int countByA_T(long appBuilderAppId, java.lang.String type)
appBuilderAppId
- the app builder app IDtype
- the typevoid cacheResult(AppBuilderAppDeployment appBuilderAppDeployment)
appBuilderAppDeployment
- the app builder app deploymentvoid cacheResult(java.util.List<AppBuilderAppDeployment> appBuilderAppDeployments)
appBuilderAppDeployments
- the app builder app deploymentsAppBuilderAppDeployment create(long appBuilderAppDeploymentId)
appBuilderAppDeploymentId
- the primary key for the new app builder app deploymentAppBuilderAppDeployment remove(long appBuilderAppDeploymentId) throws NoSuchAppDeploymentException
appBuilderAppDeploymentId
- the primary key of the app builder app deploymentNoSuchAppDeploymentException
- if a app builder app deployment with the primary key could not be foundAppBuilderAppDeployment updateImpl(AppBuilderAppDeployment appBuilderAppDeployment)
AppBuilderAppDeployment findByPrimaryKey(long appBuilderAppDeploymentId) throws NoSuchAppDeploymentException
NoSuchAppDeploymentException
if it could not be found.appBuilderAppDeploymentId
- the primary key of the app builder app deploymentNoSuchAppDeploymentException
- if a app builder app deployment with the primary key could not be foundAppBuilderAppDeployment fetchByPrimaryKey(long appBuilderAppDeploymentId)
null
if it could not be found.appBuilderAppDeploymentId
- the primary key of the app builder app deploymentnull
if a app builder app deployment with the primary key could not be foundjava.util.List<AppBuilderAppDeployment> findAll()
java.util.List<AppBuilderAppDeployment> 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 AppBuilderAppDeploymentModelImpl
.
start
- the lower bound of the range of app builder app deploymentsend
- the upper bound of the range of app builder app deployments (not inclusive)java.util.List<AppBuilderAppDeployment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> 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 AppBuilderAppDeploymentModelImpl
.
start
- the lower bound of the range of app builder app deploymentsend
- the upper bound of the range of app builder app deployments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<AppBuilderAppDeployment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AppBuilderAppDeployment> 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 AppBuilderAppDeploymentModelImpl
.
start
- the lower bound of the range of app builder app deploymentsend
- the upper bound of the range of app builder app deployments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()