Interface ObjectFieldSettingPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectFieldSetting>

@ProviderType public interface ObjectFieldSettingPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectFieldSetting>
The persistence interface for the object field setting service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByObjectFieldId(long objectFieldId)
    Returns the number of object field settings where objectFieldId = ?.
    int
    countByOFI_N(long objectFieldId, String name)
    Returns the number of object field settings where objectFieldId = ? and name = ?.
    int
    Returns the number of object field settings where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of object field settings where uuid = ? and companyId = ?.
    create(long objectFieldSettingId)
    Creates a new object field setting with the primary key.
    fetchByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
    Returns the first object field setting in the ordered set where objectFieldId = ?.
    fetchByOFI_N(long objectFieldId, String name)
    Returns the object field setting where objectFieldId = ? and name = ? or returns null if it could not be found.
    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.
    fetchByPrimaryKey(long objectFieldSettingId)
    Returns the object field setting with the primary key or returns null if it could not be found.
    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 = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
    Returns the first object field setting in the ordered set where uuid = ?.
    findByObjectFieldId(long objectFieldId)
    Returns all the object field settings where objectFieldId = ?.
    findByObjectFieldId(long objectFieldId, int start, int end)
    Returns a range of all the object field settings where objectFieldId = ?.
    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 = ?.
    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 = ?.
    findByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
    Returns the first object field setting in the ordered set where objectFieldId = ?.
    findByOFI_N(long objectFieldId, String name)
    Returns the object field setting where objectFieldId = ? and name = ? or throws a NoSuchObjectFieldSettingException if it could not be found.
    findByPrimaryKey(long objectFieldSettingId)
    Returns the object field setting with the primary key or throws a NoSuchObjectFieldSettingException if it could not be found.
    Returns all the object field settings where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the object field settings where uuid = ?.
    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 = ?.
    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 = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the object field settings where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the object field settings where uuid = ? and companyId = ?.
    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 = ?.
    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 = ?.
    findByUuid_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 = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
    Returns the first object field setting in the ordered set where uuid = ?.
    remove(long objectFieldSettingId)
    Removes the object field setting with the primary key from the database.
    void
    removeByObjectFieldId(long objectFieldId)
    Removes all the object field settings where objectFieldId = ? from the database.
    removeByOFI_N(long objectFieldId, String name)
    Removes the object field setting where objectFieldId = ? and name = ? from the database.
    void
    Removes all the object field settings where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the object field settings where uuid = ? and companyId = ? from the database.
    updateImpl(ObjectFieldSetting objectFieldSetting)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByUuid

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.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

      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
    • fetchByUuid_First

      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
    • removeByUuid

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

      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

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.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

      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
    • fetchByUuid_C_First

      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
    • removeByUuid_C

      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

      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

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.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

      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
    • fetchByObjectFieldId_First

      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
    • removeByObjectFieldId

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

      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

      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
    • fetchByOFI_N

      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

      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

      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
    • create

      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

      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
    • updateImpl

      ObjectFieldSetting updateImpl(ObjectFieldSetting objectFieldSetting)
    • findByPrimaryKey

      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
    • fetchByPrimaryKey

      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
    • fetchByOFI_N

      default 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
    • findByUuid

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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.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_C

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.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
    • findByObjectFieldId

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.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