|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<LayoutSet>
com.liferay.portal.service.persistence.LayoutSetPersistenceImpl
public class LayoutSetPersistenceImpl
LayoutSetPersistence,
LayoutSetUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
LayoutSetPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
cacheResult(LayoutSet layoutSet)
|
void |
cacheResult(List<LayoutSet> layoutSets)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(LayoutSet layoutSet)
Clears the cache for one instance of this model. |
int |
countAll()
|
int |
countByG_P(long groupId,
boolean privateLayout)
|
int |
countByGroupId(long groupId)
|
int |
countByVirtualHost(String virtualHost)
|
LayoutSet |
create(long layoutSetId)
|
LayoutSet |
fetchByG_P(long groupId,
boolean privateLayout)
|
LayoutSet |
fetchByG_P(long groupId,
boolean privateLayout,
boolean retrieveFromCache)
|
LayoutSet |
fetchByPrimaryKey(long layoutSetId)
|
LayoutSet |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
LayoutSet |
fetchByVirtualHost(String virtualHost)
|
LayoutSet |
fetchByVirtualHost(String virtualHost,
boolean retrieveFromCache)
|
List<LayoutSet> |
findAll()
|
List<LayoutSet> |
findAll(int start,
int end)
|
List<LayoutSet> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
LayoutSet |
findByG_P(long groupId,
boolean privateLayout)
|
LayoutSet |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
|
LayoutSet |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
|
LayoutSet[] |
findByGroupId_PrevAndNext(long layoutSetId,
long groupId,
OrderByComparator orderByComparator)
|
List<LayoutSet> |
findByGroupId(long groupId)
|
List<LayoutSet> |
findByGroupId(long groupId,
int start,
int end)
|
List<LayoutSet> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
LayoutSet |
findByPrimaryKey(long layoutSetId)
|
LayoutSet |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
LayoutSet |
findByVirtualHost(String virtualHost)
|
protected LayoutSet |
getByGroupId_PrevAndNext(Session session,
LayoutSet layoutSet,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
LayoutSet |
remove(long layoutSetId)
|
LayoutSet |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeByG_P(long groupId,
boolean privateLayout)
|
void |
removeByGroupId(long groupId)
|
void |
removeByVirtualHost(String virtualHost)
|
protected LayoutSet |
removeImpl(LayoutSet layoutSet)
Removes the model instance from the database. |
protected LayoutSet |
toUnwrappedModel(LayoutSet layoutSet)
|
LayoutSet |
updateImpl(LayoutSet layoutSet,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_FETCH_BY_VIRTUALHOST
public static final FinderPath FINDER_PATH_COUNT_BY_VIRTUALHOST
public static final FinderPath FINDER_PATH_FETCH_BY_G_P
public static final FinderPath FINDER_PATH_COUNT_BY_G_P
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=AccountPersistence.class) protected AccountPersistence accountPersistence
@BeanReference(type=AddressPersistence.class) protected AddressPersistence addressPersistence
@BeanReference(type=BrowserTrackerPersistence.class) protected BrowserTrackerPersistence browserTrackerPersistence
@BeanReference(type=ClassNamePersistence.class) protected ClassNamePersistence classNamePersistence
@BeanReference(type=CompanyPersistence.class) protected CompanyPersistence companyPersistence
@BeanReference(type=ContactPersistence.class) protected ContactPersistence contactPersistence
@BeanReference(type=CountryPersistence.class) protected CountryPersistence countryPersistence
@BeanReference(type=EmailAddressPersistence.class) protected EmailAddressPersistence emailAddressPersistence
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=ImagePersistence.class) protected ImagePersistence imagePersistence
@BeanReference(type=LayoutPersistence.class) protected LayoutPersistence layoutPersistence
@BeanReference(type=LayoutPrototypePersistence.class) protected LayoutPrototypePersistence layoutPrototypePersistence
@BeanReference(type=LayoutSetPersistence.class) protected LayoutSetPersistence layoutSetPersistence
@BeanReference(type=LayoutSetPrototypePersistence.class) protected LayoutSetPrototypePersistence layoutSetPrototypePersistence
@BeanReference(type=ListTypePersistence.class) protected ListTypePersistence listTypePersistence
@BeanReference(type=LockPersistence.class) protected LockPersistence lockPersistence
@BeanReference(type=MembershipRequestPersistence.class) protected MembershipRequestPersistence membershipRequestPersistence
@BeanReference(type=OrganizationPersistence.class) protected OrganizationPersistence organizationPersistence
@BeanReference(type=OrgGroupPermissionPersistence.class) protected OrgGroupPermissionPersistence orgGroupPermissionPersistence
@BeanReference(type=OrgGroupRolePersistence.class) protected OrgGroupRolePersistence orgGroupRolePersistence
@BeanReference(type=OrgLaborPersistence.class) protected OrgLaborPersistence orgLaborPersistence
@BeanReference(type=PasswordPolicyPersistence.class) protected PasswordPolicyPersistence passwordPolicyPersistence
@BeanReference(type=PasswordPolicyRelPersistence.class) protected PasswordPolicyRelPersistence passwordPolicyRelPersistence
@BeanReference(type=PasswordTrackerPersistence.class) protected PasswordTrackerPersistence passwordTrackerPersistence
@BeanReference(type=PermissionPersistence.class) protected PermissionPersistence permissionPersistence
@BeanReference(type=PhonePersistence.class) protected PhonePersistence phonePersistence
@BeanReference(type=PluginSettingPersistence.class) protected PluginSettingPersistence pluginSettingPersistence
@BeanReference(type=PortletPersistence.class) protected PortletPersistence portletPersistence
@BeanReference(type=PortletItemPersistence.class) protected PortletItemPersistence portletItemPersistence
@BeanReference(type=PortletPreferencesPersistence.class) protected PortletPreferencesPersistence portletPreferencesPersistence
@BeanReference(type=RegionPersistence.class) protected RegionPersistence regionPersistence
@BeanReference(type=ReleasePersistence.class) protected ReleasePersistence releasePersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=ResourceActionPersistence.class) protected ResourceActionPersistence resourceActionPersistence
@BeanReference(type=ResourceCodePersistence.class) protected ResourceCodePersistence resourceCodePersistence
@BeanReference(type=ResourcePermissionPersistence.class) protected ResourcePermissionPersistence resourcePermissionPersistence
@BeanReference(type=RolePersistence.class) protected RolePersistence rolePersistence
@BeanReference(type=ServiceComponentPersistence.class) protected ServiceComponentPersistence serviceComponentPersistence
@BeanReference(type=ShardPersistence.class) protected ShardPersistence shardPersistence
@BeanReference(type=SubscriptionPersistence.class) protected SubscriptionPersistence subscriptionPersistence
@BeanReference(type=TicketPersistence.class) protected TicketPersistence ticketPersistence
@BeanReference(type=TeamPersistence.class) protected TeamPersistence teamPersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=UserGroupPersistence.class) protected UserGroupPersistence userGroupPersistence
@BeanReference(type=UserGroupGroupRolePersistence.class) protected UserGroupGroupRolePersistence userGroupGroupRolePersistence
@BeanReference(type=UserGroupRolePersistence.class) protected UserGroupRolePersistence userGroupRolePersistence
@BeanReference(type=UserIdMapperPersistence.class) protected UserIdMapperPersistence userIdMapperPersistence
@BeanReference(type=UserTrackerPersistence.class) protected UserTrackerPersistence userTrackerPersistence
@BeanReference(type=UserTrackerPathPersistence.class) protected UserTrackerPathPersistence userTrackerPathPersistence
@BeanReference(type=WebDAVPropsPersistence.class) protected WebDAVPropsPersistence webDAVPropsPersistence
@BeanReference(type=WebsitePersistence.class) protected WebsitePersistence websitePersistence
@BeanReference(type=WorkflowDefinitionLinkPersistence.class) protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence
@BeanReference(type=WorkflowInstanceLinkPersistence.class) protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
| Constructor Detail |
|---|
public LayoutSetPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(LayoutSet layoutSet)
cacheResult in interface LayoutSetPersistencepublic void cacheResult(List<LayoutSet> layoutSets)
cacheResult in interface LayoutSetPersistencepublic void clearCache()
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
Caching information and settings can be found in
portal.properties
clearCache in interface BasePersistence<LayoutSet>clearCache in class BasePersistenceImpl<LayoutSet>public void clearCache(LayoutSet layoutSet)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<LayoutSet>clearCache in class BasePersistenceImpl<LayoutSet>layoutSet - the instance of this model to clear the cache forpublic LayoutSet create(long layoutSetId)
create in interface LayoutSetPersistence
public LayoutSet remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<LayoutSet>remove in class BasePersistenceImpl<LayoutSet>primaryKey - the primary key of the model instance to remove
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if a system exception occurred
public LayoutSet remove(long layoutSetId)
throws NoSuchLayoutSetException,
SystemException
remove in interface LayoutSetPersistenceNoSuchLayoutSetException
SystemException
protected LayoutSet removeImpl(LayoutSet layoutSet)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<LayoutSet>layoutSet - the model instance to remove
SystemException - if a system exception occurred
public LayoutSet updateImpl(LayoutSet layoutSet,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface LayoutSetPersistenceupdateImpl in class BasePersistenceImpl<LayoutSet>layoutSet - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected LayoutSet toUnwrappedModel(LayoutSet layoutSet)
public LayoutSet findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<LayoutSet>findByPrimaryKey in class BasePersistenceImpl<LayoutSet>primaryKey - the primary key of the model instance to find
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public LayoutSet findByPrimaryKey(long layoutSetId)
throws NoSuchLayoutSetException,
SystemException
findByPrimaryKey in interface LayoutSetPersistenceNoSuchLayoutSetException
SystemException
public LayoutSet fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<LayoutSet>fetchByPrimaryKey in class BasePersistenceImpl<LayoutSet>primaryKey - the primary key of the model instance to find
null if an instance of this
model with the primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public LayoutSet fetchByPrimaryKey(long layoutSetId)
throws SystemException
fetchByPrimaryKey in interface LayoutSetPersistenceSystemException
public List<LayoutSet> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface LayoutSetPersistenceSystemException
public List<LayoutSet> findByGroupId(long groupId,
int start,
int end)
throws SystemException
findByGroupId in interface LayoutSetPersistenceSystemException
public List<LayoutSet> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByGroupId in interface LayoutSetPersistenceSystemException
public LayoutSet findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchLayoutSetException,
SystemException
findByGroupId_First in interface LayoutSetPersistenceNoSuchLayoutSetException
SystemException
public LayoutSet findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchLayoutSetException,
SystemException
findByGroupId_Last in interface LayoutSetPersistenceNoSuchLayoutSetException
SystemException
public LayoutSet[] findByGroupId_PrevAndNext(long layoutSetId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchLayoutSetException,
SystemException
findByGroupId_PrevAndNext in interface LayoutSetPersistenceNoSuchLayoutSetException
SystemException
protected LayoutSet getByGroupId_PrevAndNext(Session session,
LayoutSet layoutSet,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public LayoutSet findByVirtualHost(String virtualHost)
throws NoSuchLayoutSetException,
SystemException
findByVirtualHost in interface LayoutSetPersistenceNoSuchLayoutSetException
SystemException
public LayoutSet fetchByVirtualHost(String virtualHost)
throws SystemException
fetchByVirtualHost in interface LayoutSetPersistenceSystemException
public LayoutSet fetchByVirtualHost(String virtualHost,
boolean retrieveFromCache)
throws SystemException
fetchByVirtualHost in interface LayoutSetPersistenceSystemException
public LayoutSet findByG_P(long groupId,
boolean privateLayout)
throws NoSuchLayoutSetException,
SystemException
findByG_P in interface LayoutSetPersistenceNoSuchLayoutSetException
SystemException
public LayoutSet fetchByG_P(long groupId,
boolean privateLayout)
throws SystemException
fetchByG_P in interface LayoutSetPersistenceSystemException
public LayoutSet fetchByG_P(long groupId,
boolean privateLayout,
boolean retrieveFromCache)
throws SystemException
fetchByG_P in interface LayoutSetPersistenceSystemException
public List<LayoutSet> findAll()
throws SystemException
findAll in interface LayoutSetPersistenceSystemException
public List<LayoutSet> findAll(int start,
int end)
throws SystemException
findAll in interface LayoutSetPersistenceSystemException
public List<LayoutSet> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface LayoutSetPersistenceSystemException
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface LayoutSetPersistenceSystemException
public void removeByVirtualHost(String virtualHost)
throws NoSuchLayoutSetException,
SystemException
removeByVirtualHost in interface LayoutSetPersistenceNoSuchLayoutSetException
SystemException
public void removeByG_P(long groupId,
boolean privateLayout)
throws NoSuchLayoutSetException,
SystemException
removeByG_P in interface LayoutSetPersistenceNoSuchLayoutSetException
SystemException
public void removeAll()
throws SystemException
removeAll in interface LayoutSetPersistenceSystemException
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface LayoutSetPersistenceSystemException
public int countByVirtualHost(String virtualHost)
throws SystemException
countByVirtualHost in interface LayoutSetPersistenceSystemException
public int countByG_P(long groupId,
boolean privateLayout)
throws SystemException
countByG_P in interface LayoutSetPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface LayoutSetPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||