|
|||||||||
| 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 PortletItemPersistence
| Method Summary | |
|---|---|
int |
countAll()
|
int |
countByG_C(long groupId,
long classNameId)
|
int |
countByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
|
int |
countByG_P_C(long groupId,
java.lang.String portletId,
long classNameId)
|
PortletItem |
create(long portletItemId)
|
PortletItem |
fetchByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
|
PortletItem |
fetchByPrimaryKey(long portletItemId)
|
java.util.List<PortletItem> |
findAll()
|
java.util.List<PortletItem> |
findAll(int start,
int end)
|
java.util.List<PortletItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PortletItem |
findByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PortletItem |
findByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PortletItem[] |
findByG_C_PrevAndNext(long portletItemId,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<PortletItem> |
findByG_C(long groupId,
long classNameId)
|
java.util.List<PortletItem> |
findByG_C(long groupId,
long classNameId,
int start,
int end)
|
java.util.List<PortletItem> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PortletItem |
findByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
|
PortletItem |
findByG_P_C_First(long groupId,
java.lang.String portletId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PortletItem |
findByG_P_C_Last(long groupId,
java.lang.String portletId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PortletItem[] |
findByG_P_C_PrevAndNext(long portletItemId,
long groupId,
java.lang.String portletId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<PortletItem> |
findByG_P_C(long groupId,
java.lang.String portletId,
long classNameId)
|
java.util.List<PortletItem> |
findByG_P_C(long groupId,
java.lang.String portletId,
long classNameId,
int start,
int end)
|
java.util.List<PortletItem> |
findByG_P_C(long groupId,
java.lang.String portletId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
PortletItem |
findByPrimaryKey(long portletItemId)
|
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)
|
PortletItem |
remove(long portletItemId)
|
PortletItem |
remove(PortletItem portletItem)
|
void |
removeAll()
|
void |
removeByG_C(long groupId,
long classNameId)
|
void |
removeByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
|
void |
removeByG_P_C(long groupId,
java.lang.String portletId,
long classNameId)
|
void |
unregisterListener(ModelListener listener)
|
PortletItem |
update(PortletItem portletItem)
Deprecated. Use update(PortletItem portletItem, boolean merge). |
PortletItem |
update(PortletItem portletItem,
boolean merge)
Add, update, or merge, the entity. |
PortletItem |
updateImpl(PortletItem portletItem,
boolean merge)
|
| Method Detail |
|---|
PortletItem create(long portletItemId)
PortletItem remove(long portletItemId)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
NoSuchPortletItemException
com.liferay.portal.SystemException
PortletItem remove(PortletItem portletItem)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
PortletItem update(PortletItem portletItem)
throws com.liferay.portal.SystemException
update(PortletItem portletItem, boolean merge).
com.liferay.portal.SystemException
PortletItem update(PortletItem portletItem,
boolean merge)
throws com.liferay.portal.SystemException
portletItem - 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 portletItem is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
PortletItem updateImpl(PortletItem portletItem,
boolean merge)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
PortletItem findByPrimaryKey(long portletItemId)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
NoSuchPortletItemException
com.liferay.portal.SystemException
PortletItem fetchByPrimaryKey(long portletItemId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PortletItem> findByG_C(long groupId,
long classNameId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PortletItem> findByG_C(long groupId,
long classNameId,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PortletItem> findByG_C(long groupId,
long classNameId,
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)
PortletItem findByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
NoSuchPortletItemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
PortletItem findByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
NoSuchPortletItemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
PortletItem[] findByG_C_PrevAndNext(long portletItemId,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
NoSuchPortletItemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PortletItem> findByG_P_C(long groupId,
java.lang.String portletId,
long classNameId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PortletItem> findByG_P_C(long groupId,
java.lang.String portletId,
long classNameId,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PortletItem> findByG_P_C(long groupId,
java.lang.String portletId,
long classNameId,
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)
PortletItem findByG_P_C_First(long groupId,
java.lang.String portletId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
NoSuchPortletItemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
PortletItem findByG_P_C_Last(long groupId,
java.lang.String portletId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
NoSuchPortletItemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
PortletItem[] findByG_P_C_PrevAndNext(long portletItemId,
long groupId,
java.lang.String portletId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
NoSuchPortletItemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
PortletItem findByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
NoSuchPortletItemException
com.liferay.portal.SystemException
PortletItem fetchByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
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)
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<PortletItem> findAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PortletItem> findAll(int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PortletItem> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByG_C(long groupId,
long classNameId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByG_P_C(long groupId,
java.lang.String portletId,
long classNameId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
NoSuchPortletItemException
com.liferay.portal.SystemException
void removeAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByG_C(long groupId,
long classNameId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByG_P_C(long groupId,
java.lang.String portletId,
long classNameId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
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 | ||||||||