Class LayoutSetPrototypePersistenceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>,com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the layout set prototype persistence.intcountByC_A(long companyId, boolean active) Returns the number of layout set prototypes where companyId = ? and active = ?.intcountByCompanyId(long companyId) Returns the number of layout set prototypes where companyId = ?.intcountByUuid(String uuid) Returns the number of layout set prototypes where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of layout set prototypes where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.LayoutSetPrototypecreate(long layoutSetPrototypeId) Creates a new layout set prototype with the primary key.voiddestroy()com.liferay.portal.kernel.model.LayoutSetPrototypefetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.com.liferay.portal.kernel.model.LayoutSetPrototypefetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ?.com.liferay.portal.kernel.model.LayoutSetPrototypefetchByPrimaryKey(long layoutSetPrototypeId) Returns the layout set prototype with the primary key or returnsnullif it could not be found.com.liferay.portal.kernel.model.LayoutSetPrototypefetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.LayoutSetPrototypefetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ?.intfilterCountByC_A(long companyId, boolean active) Returns the number of layout set prototypes that the user has permission to view where companyId = ? and active = ?.intfilterCountByCompanyId(long companyId) Returns the number of layout set prototypes that the user has permission to view where companyId = ?.intfilterCountByUuid(String uuid) Returns the number of layout set prototypes that the user has permission to view where uuid = ?.intfilterCountByUuid_C(String uuid, long companyId) Returns the number of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.LayoutSetPrototype>filterFindByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ? and active = ?.List<com.liferay.portal.kernel.model.LayoutSetPrototype>filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ?.List<com.liferay.portal.kernel.model.LayoutSetPrototype>filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ?.List<com.liferay.portal.kernel.model.LayoutSetPrototype>filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.LayoutSetPrototype>findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?.com.liferay.portal.kernel.model.LayoutSetPrototypefindByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.List<com.liferay.portal.kernel.model.LayoutSetPrototype>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where companyId = ?.com.liferay.portal.kernel.model.LayoutSetPrototypefindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ?.com.liferay.portal.kernel.model.LayoutSetPrototypefindByPrimaryKey(long layoutSetPrototypeId) Returns the layout set prototype with the primary key or throws aNoSuchLayoutSetPrototypeExceptionif it could not be found.List<com.liferay.portal.kernel.model.LayoutSetPrototype>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where uuid = ?.List<com.liferay.portal.kernel.model.LayoutSetPrototype>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.LayoutSetPrototypefindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.LayoutSetPrototypefindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ?.getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelperprotected com.liferay.portal.kernel.dao.orm.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.portal.kernel.model.LayoutSetPrototyperemove(long layoutSetPrototypeId) Removes the layout set prototype with the primary key from the database.voidremoveByC_A(long companyId, boolean active) Removes all the layout set prototypes where companyId = ? and active = ? from the database.voidremoveByCompanyId(long companyId) Removes all the layout set prototypes where companyId = ? from the database.voidremoveByUuid(String uuid) Removes all the layout set prototypes where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the layout set prototypes where uuid = ? and companyId = ? from the database.protected com.liferay.portal.kernel.model.LayoutSetPrototyperemoveImpl(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype) com.liferay.portal.kernel.model.LayoutSetPrototypeupdateImpl(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, cacheResult, cacheResult, cacheUniqueFindersResult, clearCache, clearCache, clearCache, clearCache, closeSession, convertCaseFunction, convertDateFunction, convertNullFunction, countAll, countWithDynamicQuery, countWithDynamicQuery, createUniqueFinderPath, dslQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDefaultOrderBySQL, getDefaultOrderBySQLInlineDistinct, getDialect, getEntityAlias, getEntityAliasPrefix, getFilterPKColumnName, getListeners, getModelClass, getModelImplClass, getNoSuchEntityWithKeyPrefix, getPKColumnName, getPKFieldName, isPermissionsInMemoryFilterEnabled, newNoSuchModelException, openNewSession, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
filterFindByC_A, filterFindByC_A, filterFindByCompanyId, filterFindByCompanyId, filterFindByUuid, filterFindByUuid, filterFindByUuid_C, filterFindByUuid_C, findByC_A, findByC_A, findByC_A, findByCompanyId, findByCompanyId, findByCompanyId, findByUuid, findByUuid, findByUuid, findByUuid_C, findByUuid_C, findByUuid_C
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
LayoutSetPrototypePersistenceImpl
public LayoutSetPrototypePersistenceImpl()
-
-
Method Details
-
findByUuid
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl.- Specified by:
findByUuidin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of layout set prototypesend- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout set prototypes
-
findByUuid_First
public com.liferay.portal.kernel.model.LayoutSetPrototype findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException Returns the first layout set prototype in the ordered set where uuid = ?.- Specified by:
findByUuid_Firstin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set prototype
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException- if a matching layout set prototype could not be found
-
fetchByUuid_First
public com.liferay.portal.kernel.model.LayoutSetPrototype fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Firstin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set prototype, or
nullif a matching layout set prototype could not be found
-
filterFindByUuid
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl.- Specified by:
filterFindByUuidin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of layout set prototypesend- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout set prototypes that the user has permission to view
-
removeByUuid
Removes all the layout set prototypes where uuid = ? from the database.- Specified by:
removeByUuidin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of layout set prototypes where uuid = ?.- Specified by:
countByUuidin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
uuid- the uuid- Returns:
- the number of matching layout set prototypes
-
filterCountByUuid
Returns the number of layout set prototypes that the user has permission to view where uuid = ?.- Specified by:
filterCountByUuidin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
uuid- the uuid- Returns:
- the number of matching layout set prototypes that the user has permission to view
-
findByUuid_C
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of layout set prototypesend- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout set prototypes
-
findByUuid_C_First
public com.liferay.portal.kernel.model.LayoutSetPrototype findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Firstin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set prototype
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException- if a matching layout set prototype could not be found
-
fetchByUuid_C_First
public com.liferay.portal.kernel.model.LayoutSetPrototype fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Firstin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set prototype, or
nullif a matching layout set prototype could not be found
-
filterFindByUuid_C
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl.- Specified by:
filterFindByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of layout set prototypesend- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout set prototypes that the user has permission to view
-
removeByUuid_C
Removes all the layout set prototypes where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of layout set prototypes where uuid = ? and companyId = ?.- Specified by:
countByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching layout set prototypes
-
filterCountByUuid_C
Returns the number of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.- Specified by:
filterCountByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching layout set prototypes that the user has permission to view
-
findByCompanyId
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of layout set prototypesend- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout set prototypes
-
findByCompanyId_First
public com.liferay.portal.kernel.model.LayoutSetPrototype findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException Returns the first layout set prototype in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Firstin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set prototype
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException- if a matching layout set prototype could not be found
-
fetchByCompanyId_First
public com.liferay.portal.kernel.model.LayoutSetPrototype fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Firstin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set prototype, or
nullif a matching layout set prototype could not be found
-
filterFindByCompanyId
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl.- Specified by:
filterFindByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of layout set prototypesend- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout set prototypes that the user has permission to view
-
removeByCompanyId
public void removeByCompanyId(long companyId) Removes all the layout set prototypes where companyId = ? from the database.- Specified by:
removeByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
companyId- the company ID
-
countByCompanyId
public int countByCompanyId(long companyId) Returns the number of layout set prototypes where companyId = ?.- Specified by:
countByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
companyId- the company ID- Returns:
- the number of matching layout set prototypes
-
filterCountByCompanyId
public int filterCountByCompanyId(long companyId) Returns the number of layout set prototypes that the user has permission to view where companyId = ?.- Specified by:
filterCountByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
companyId- the company ID- Returns:
- the number of matching layout set prototypes that the user has permission to view
-
findByC_A
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl.- Specified by:
findByC_Ain interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of layout set prototypesend- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching layout set prototypes
-
findByC_A_First
public com.liferay.portal.kernel.model.LayoutSetPrototype findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.- Specified by:
findByC_A_Firstin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
companyId- the company IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set prototype
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException- if a matching layout set prototype could not be found
-
fetchByC_A_First
public com.liferay.portal.kernel.model.LayoutSetPrototype fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.- Specified by:
fetchByC_A_Firstin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
companyId- the company IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching layout set prototype, or
nullif a matching layout set prototype could not be found
-
filterFindByC_A
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLayoutSetPrototypeModelImpl.- Specified by:
filterFindByC_Ain interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of layout set prototypesend- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching layout set prototypes that the user has permission to view
-
removeByC_A
public void removeByC_A(long companyId, boolean active) Removes all the layout set prototypes where companyId = ? and active = ? from the database.- Specified by:
removeByC_Ain interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
companyId- the company IDactive- the active
-
countByC_A
public int countByC_A(long companyId, boolean active) Returns the number of layout set prototypes where companyId = ? and active = ?.- Specified by:
countByC_Ain interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
companyId- the company IDactive- the active- Returns:
- the number of matching layout set prototypes
-
filterCountByC_A
public int filterCountByC_A(long companyId, boolean active) Returns the number of layout set prototypes that the user has permission to view where companyId = ? and active = ?.- Specified by:
filterCountByC_Ain interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
companyId- the company IDactive- the active- Returns:
- the number of matching layout set prototypes that the user has permission to view
-
create
public com.liferay.portal.kernel.model.LayoutSetPrototype create(long layoutSetPrototypeId) Creates a new layout set prototype with the primary key. Does not add the layout set prototype to the database.- Specified by:
createin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
layoutSetPrototypeId- the primary key for the new layout set prototype- Returns:
- the new layout set prototype
-
remove
public com.liferay.portal.kernel.model.LayoutSetPrototype remove(long layoutSetPrototypeId) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException Removes the layout set prototype with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
layoutSetPrototypeId- the primary key of the layout set prototype- Returns:
- the layout set prototype that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException- if a layout set prototype with the primary key could not be found
-
removeImpl
protected com.liferay.portal.kernel.model.LayoutSetPrototype removeImpl(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype,com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException>
-
updateImpl
public com.liferay.portal.kernel.model.LayoutSetPrototype updateImpl(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype) - Specified by:
updateImplin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype,com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException>
-
findByPrimaryKey
public com.liferay.portal.kernel.model.LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException Returns the layout set prototype with the primary key or throws aNoSuchLayoutSetPrototypeExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
layoutSetPrototypeId- the primary key of the layout set prototype- Returns:
- the layout set prototype
- Throws:
com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException- if a layout set prototype with the primary key could not be found
-
getCTPersistenceHelper
protected com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelper getCTPersistenceHelper()- Overrides:
getCTPersistenceHelperin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype,com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException>
-
fetchByPrimaryKey
public com.liferay.portal.kernel.model.LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId) Returns the layout set prototype with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence- Parameters:
layoutSetPrototypeId- the primary key of the layout set prototype- Returns:
- the layout set prototype, or
nullif a layout set prototype with the primary key could not be found
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>- Overrides:
getBadColumnNamesin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype,com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype,com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype,com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype,com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype,com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>- Overrides:
getTableNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype,com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the layout set prototype persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype,com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException>
-