Interface WebDAVPropsPersistence
- All Superinterfaces:
BasePersistence<WebDAVProps>
The persistence interface for the web dav props service.
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByC_C(long classNameId, long classPK) Returns the number of web dav propses where classNameId = ? and classPK = ?.create(long webDavPropsId) Creates a new web dav props with the primary key.default WebDAVPropsfetchByC_C(long classNameId, long classPK) Returns the web dav props where classNameId = ? and classPK = ? or returnsnullif it could not be found.fetchByC_C(long classNameId, long classPK, boolean useFinderCache) Returns the web dav props where classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long webDavPropsId) Returns the web dav props with the primary key or returnsnullif it could not be found.findByC_C(long classNameId, long classPK) Returns the web dav props where classNameId = ? and classPK = ? or throws aNoSuchWebDAVPropsExceptionif it could not be found.findByPrimaryKey(long webDavPropsId) Returns the web dav props with the primary key or throws aNoSuchWebDAVPropsExceptionif it could not be found.remove(long webDavPropsId) Removes the web dav props with the primary key from the database.removeByC_C(long classNameId, long classPK) Removes the web dav props where classNameId = ? and classPK = ? from the database.updateImpl(WebDAVProps webDAVProps) 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, update
-
Method Details
-
findByC_C
Returns the web dav props where classNameId = ? and classPK = ? or throws aNoSuchWebDAVPropsExceptionif it could not be found.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the matching web dav props
- Throws:
NoSuchWebDAVPropsException- if a matching web dav props could not be found
-
fetchByC_C
Returns the web dav props where classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
classNameId- the class name IDclassPK- the class pkuseFinderCache- whether to use the finder cache- Returns:
- the matching web dav props, or
nullif a matching web dav props could not be found
-
removeByC_C
Removes the web dav props where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the web dav props that was removed
- Throws:
NoSuchWebDAVPropsException
-
countByC_C
int countByC_C(long classNameId, long classPK) Returns the number of web dav propses where classNameId = ? and classPK = ?.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching web dav propses
-
create
Creates a new web dav props with the primary key. Does not add the web dav props to the database.- Parameters:
webDavPropsId- the primary key for the new web dav props- Returns:
- the new web dav props
-
remove
Removes the web dav props with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
webDavPropsId- the primary key of the web dav props- Returns:
- the web dav props that was removed
- Throws:
NoSuchWebDAVPropsException- if a web dav props with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the web dav props with the primary key or throws aNoSuchWebDAVPropsExceptionif it could not be found.- Parameters:
webDavPropsId- the primary key of the web dav props- Returns:
- the web dav props
- Throws:
NoSuchWebDAVPropsException- if a web dav props with the primary key could not be found
-
fetchByPrimaryKey
Returns the web dav props with the primary key or returnsnullif it could not be found.- Parameters:
webDavPropsId- the primary key of the web dav props- Returns:
- the web dav props, or
nullif a web dav props with the primary key could not be found
-
fetchByC_C
Returns the web dav props where classNameId = ? and classPK = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the matching web dav props, or
nullif a matching web dav props could not be found
-