com.liferay.portal.service.persistence
Interface ContactPersistence
- All Known Implementing Classes:
- ContactPersistenceImpl
- public interface ContactPersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByCompanyId(long companyId)
|
com.liferay.portal.model.Contact |
create(long contactId)
|
com.liferay.portal.model.Contact |
fetchByPrimaryKey(long contactId)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.Contact |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.Contact |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.Contact[] |
findByCompanyId_PrevAndNext(long contactId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByCompanyId(long companyId)
|
java.util.List |
findByCompanyId(long companyId,
int begin,
int end)
|
java.util.List |
findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.Contact |
findByPrimaryKey(long contactId)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
com.liferay.portal.model.Contact |
remove(com.liferay.portal.model.Contact contact)
|
com.liferay.portal.model.Contact |
remove(long contactId)
|
void |
removeAll()
|
void |
removeByCompanyId(long companyId)
|
com.liferay.portal.model.Contact |
update(com.liferay.portal.model.Contact contact)
|
com.liferay.portal.model.Contact |
update(com.liferay.portal.model.Contact contact,
boolean merge)
|
create
public com.liferay.portal.model.Contact create(long contactId)
remove
public com.liferay.portal.model.Contact remove(long contactId)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchContactException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchContactException
remove
public com.liferay.portal.model.Contact remove(com.liferay.portal.model.Contact contact)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portal.model.Contact update(com.liferay.portal.model.Contact contact)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portal.model.Contact update(com.liferay.portal.model.Contact contact,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portal.model.Contact findByPrimaryKey(long contactId)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchContactException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchContactException
fetchByPrimaryKey
public com.liferay.portal.model.Contact fetchByPrimaryKey(long contactId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public com.liferay.portal.model.Contact findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchContactException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchContactException
findByCompanyId_Last
public com.liferay.portal.model.Contact findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchContactException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchContactException
findByCompanyId_PrevAndNext
public com.liferay.portal.model.Contact[] findByCompanyId_PrevAndNext(long contactId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchContactException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchContactException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException