Interface ObjectDefinitionSettingPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectDefinitionSetting>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(ObjectDefinitionSetting objectDefinitionSetting) Caches the object definition setting in the entity cache if it is enabled.voidcacheResult(List<ObjectDefinitionSetting> objectDefinitionSettings) Caches the object definition settings in the entity cache if it is enabled.intcountAll()Returns the number of object definition settings.intcountByC_N(long companyId, String name) Returns the number of object definition settings where companyId = ? and name = ?.intcountByObjectDefinitionId(long objectDefinitionId) Returns the number of object definition settings where objectDefinitionId = ?.intcountByODI_N(long objectDefinitionId, String name) Returns the number of object definition settings where objectDefinitionId = ? and name = ?.intcountByUuid(String uuid) Returns the number of object definition settings where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of object definition settings where uuid = ? and companyId = ?.create(long objectDefinitionSettingId) Creates a new object definition setting with the primary key.fetchByC_N_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where companyId = ? and name = ?.fetchByC_N_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where companyId = ? and name = ?.fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where objectDefinitionId = ?.fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where objectDefinitionId = ?.fetchByODI_N(long objectDefinitionId, String name) Returns the object definition setting where objectDefinitionId = ? and name = ? or returnsnullif it could not be found.fetchByODI_N(long objectDefinitionId, String name, boolean useFinderCache) Returns the object definition setting where objectDefinitionId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long objectDefinitionSettingId) Returns the object definition setting with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where uuid = ?.fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where uuid = ?.findAll()Returns all the object definition settings.findAll(int start, int end) Returns a range of all the object definition settings.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns an ordered range of all the object definition settings.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object definition settings.Returns all the object definition settings where companyId = ? and name = ?.Returns a range of all the object definition settings where companyId = ? and name = ?.findByC_N(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns an ordered range of all the object definition settings where companyId = ? and name = ?.findByC_N(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object definition settings where companyId = ? and name = ?.findByC_N_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where companyId = ? and name = ?.findByC_N_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where companyId = ? and name = ?.findByC_N_PrevAndNext(long objectDefinitionSettingId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the object definition settings before and after the current object definition setting in the ordered set where companyId = ? and name = ?.findByObjectDefinitionId(long objectDefinitionId) Returns all the object definition settings where objectDefinitionId = ?.findByObjectDefinitionId(long objectDefinitionId, int start, int end) Returns a range of all the object definition settings where objectDefinitionId = ?.findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns an ordered range of all the object definition settings where objectDefinitionId = ?.findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object definition settings where objectDefinitionId = ?.findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where objectDefinitionId = ?.findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where objectDefinitionId = ?.findByObjectDefinitionId_PrevAndNext(long objectDefinitionSettingId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the object definition settings before and after the current object definition setting in the ordered set where objectDefinitionId = ?.findByODI_N(long objectDefinitionId, String name) Returns the object definition setting where objectDefinitionId = ? and name = ? or throws aNoSuchObjectDefinitionSettingExceptionif it could not be found.findByPrimaryKey(long objectDefinitionSettingId) Returns the object definition setting with the primary key or throws aNoSuchObjectDefinitionSettingExceptionif it could not be found.findByUuid(String uuid) Returns all the object definition settings where uuid = ?.findByUuid(String uuid, int start, int end) Returns a range of all the object definition settings where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns an ordered range of all the object definition settings where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object definition settings where uuid = ?.findByUuid_C(String uuid, long companyId) Returns all the object definition settings where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object definition settings where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns an ordered range of all the object definition settings where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object definition settings where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext(long objectDefinitionSettingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the object definition settings before and after the current object definition setting in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where uuid = ?.findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where uuid = ?.findByUuid_PrevAndNext(long objectDefinitionSettingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the object definition settings before and after the current object definition setting in the ordered set where uuid = ?.remove(long objectDefinitionSettingId) Removes the object definition setting with the primary key from the database.voidRemoves all the object definition settings from the database.voidremoveByC_N(long companyId, String name) Removes all the object definition settings where companyId = ? and name = ? from the database.voidremoveByObjectDefinitionId(long objectDefinitionId) Removes all the object definition settings where objectDefinitionId = ? from the database.removeByODI_N(long objectDefinitionId, String name) Removes the object definition setting where objectDefinitionId = ? and name = ? from the database.voidremoveByUuid(String uuid) Removes all the object definition settings where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the object definition settings where uuid = ? and companyId = ? from the database.updateImpl(ObjectDefinitionSetting objectDefinitionSetting) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the object definition settings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching object definition settings
-
findByUuid
Returns a range of all the object definition settings 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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)- Returns:
- the range of matching object definition settings
-
findByUuid
List<ObjectDefinitionSetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns an ordered range of all the object definition settings 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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object definition settings
-
findByUuid
List<ObjectDefinitionSetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object definition settings 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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object definition settings
-
findByUuid_First
ObjectDefinitionSetting findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) throws NoSuchObjectDefinitionSettingException Returns the first object definition setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object definition setting
- Throws:
NoSuchObjectDefinitionSettingException- if a matching object definition setting could not be found
-
fetchByUuid_First
ObjectDefinitionSetting fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object definition setting, or
nullif a matching object definition setting could not be found
-
findByUuid_Last
ObjectDefinitionSetting findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) throws NoSuchObjectDefinitionSettingException Returns the last object definition setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object definition setting
- Throws:
NoSuchObjectDefinitionSettingException- if a matching object definition setting could not be found
-
fetchByUuid_Last
ObjectDefinitionSetting fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object definition setting, or
nullif a matching object definition setting could not be found
-
findByUuid_PrevAndNext
ObjectDefinitionSetting[] findByUuid_PrevAndNext(long objectDefinitionSettingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) throws NoSuchObjectDefinitionSettingException Returns the object definition settings before and after the current object definition setting in the ordered set where uuid = ?.- Parameters:
objectDefinitionSettingId- the primary key of the current object definition settinguuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object definition setting
- Throws:
NoSuchObjectDefinitionSettingException- if a object definition setting with the primary key could not be found
-
removeByUuid
Removes all the object definition settings where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of object definition settings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching object definition settings
-
findByUuid_C
Returns all the object definition settings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching object definition settings
-
findByUuid_C
Returns a range of all the object definition settings 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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)- Returns:
- the range of matching object definition settings
-
findByUuid_C
List<ObjectDefinitionSetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns an ordered range of all the object definition settings 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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object definition settings
-
findByUuid_C
List<ObjectDefinitionSetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object definition settings 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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object definition settings
-
findByUuid_C_First
ObjectDefinitionSetting findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) throws NoSuchObjectDefinitionSettingException Returns the first object definition setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object definition setting
- Throws:
NoSuchObjectDefinitionSettingException- if a matching object definition setting could not be found
-
fetchByUuid_C_First
ObjectDefinitionSetting fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object definition setting, or
nullif a matching object definition setting could not be found
-
findByUuid_C_Last
ObjectDefinitionSetting findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) throws NoSuchObjectDefinitionSettingException Returns the last object definition setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object definition setting
- Throws:
NoSuchObjectDefinitionSettingException- if a matching object definition setting could not be found
-
fetchByUuid_C_Last
ObjectDefinitionSetting fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object definition setting, or
nullif a matching object definition setting could not be found
-
findByUuid_C_PrevAndNext
ObjectDefinitionSetting[] findByUuid_C_PrevAndNext(long objectDefinitionSettingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) throws NoSuchObjectDefinitionSettingException Returns the object definition settings before and after the current object definition setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectDefinitionSettingId- the primary key of the current object definition settinguuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object definition setting
- Throws:
NoSuchObjectDefinitionSettingException- if a object definition setting with the primary key could not be found
-
removeByUuid_C
Removes all the object definition settings where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of object definition settings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching object definition settings
-
findByObjectDefinitionId
Returns all the object definition settings where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition ID- Returns:
- the matching object definition settings
-
findByObjectDefinitionId
Returns a range of all the object definition settings where objectDefinitionId = ?.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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)- Returns:
- the range of matching object definition settings
-
findByObjectDefinitionId
List<ObjectDefinitionSetting> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns an ordered range of all the object definition settings where objectDefinitionId = ?.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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object definition settings
-
findByObjectDefinitionId
List<ObjectDefinitionSetting> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object definition settings where objectDefinitionId = ?.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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object definition settings
-
findByObjectDefinitionId_First
ObjectDefinitionSetting findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) throws NoSuchObjectDefinitionSettingException Returns the first object definition setting in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object definition setting
- Throws:
NoSuchObjectDefinitionSettingException- if a matching object definition setting could not be found
-
fetchByObjectDefinitionId_First
ObjectDefinitionSetting fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object definition setting, or
nullif a matching object definition setting could not be found
-
findByObjectDefinitionId_Last
ObjectDefinitionSetting findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) throws NoSuchObjectDefinitionSettingException Returns the last object definition setting in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object definition setting
- Throws:
NoSuchObjectDefinitionSettingException- if a matching object definition setting could not be found
-
fetchByObjectDefinitionId_Last
ObjectDefinitionSetting fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object definition setting, or
nullif a matching object definition setting could not be found
-
findByObjectDefinitionId_PrevAndNext
ObjectDefinitionSetting[] findByObjectDefinitionId_PrevAndNext(long objectDefinitionSettingId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) throws NoSuchObjectDefinitionSettingException Returns the object definition settings before and after the current object definition setting in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionSettingId- the primary key of the current object definition settingobjectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object definition setting
- Throws:
NoSuchObjectDefinitionSettingException- if a object definition setting with the primary key could not be found
-
removeByObjectDefinitionId
void removeByObjectDefinitionId(long objectDefinitionId) Removes all the object definition settings where objectDefinitionId = ? from the database.- Parameters:
objectDefinitionId- the object definition ID
-
countByObjectDefinitionId
int countByObjectDefinitionId(long objectDefinitionId) Returns the number of object definition settings where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition ID- Returns:
- the number of matching object definition settings
-
findByC_N
Returns all the object definition settings where companyId = ? and name = ?.- Parameters:
companyId- the company IDname- the name- Returns:
- the matching object definition settings
-
findByC_N
Returns a range of all the object definition settings where companyId = ? and name = ?.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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
companyId- the company IDname- the namestart- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)- Returns:
- the range of matching object definition settings
-
findByC_N
List<ObjectDefinitionSetting> findByC_N(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns an ordered range of all the object definition settings where companyId = ? and name = ?.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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
companyId- the company IDname- the namestart- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object definition settings
-
findByC_N
List<ObjectDefinitionSetting> findByC_N(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object definition settings where companyId = ? and name = ?.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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
companyId- the company IDname- the namestart- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object definition settings
-
findByC_N_First
ObjectDefinitionSetting findByC_N_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) throws NoSuchObjectDefinitionSettingException Returns the first object definition setting in the ordered set where companyId = ? and name = ?.- Parameters:
companyId- the company IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object definition setting
- Throws:
NoSuchObjectDefinitionSettingException- if a matching object definition setting could not be found
-
fetchByC_N_First
ObjectDefinitionSetting fetchByC_N_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where companyId = ? and name = ?.- Parameters:
companyId- the company IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object definition setting, or
nullif a matching object definition setting could not be found
-
findByC_N_Last
ObjectDefinitionSetting findByC_N_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) throws NoSuchObjectDefinitionSettingException Returns the last object definition setting in the ordered set where companyId = ? and name = ?.- Parameters:
companyId- the company IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object definition setting
- Throws:
NoSuchObjectDefinitionSettingException- if a matching object definition setting could not be found
-
fetchByC_N_Last
ObjectDefinitionSetting fetchByC_N_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where companyId = ? and name = ?.- Parameters:
companyId- the company IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object definition setting, or
nullif a matching object definition setting could not be found
-
findByC_N_PrevAndNext
ObjectDefinitionSetting[] findByC_N_PrevAndNext(long objectDefinitionSettingId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) throws NoSuchObjectDefinitionSettingException Returns the object definition settings before and after the current object definition setting in the ordered set where companyId = ? and name = ?.- Parameters:
objectDefinitionSettingId- the primary key of the current object definition settingcompanyId- the company IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object definition setting
- Throws:
NoSuchObjectDefinitionSettingException- if a object definition setting with the primary key could not be found
-
removeByC_N
Removes all the object definition settings where companyId = ? and name = ? from the database.- Parameters:
companyId- the company IDname- the name
-
countByC_N
Returns the number of object definition settings where companyId = ? and name = ?.- Parameters:
companyId- the company IDname- the name- Returns:
- the number of matching object definition settings
-
findByODI_N
ObjectDefinitionSetting findByODI_N(long objectDefinitionId, String name) throws NoSuchObjectDefinitionSettingException Returns the object definition setting where objectDefinitionId = ? and name = ? or throws aNoSuchObjectDefinitionSettingExceptionif it could not be found.- Parameters:
objectDefinitionId- the object definition IDname- the name- Returns:
- the matching object definition setting
- Throws:
NoSuchObjectDefinitionSettingException- if a matching object definition setting could not be found
-
fetchByODI_N
Returns the object definition setting where objectDefinitionId = ? and name = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
objectDefinitionId- the object definition IDname- the name- Returns:
- the matching object definition setting, or
nullif a matching object definition setting could not be found
-
fetchByODI_N
Returns the object definition setting where objectDefinitionId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
objectDefinitionId- the object definition IDname- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching object definition setting, or
nullif a matching object definition setting could not be found
-
removeByODI_N
ObjectDefinitionSetting removeByODI_N(long objectDefinitionId, String name) throws NoSuchObjectDefinitionSettingException Removes the object definition setting where objectDefinitionId = ? and name = ? from the database.- Parameters:
objectDefinitionId- the object definition IDname- the name- Returns:
- the object definition setting that was removed
- Throws:
NoSuchObjectDefinitionSettingException
-
countByODI_N
Returns the number of object definition settings where objectDefinitionId = ? and name = ?.- Parameters:
objectDefinitionId- the object definition IDname- the name- Returns:
- the number of matching object definition settings
-
cacheResult
Caches the object definition setting in the entity cache if it is enabled.- Parameters:
objectDefinitionSetting- the object definition setting
-
cacheResult
Caches the object definition settings in the entity cache if it is enabled.- Parameters:
objectDefinitionSettings- the object definition settings
-
create
Creates a new object definition setting with the primary key. Does not add the object definition setting to the database.- Parameters:
objectDefinitionSettingId- the primary key for the new object definition setting- Returns:
- the new object definition setting
-
remove
ObjectDefinitionSetting remove(long objectDefinitionSettingId) throws NoSuchObjectDefinitionSettingException Removes the object definition setting with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectDefinitionSettingId- the primary key of the object definition setting- Returns:
- the object definition setting that was removed
- Throws:
NoSuchObjectDefinitionSettingException- if a object definition setting with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
ObjectDefinitionSetting findByPrimaryKey(long objectDefinitionSettingId) throws NoSuchObjectDefinitionSettingException Returns the object definition setting with the primary key or throws aNoSuchObjectDefinitionSettingExceptionif it could not be found.- Parameters:
objectDefinitionSettingId- the primary key of the object definition setting- Returns:
- the object definition setting
- Throws:
NoSuchObjectDefinitionSettingException- if a object definition setting with the primary key could not be found
-
fetchByPrimaryKey
Returns the object definition setting with the primary key or returnsnullif it could not be found.- Parameters:
objectDefinitionSettingId- the primary key of the object definition setting- Returns:
- the object definition setting, or
nullif a object definition setting with the primary key could not be found
-
findAll
List<ObjectDefinitionSetting> findAll()Returns all the object definition settings.- Returns:
- the object definition settings
-
findAll
Returns a range of all the object definition settings.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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
start- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)- Returns:
- the range of object definition settings
-
findAll
List<ObjectDefinitionSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns an ordered range of all the object definition settings.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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
start- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of object definition settings
-
findAll
List<ObjectDefinitionSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object definition settings.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 bothstartandendtoQueryUtil#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 fromObjectDefinitionSettingModelImpl.- Parameters:
start- the lower bound of the range of object definition settingsend- the upper bound of the range of object definition settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of object definition settings
-
removeAll
void removeAll()Removes all the object definition settings from the database. -
countAll
int countAll()Returns the number of object definition settings.- Returns:
- the number of object definition settings
-