|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface ListTypePersistence
| Method Summary | |
|---|---|
int |
countAll()
|
int |
countByType(java.lang.String type)
|
ListType |
create(int listTypeId)
|
ListType |
fetchByPrimaryKey(int listTypeId)
|
java.util.List<ListType> |
findAll()
|
java.util.List<ListType> |
findAll(int start,
int end)
|
java.util.List<ListType> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ListType |
findByPrimaryKey(int listTypeId)
|
ListType |
findByType_First(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ListType |
findByType_Last(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ListType[] |
findByType_PrevAndNext(int listTypeId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<ListType> |
findByType(java.lang.String type)
|
java.util.List<ListType> |
findByType(java.lang.String type,
int start,
int end)
|
java.util.List<ListType> |
findByType(java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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)
|
void |
registerListener(ModelListener listener)
|
ListType |
remove(int listTypeId)
|
ListType |
remove(ListType listType)
|
void |
removeAll()
|
void |
removeByType(java.lang.String type)
|
void |
unregisterListener(ModelListener listener)
|
ListType |
update(ListType listType)
Deprecated. Use update(ListType listType, boolean merge). |
ListType |
update(ListType listType,
boolean merge)
Add, update, or merge, the entity. |
ListType |
updateImpl(ListType listType,
boolean merge)
|
| Method Detail |
|---|
ListType create(int listTypeId)
ListType remove(int listTypeId)
throws NoSuchListTypeException,
com.liferay.portal.SystemException
NoSuchListTypeException
com.liferay.portal.SystemException
ListType remove(ListType listType)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ListType update(ListType listType)
throws com.liferay.portal.SystemException
update(ListType listType, boolean merge).
com.liferay.portal.SystemException
ListType update(ListType listType,
boolean merge)
throws com.liferay.portal.SystemException
listType - the entity to add, update, or mergemerge - 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 listType is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
ListType updateImpl(ListType listType,
boolean merge)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ListType findByPrimaryKey(int listTypeId)
throws NoSuchListTypeException,
com.liferay.portal.SystemException
NoSuchListTypeException
com.liferay.portal.SystemException
ListType fetchByPrimaryKey(int listTypeId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ListType> findByType(java.lang.String type)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ListType> findByType(java.lang.String type,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ListType> findByType(java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ListType findByType_First(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchListTypeException,
com.liferay.portal.SystemException
NoSuchListTypeException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ListType findByType_Last(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchListTypeException,
com.liferay.portal.SystemException
NoSuchListTypeException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ListType[] findByType_PrevAndNext(int listTypeId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchListTypeException,
com.liferay.portal.SystemException
NoSuchListTypeException
com.liferay.portal.SystemException
@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
com.liferay.portal.SystemException
@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
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ListType> findAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ListType> findAll(int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ListType> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByType(java.lang.String type)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByType(java.lang.String type)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemExceptionvoid registerListener(ModelListener listener)
void unregisterListener(ModelListener listener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||