@ProviderType public interface WebDAVPropsPersistence extends BasePersistence<WebDAVProps>
Caching information and settings can be found in portal.properties
WebDAVPropsPersistenceImpl
,
WebDAVPropsUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(List<WebDAVProps> webDAVPropses)
Caches the web dav propses in the entity cache if it is enabled.
|
void |
cacheResult(WebDAVProps webDAVProps)
Caches the web dav props in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of web dav propses.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of web dav propses where classNameId = ? and classPK = ?.
|
WebDAVProps |
create(long webDavPropsId)
Creates a new web dav props with the primary key.
|
WebDAVProps |
fetchByC_C(long classNameId,
long classPK)
Returns the web dav props where classNameId = ? and classPK = ? or returns
null if it could not be found. |
WebDAVProps |
fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
Returns the web dav props where classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
WebDAVProps |
fetchByPrimaryKey(long webDavPropsId)
Returns the web dav props with the primary key or returns
null if it could not be found. |
Map<Serializable,WebDAVProps> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
List<WebDAVProps> |
findAll()
Returns all the web dav propses.
|
List<WebDAVProps> |
findAll(int start,
int end)
Returns a range of all the web dav propses.
|
List<WebDAVProps> |
findAll(int start,
int end,
OrderByComparator<WebDAVProps> orderByComparator)
Returns an ordered range of all the web dav propses.
|
List<WebDAVProps> |
findAll(int start,
int end,
OrderByComparator<WebDAVProps> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the web dav propses.
|
WebDAVProps |
findByC_C(long classNameId,
long classPK)
Returns the web dav props where classNameId = ? and classPK = ? or throws a
NoSuchWebDAVPropsException if it could not be found. |
WebDAVProps |
findByPrimaryKey(long webDavPropsId)
Returns the web dav props with the primary key or throws a
NoSuchWebDAVPropsException if it could not be found. |
WebDAVProps |
remove(long webDavPropsId)
Removes the web dav props with the primary key from the database.
|
void |
removeAll()
Removes all the web dav propses from the database.
|
WebDAVProps |
removeByC_C(long classNameId,
long classPK)
Removes the web dav props where classNameId = ? and classPK = ? from the database.
|
WebDAVProps |
updateImpl(WebDAVProps webDAVProps) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
WebDAVProps findByC_C(long classNameId, long classPK) throws NoSuchWebDAVPropsException
NoSuchWebDAVPropsException
if it could not be found.classNameId
- the class name IDclassPK
- the class pkNoSuchWebDAVPropsException
- if a matching web dav props could not be foundWebDAVProps fetchByC_C(long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.classNameId
- the class name IDclassPK
- the class pknull
if a matching web dav props could not be foundWebDAVProps fetchByC_C(long classNameId, long classPK, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.classNameId
- the class name IDclassPK
- the class pkretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching web dav props could not be foundWebDAVProps removeByC_C(long classNameId, long classPK) throws NoSuchWebDAVPropsException
classNameId
- the class name IDclassPK
- the class pkNoSuchWebDAVPropsException
int countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkvoid cacheResult(WebDAVProps webDAVProps)
webDAVProps
- the web dav propsvoid cacheResult(List<WebDAVProps> webDAVPropses)
webDAVPropses
- the web dav propsesWebDAVProps create(long webDavPropsId)
webDavPropsId
- the primary key for the new web dav propsWebDAVProps remove(long webDavPropsId) throws NoSuchWebDAVPropsException
webDavPropsId
- the primary key of the web dav propsNoSuchWebDAVPropsException
- if a web dav props with the primary key could not be foundWebDAVProps updateImpl(WebDAVProps webDAVProps)
WebDAVProps findByPrimaryKey(long webDavPropsId) throws NoSuchWebDAVPropsException
NoSuchWebDAVPropsException
if it could not be found.webDavPropsId
- the primary key of the web dav propsNoSuchWebDAVPropsException
- if a web dav props with the primary key could not be foundWebDAVProps fetchByPrimaryKey(long webDavPropsId)
null
if it could not be found.webDavPropsId
- the primary key of the web dav propsnull
if a web dav props with the primary key could not be foundMap<Serializable,WebDAVProps> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface BasePersistence<WebDAVProps>
List<WebDAVProps> findAll()
List<WebDAVProps> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WebDAVPropsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of web dav propsesend
- the upper bound of the range of web dav propses (not inclusive)List<WebDAVProps> findAll(int start, int end, OrderByComparator<WebDAVProps> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WebDAVPropsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of web dav propsesend
- the upper bound of the range of web dav propses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<WebDAVProps> findAll(int start, int end, OrderByComparator<WebDAVProps> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WebDAVPropsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of web dav propsesend
- the upper bound of the range of web dav propses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()