Class ObjectDefinitionSettingUtil
com.liferay.object.service.persistence.impl.ObjectDefinitionSettingPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(ObjectDefinitionSetting objectDefinitionSetting) Caches the object definition setting in the entity cache if it is enabled.static voidcacheResult(List<ObjectDefinitionSetting> objectDefinitionSettings) Caches the object definition settings in the entity cache if it is enabled.static voidstatic voidclearCache(ObjectDefinitionSetting objectDefinitionSetting) static intcountAll()Returns the number of object definition settings.static intcountByObjectDefinitionId(long objectDefinitionId) Returns the number of object definition settings where objectDefinitionId = ?.static intcountByODI_N(long objectDefinitionId, String name) Returns the number of object definition settings where objectDefinitionId = ? and name = ?.static intcountByUuid(String uuid) Returns the number of object definition settings where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of object definition settings where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectDefinitionSettingcreate(long objectDefinitionSettingId) Creates a new object definition setting with the primary key.static ObjectDefinitionSettingfetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where objectDefinitionId = ?.static ObjectDefinitionSettingfetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where objectDefinitionId = ?.static ObjectDefinitionSettingfetchByODI_N(long objectDefinitionId, String name) Returns the object definition setting where objectDefinitionId = ? and name = ? or returnsnullif it could not be found.static ObjectDefinitionSettingfetchByODI_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.static ObjectDefinitionSettingfetchByPrimaryKey(long objectDefinitionSettingId) Returns the object definition setting with the primary key or returnsnullif it could not be found.static Map<Serializable,ObjectDefinitionSetting> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static ObjectDefinitionSettingfetchByUuid_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 = ?.static ObjectDefinitionSettingfetchByUuid_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 = ?.static ObjectDefinitionSettingfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where uuid = ?.static ObjectDefinitionSettingfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where uuid = ?.static List<ObjectDefinitionSetting>findAll()Returns all the object definition settings.static List<ObjectDefinitionSetting>findAll(int start, int end) Returns a range of all the object definition settings.static 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.static 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.static List<ObjectDefinitionSetting>findByObjectDefinitionId(long objectDefinitionId) Returns all the object definition settings where objectDefinitionId = ?.static List<ObjectDefinitionSetting>findByObjectDefinitionId(long objectDefinitionId, int start, int end) Returns a range of all the object definition settings where objectDefinitionId = ?.static 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 = ?.static 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 = ?.static ObjectDefinitionSettingfindByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where objectDefinitionId = ?.static ObjectDefinitionSettingfindByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where objectDefinitionId = ?.static ObjectDefinitionSetting[]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 = ?.static ObjectDefinitionSettingfindByODI_N(long objectDefinitionId, String name) Returns the object definition setting where objectDefinitionId = ? and name = ? or throws aNoSuchObjectDefinitionSettingExceptionif it could not be found.static ObjectDefinitionSettingfindByPrimaryKey(long objectDefinitionSettingId) Returns the object definition setting with the primary key or throws aNoSuchObjectDefinitionSettingExceptionif it could not be found.static List<ObjectDefinitionSetting>findByUuid(String uuid) Returns all the object definition settings where uuid = ?.static List<ObjectDefinitionSetting>findByUuid(String uuid, int start, int end) Returns a range of all the object definition settings where uuid = ?.static 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 = ?.static 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 = ?.static List<ObjectDefinitionSetting>findByUuid_C(String uuid, long companyId) Returns all the object definition settings where uuid = ? and companyId = ?.static List<ObjectDefinitionSetting>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object definition settings where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static ObjectDefinitionSettingfindByUuid_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 = ?.static ObjectDefinitionSettingfindByUuid_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 = ?.static ObjectDefinitionSetting[]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 = ?.static ObjectDefinitionSettingfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the first object definition setting in the ordered set where uuid = ?.static ObjectDefinitionSettingfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) Returns the last object definition setting in the ordered set where uuid = ?.static ObjectDefinitionSetting[]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 = ?.static List<ObjectDefinitionSetting>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectDefinitionSetting>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectDefinitionSetting>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) static ObjectDefinitionSettingremove(long objectDefinitionSettingId) Removes the object definition setting with the primary key from the database.static voidRemoves all the object definition settings from the database.static voidremoveByObjectDefinitionId(long objectDefinitionId) Removes all the object definition settings where objectDefinitionId = ? from the database.static ObjectDefinitionSettingremoveByODI_N(long objectDefinitionId, String name) Removes the object definition setting where objectDefinitionId = ? and name = ? from the database.static voidremoveByUuid(String uuid) Removes all the object definition settings where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the object definition settings where uuid = ? and companyId = ? from the database.static voidsetPersistence(ObjectDefinitionSettingPersistence persistence) static ObjectDefinitionSettingupdate(ObjectDefinitionSetting objectDefinitionSetting) static ObjectDefinitionSettingupdate(ObjectDefinitionSetting objectDefinitionSetting, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectDefinitionSettingupdateImpl(ObjectDefinitionSetting objectDefinitionSetting)
-
Constructor Details
-
ObjectDefinitionSettingUtil
public ObjectDefinitionSettingUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,ObjectDefinitionSetting> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<ObjectDefinitionSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ObjectDefinitionSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ObjectDefinitionSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinitionSetting> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ObjectDefinitionSetting update(ObjectDefinitionSetting objectDefinitionSetting, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static 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
public static 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
public static 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 foundNoSuchObjectDefinitionSettingException
-
fetchByUuid_First
public static 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
public static 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 foundNoSuchObjectDefinitionSettingException
-
fetchByUuid_Last
public static 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
public static 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 foundNoSuchObjectDefinitionSettingException
-
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
public static List<ObjectDefinitionSetting> findByUuid_C(String uuid, long companyId, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchObjectDefinitionSettingException
-
fetchByUuid_C_First
public static 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
public static 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 foundNoSuchObjectDefinitionSettingException
-
fetchByUuid_C_Last
public static 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
public static 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 foundNoSuchObjectDefinitionSettingException
-
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
public static List<ObjectDefinitionSetting> findByObjectDefinitionId(long objectDefinitionId, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchObjectDefinitionSettingException
-
fetchByObjectDefinitionId_First
public static 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
public static 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 foundNoSuchObjectDefinitionSettingException
-
fetchByObjectDefinitionId_Last
public static 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
public static 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 foundNoSuchObjectDefinitionSettingException
-
removeByObjectDefinitionId
public static void removeByObjectDefinitionId(long objectDefinitionId) Removes all the object definition settings where objectDefinitionId = ? from the database.- Parameters:
objectDefinitionId- the object definition ID
-
countByObjectDefinitionId
public static 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
-
findByODI_N
public static 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 foundNoSuchObjectDefinitionSettingException
-
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
public static ObjectDefinitionSetting 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.- 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
public static 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
public static 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 foundNoSuchObjectDefinitionSettingException
-
updateImpl
-
findByPrimaryKey
public static 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 foundNoSuchObjectDefinitionSettingException
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the object definition settings from the database. -
countAll
public static int countAll()Returns the number of object definition settings.- Returns:
- the number of object definition settings
-
getPersistence
-
setPersistence
-