com.liferay.portal.service.persistence
Interface WebDAVPropsPersistence

All Superinterfaces:
BasePersistence

@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface WebDAVPropsPersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByC_C(long classNameId, long classPK)
           
 WebDAVProps create(long webDavPropsId)
           
 WebDAVProps fetchByC_C(long classNameId, long classPK)
           
 WebDAVProps fetchByPrimaryKey(long webDavPropsId)
           
 java.util.List<WebDAVProps> findAll()
           
 java.util.List<WebDAVProps> findAll(int start, int end)
           
 java.util.List<WebDAVProps> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WebDAVProps findByC_C(long classNameId, long classPK)
           
 WebDAVProps findByPrimaryKey(long webDavPropsId)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 WebDAVProps remove(long webDavPropsId)
           
 WebDAVProps remove(WebDAVProps webDAVProps)
           
 void removeAll()
           
 void removeByC_C(long classNameId, long classPK)
           
 WebDAVProps update(WebDAVProps webDAVProps)
          Deprecated. Use update(WebDAVProps webDAVProps, boolean merge).
 WebDAVProps update(WebDAVProps webDAVProps, boolean merge)
          Add, update, or merge, the entity.
 WebDAVProps updateImpl(WebDAVProps webDAVProps, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

create

WebDAVProps create(long webDavPropsId)

remove

WebDAVProps remove(long webDavPropsId)
                   throws NoSuchWebDAVPropsException,
                          com.liferay.portal.SystemException
Throws:
NoSuchWebDAVPropsException
com.liferay.portal.SystemException

remove

WebDAVProps remove(WebDAVProps webDAVProps)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

WebDAVProps update(WebDAVProps webDAVProps)
                   throws com.liferay.portal.SystemException
Deprecated. Use update(WebDAVProps webDAVProps, boolean merge).

Throws:
com.liferay.portal.SystemException

update

WebDAVProps update(WebDAVProps webDAVProps,
                   boolean merge)
                   throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
webDAVProps - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when webDAVProps is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

WebDAVProps updateImpl(WebDAVProps webDAVProps,
                       boolean merge)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

@Transactional(propagation=SUPPORTS,
               readOnly=true)
WebDAVProps findByPrimaryKey(long webDavPropsId)
                             throws NoSuchWebDAVPropsException,
                                    com.liferay.portal.SystemException
Throws:
NoSuchWebDAVPropsException
com.liferay.portal.SystemException

fetchByPrimaryKey

WebDAVProps fetchByPrimaryKey(long webDavPropsId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

@Transactional(propagation=SUPPORTS,
               readOnly=true)
WebDAVProps findByC_C(long classNameId,
                                    long classPK)
                      throws NoSuchWebDAVPropsException,
                             com.liferay.portal.SystemException
Throws:
NoSuchWebDAVPropsException
com.liferay.portal.SystemException

fetchByC_C

WebDAVProps fetchByC_C(long classNameId,
                       long classPK)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<WebDAVProps> findAll()
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<WebDAVProps> findAll(int start,
                                                  int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<WebDAVProps> findAll(int start,
                                                  int end,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_C

void removeByC_C(long classNameId,
                 long classPK)
                 throws NoSuchWebDAVPropsException,
                        com.liferay.portal.SystemException
Throws:
NoSuchWebDAVPropsException
com.liferay.portal.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_C

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByC_C(long classNameId,
                             long classPK)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException