Class ObjectFieldSettingUtil

java.lang.Object
com.liferay.object.service.persistence.ObjectFieldSettingUtil

public class ObjectFieldSettingUtil extends Object
The persistence utility for the object field setting service. This utility wraps com.liferay.object.service.persistence.impl.ObjectFieldSettingPersistenceImpl 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 Details

    • ObjectFieldSettingUtil

      public ObjectFieldSettingUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(ObjectFieldSetting objectFieldSetting)
      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,ObjectFieldSetting> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<ObjectFieldSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<ObjectFieldSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<ObjectFieldSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static ObjectFieldSetting update(ObjectFieldSetting objectFieldSetting)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static ObjectFieldSetting update(ObjectFieldSetting objectFieldSetting, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<ObjectFieldSetting> findByUuid(String uuid)
      Returns all the object field settings where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching object field settings
    • findByUuid

      public static List<ObjectFieldSetting> findByUuid(String uuid, int start, int end)
      Returns a range of all the object field settings where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object field settings
      end - the upper bound of the range of object field settings (not inclusive)
      Returns:
      the range of matching object field settings
    • findByUuid

      public static List<ObjectFieldSetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
      Returns an ordered range of all the object field settings where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object field settings
      end - the upper bound of the range of object field settings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object field settings
    • findByUuid

      public static List<ObjectFieldSetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object field settings where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object field settings
      end - the upper bound of the range of object field settings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object field settings
    • findByUuid_First

      public static ObjectFieldSetting findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
      Returns the first object field setting in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field setting
      Throws:
      NoSuchObjectFieldSettingException - if a matching object field setting could not be found
      NoSuchObjectFieldSettingException
    • fetchByUuid_First

      public static ObjectFieldSetting fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
      Returns the first object field setting in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field setting, or null if a matching object field setting could not be found
    • findByUuid_Last

      public static ObjectFieldSetting findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
      Returns the last object field setting in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field setting
      Throws:
      NoSuchObjectFieldSettingException - if a matching object field setting could not be found
      NoSuchObjectFieldSettingException
    • fetchByUuid_Last

      public static ObjectFieldSetting fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
      Returns the last object field setting in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field setting, or null if a matching object field setting could not be found
    • findByUuid_PrevAndNext

      public static ObjectFieldSetting[] findByUuid_PrevAndNext(long objectFieldSettingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
      Returns the object field settings before and after the current object field setting in the ordered set where uuid = ?.
      Parameters:
      objectFieldSettingId - the primary key of the current object field setting
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field setting
      Throws:
      NoSuchObjectFieldSettingException - if a object field setting with the primary key could not be found
      NoSuchObjectFieldSettingException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the object field settings where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of object field settings where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching object field settings
    • findByUuid_C

      public static List<ObjectFieldSetting> findByUuid_C(String uuid, long companyId)
      Returns all the object field settings where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching object field settings
    • findByUuid_C

      public static List<ObjectFieldSetting> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the object field settings where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object field settings
      end - the upper bound of the range of object field settings (not inclusive)
      Returns:
      the range of matching object field settings
    • findByUuid_C

      public static List<ObjectFieldSetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
      Returns an ordered range of all the object field settings where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object field settings
      end - the upper bound of the range of object field settings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object field settings
    • findByUuid_C

      public static List<ObjectFieldSetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object field settings where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object field settings
      end - the upper bound of the range of object field settings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object field settings
    • findByUuid_C_First

      public static ObjectFieldSetting findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
      Returns the first object field setting in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field setting
      Throws:
      NoSuchObjectFieldSettingException - if a matching object field setting could not be found
      NoSuchObjectFieldSettingException
    • fetchByUuid_C_First

      public static ObjectFieldSetting fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
      Returns the first object field setting in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field setting, or null if a matching object field setting could not be found
    • findByUuid_C_Last

      public static ObjectFieldSetting findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
      Returns the last object field setting in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field setting
      Throws:
      NoSuchObjectFieldSettingException - if a matching object field setting could not be found
      NoSuchObjectFieldSettingException
    • fetchByUuid_C_Last

      public static ObjectFieldSetting fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
      Returns the last object field setting in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field setting, or null if a matching object field setting could not be found
    • findByUuid_C_PrevAndNext

      public static ObjectFieldSetting[] findByUuid_C_PrevAndNext(long objectFieldSettingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
      Returns the object field settings before and after the current object field setting in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      objectFieldSettingId - the primary key of the current object field setting
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field setting
      Throws:
      NoSuchObjectFieldSettingException - if a object field setting with the primary key could not be found
      NoSuchObjectFieldSettingException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the object field settings where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of object field settings where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching object field settings
    • findByObjectFieldId

      public static List<ObjectFieldSetting> findByObjectFieldId(long objectFieldId)
      Returns all the object field settings where objectFieldId = ?.
      Parameters:
      objectFieldId - the object field ID
      Returns:
      the matching object field settings
    • findByObjectFieldId

      public static List<ObjectFieldSetting> findByObjectFieldId(long objectFieldId, int start, int end)
      Returns a range of all the object field settings where objectFieldId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl.

      Parameters:
      objectFieldId - the object field ID
      start - the lower bound of the range of object field settings
      end - the upper bound of the range of object field settings (not inclusive)
      Returns:
      the range of matching object field settings
    • findByObjectFieldId

      public static List<ObjectFieldSetting> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
      Returns an ordered range of all the object field settings where objectFieldId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl.

      Parameters:
      objectFieldId - the object field ID
      start - the lower bound of the range of object field settings
      end - the upper bound of the range of object field settings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object field settings
    • findByObjectFieldId

      public static List<ObjectFieldSetting> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object field settings where objectFieldId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl.

      Parameters:
      objectFieldId - the object field ID
      start - the lower bound of the range of object field settings
      end - the upper bound of the range of object field settings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object field settings
    • findByObjectFieldId_First

      public static ObjectFieldSetting findByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
      Returns the first object field setting in the ordered set where objectFieldId = ?.
      Parameters:
      objectFieldId - the object field ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field setting
      Throws:
      NoSuchObjectFieldSettingException - if a matching object field setting could not be found
      NoSuchObjectFieldSettingException
    • fetchByObjectFieldId_First

      public static ObjectFieldSetting fetchByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
      Returns the first object field setting in the ordered set where objectFieldId = ?.
      Parameters:
      objectFieldId - the object field ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field setting, or null if a matching object field setting could not be found
    • findByObjectFieldId_Last

      public static ObjectFieldSetting findByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
      Returns the last object field setting in the ordered set where objectFieldId = ?.
      Parameters:
      objectFieldId - the object field ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field setting
      Throws:
      NoSuchObjectFieldSettingException - if a matching object field setting could not be found
      NoSuchObjectFieldSettingException
    • fetchByObjectFieldId_Last

      public static ObjectFieldSetting fetchByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
      Returns the last object field setting in the ordered set where objectFieldId = ?.
      Parameters:
      objectFieldId - the object field ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field setting, or null if a matching object field setting could not be found
    • findByObjectFieldId_PrevAndNext

      public static ObjectFieldSetting[] findByObjectFieldId_PrevAndNext(long objectFieldSettingId, long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
      Returns the object field settings before and after the current object field setting in the ordered set where objectFieldId = ?.
      Parameters:
      objectFieldSettingId - the primary key of the current object field setting
      objectFieldId - the object field ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field setting
      Throws:
      NoSuchObjectFieldSettingException - if a object field setting with the primary key could not be found
      NoSuchObjectFieldSettingException
    • removeByObjectFieldId

      public static void removeByObjectFieldId(long objectFieldId)
      Removes all the object field settings where objectFieldId = ? from the database.
      Parameters:
      objectFieldId - the object field ID
    • countByObjectFieldId

      public static int countByObjectFieldId(long objectFieldId)
      Returns the number of object field settings where objectFieldId = ?.
      Parameters:
      objectFieldId - the object field ID
      Returns:
      the number of matching object field settings
    • findByOFI_N

      public static ObjectFieldSetting findByOFI_N(long objectFieldId, String name) throws NoSuchObjectFieldSettingException
      Returns the object field setting where objectFieldId = ? and name = ? or throws a NoSuchObjectFieldSettingException if it could not be found.
      Parameters:
      objectFieldId - the object field ID
      name - the name
      Returns:
      the matching object field setting
      Throws:
      NoSuchObjectFieldSettingException - if a matching object field setting could not be found
      NoSuchObjectFieldSettingException
    • fetchByOFI_N

      public static ObjectFieldSetting fetchByOFI_N(long objectFieldId, String name)
      Returns the object field setting where objectFieldId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      objectFieldId - the object field ID
      name - the name
      Returns:
      the matching object field setting, or null if a matching object field setting could not be found
    • fetchByOFI_N

      public static ObjectFieldSetting fetchByOFI_N(long objectFieldId, String name, boolean useFinderCache)
      Returns the object field setting where objectFieldId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      objectFieldId - the object field ID
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object field setting, or null if a matching object field setting could not be found
    • removeByOFI_N

      public static ObjectFieldSetting removeByOFI_N(long objectFieldId, String name) throws NoSuchObjectFieldSettingException
      Removes the object field setting where objectFieldId = ? and name = ? from the database.
      Parameters:
      objectFieldId - the object field ID
      name - the name
      Returns:
      the object field setting that was removed
      Throws:
      NoSuchObjectFieldSettingException
    • countByOFI_N

      public static int countByOFI_N(long objectFieldId, String name)
      Returns the number of object field settings where objectFieldId = ? and name = ?.
      Parameters:
      objectFieldId - the object field ID
      name - the name
      Returns:
      the number of matching object field settings
    • cacheResult

      public static void cacheResult(ObjectFieldSetting objectFieldSetting)
      Caches the object field setting in the entity cache if it is enabled.
      Parameters:
      objectFieldSetting - the object field setting
    • cacheResult

      public static void cacheResult(List<ObjectFieldSetting> objectFieldSettings)
      Caches the object field settings in the entity cache if it is enabled.
      Parameters:
      objectFieldSettings - the object field settings
    • create

      public static ObjectFieldSetting create(long objectFieldSettingId)
      Creates a new object field setting with the primary key. Does not add the object field setting to the database.
      Parameters:
      objectFieldSettingId - the primary key for the new object field setting
      Returns:
      the new object field setting
    • remove

      public static ObjectFieldSetting remove(long objectFieldSettingId) throws NoSuchObjectFieldSettingException
      Removes the object field setting with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      objectFieldSettingId - the primary key of the object field setting
      Returns:
      the object field setting that was removed
      Throws:
      NoSuchObjectFieldSettingException - if a object field setting with the primary key could not be found
      NoSuchObjectFieldSettingException
    • updateImpl

      public static ObjectFieldSetting updateImpl(ObjectFieldSetting objectFieldSetting)
    • findByPrimaryKey

      public static ObjectFieldSetting findByPrimaryKey(long objectFieldSettingId) throws NoSuchObjectFieldSettingException
      Returns the object field setting with the primary key or throws a NoSuchObjectFieldSettingException if it could not be found.
      Parameters:
      objectFieldSettingId - the primary key of the object field setting
      Returns:
      the object field setting
      Throws:
      NoSuchObjectFieldSettingException - if a object field setting with the primary key could not be found
      NoSuchObjectFieldSettingException
    • fetchByPrimaryKey

      public static ObjectFieldSetting fetchByPrimaryKey(long objectFieldSettingId)
      Returns the object field setting with the primary key or returns null if it could not be found.
      Parameters:
      objectFieldSettingId - the primary key of the object field setting
      Returns:
      the object field setting, or null if a object field setting with the primary key could not be found
    • findAll

      public static List<ObjectFieldSetting> findAll()
      Returns all the object field settings.
      Returns:
      the object field settings
    • findAll

      public static List<ObjectFieldSetting> findAll(int start, int end)
      Returns a range of all the object field settings.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl.

      Parameters:
      start - the lower bound of the range of object field settings
      end - the upper bound of the range of object field settings (not inclusive)
      Returns:
      the range of object field settings
    • findAll

      public static List<ObjectFieldSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
      Returns an ordered range of all the object field settings.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl.

      Parameters:
      start - the lower bound of the range of object field settings
      end - the upper bound of the range of object field settings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of object field settings
    • findAll

      public static List<ObjectFieldSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object field settings.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl.

      Parameters:
      start - the lower bound of the range of object field settings
      end - the upper bound of the range of object field settings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of object field settings
    • removeAll

      public static void removeAll()
      Removes all the object field settings from the database.
    • countAll

      public static int countAll()
      Returns the number of object field settings.
      Returns:
      the number of object field settings
    • getPersistence

      public static ObjectFieldSettingPersistence getPersistence()
    • setPersistence

      public static void setPersistence(ObjectFieldSettingPersistence persistence)