com.liferay.portal.service.persistence
Interface BasePersistence<T extends BaseModel<T>>
- All Known Subinterfaces:
- AccountPersistence, AddressPersistence, AnnouncementsDeliveryPersistence, AnnouncementsEntryPersistence, AnnouncementsFlagPersistence, AssetCategoryPersistence, AssetCategoryPropertyPersistence, AssetEntryPersistence, AssetTagPersistence, AssetTagPropertyPersistence, AssetTagStatsPersistence, AssetVocabularyPersistence, BlogsEntryPersistence, BlogsStatsUserPersistence, BookmarksEntryPersistence, BookmarksFolderPersistence, BrowserTrackerPersistence, CalEventPersistence, ClassNamePersistence, CompanyPersistence, ContactPersistence, CountryPersistence, DLFileEntryPersistence, DLFileRankPersistence, DLFileShortcutPersistence, DLFileVersionPersistence, DLFolderPersistence, EmailAddressPersistence, ExpandoColumnPersistence, ExpandoRowPersistence, ExpandoTablePersistence, ExpandoValuePersistence, GroupPersistence, IGFolderPersistence, IGImagePersistence, ImagePersistence, JournalArticleImagePersistence, JournalArticlePersistence, JournalArticleResourcePersistence, JournalContentSearchPersistence, JournalFeedPersistence, JournalStructurePersistence, JournalTemplatePersistence, LayoutPersistence, LayoutPrototypePersistence, LayoutSetPersistence, LayoutSetPrototypePersistence, ListTypePersistence, LockPersistence, MBBanPersistence, MBCategoryPersistence, MBDiscussionPersistence, MBMailingListPersistence, MBMessageFlagPersistence, MBMessagePersistence, MBStatsUserPersistence, MBThreadPersistence, MembershipRequestPersistence, OrganizationPersistence, OrgGroupPermissionPersistence, OrgGroupRolePersistence, OrgLaborPersistence, PasswordPolicyPersistence, PasswordPolicyRelPersistence, PasswordTrackerPersistence, PermissionPersistence, PhonePersistence, PluginSettingPersistence, PollsChoicePersistence, PollsQuestionPersistence, PollsVotePersistence, PortletItemPersistence, PortletPersistence, PortletPreferencesPersistence, RatingsEntryPersistence, RatingsStatsPersistence, RegionPersistence, ReleasePersistence, ResourceActionPersistence, ResourceCodePersistence, ResourcePermissionPersistence, ResourcePersistence, RolePersistence, SCFrameworkVersionPersistence, SCLicensePersistence, SCProductEntryPersistence, SCProductScreenshotPersistence, SCProductVersionPersistence, ServiceComponentPersistence, ShardPersistence, ShoppingCartPersistence, ShoppingCategoryPersistence, ShoppingCouponPersistence, ShoppingItemFieldPersistence, ShoppingItemPersistence, ShoppingItemPricePersistence, ShoppingOrderItemPersistence, ShoppingOrderPersistence, SocialActivityPersistence, SocialRelationPersistence, SocialRequestPersistence, SubscriptionPersistence, TasksProposalPersistence, TasksReviewPersistence, UserGroupGroupRolePersistence, UserGroupPersistence, UserGroupRolePersistence, UserIdMapperPersistence, UserPersistence, UserTrackerPathPersistence, UserTrackerPersistence, WebDAVPropsPersistence, WebsitePersistence, WikiNodePersistence, WikiPagePersistence, WikiPageResourcePersistence, WorkflowDefinitionLinkPersistence, WorkflowInstanceLinkPersistence
- All Known Implementing Classes:
- BasePersistenceImpl
public interface BasePersistence<T extends BaseModel<T>>
View Source
- Author:
- Brian Wing Shun Chan
clearCache
void clearCache()
findByPrimaryKey
T findByPrimaryKey(java.io.Serializable primaryKey)
throws NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchModelException
com.liferay.portal.kernel.exception.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByPrimaryKey
T fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getListeners
ModelListener<T>[] getListeners()
registerListener
void registerListener(ModelListener<T> listener)
remove
T remove(java.io.Serializable primaryKey)
throws NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchModelException
com.liferay.portal.kernel.exception.SystemException
remove
T remove(T model)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
unregisterListener
void unregisterListener(ModelListener<T> listener)
update
T update(T model,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException