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

@ProviderType public interface SAPEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SAPEntry>
The persistence interface for the sap entry service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Caches the sap entry in the entity cache if it is enabled.
    void
    cacheResult(List<SAPEntry> sapEntries)
    Caches the sap entries in the entity cache if it is enabled.
    int
    Returns the number of sap entries.
    int
    countByC_D(long companyId, boolean defaultSAPEntry)
    Returns the number of sap entries where companyId = ? and defaultSAPEntry = ?.
    int
    countByC_N(long companyId, String name)
    Returns the number of sap entries where companyId = ? and name = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of sap entries where companyId = ?.
    int
    Returns the number of sap entries where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of sap entries where uuid = ? and companyId = ?.
    create(long sapEntryId)
    Creates a new sap entry with the primary key.
    fetchByC_D_First(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the first sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.
    fetchByC_D_Last(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the last sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.
    fetchByC_N(long companyId, String name)
    Returns the sap entry where companyId = ? and name = ? or returns null if it could not be found.
    fetchByC_N(long companyId, String name, boolean useFinderCache)
    Returns the sap entry where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the first sap entry in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the last sap entry in the ordered set where companyId = ?.
    fetchByPrimaryKey(long sapEntryId)
    Returns the sap entry 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<SAPEntry> orderByComparator)
    Returns the first sap entry in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the last sap entry in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the first sap entry in the ordered set where uuid = ?.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the last sap entry in the ordered set where uuid = ?.
    int
    filterCountByC_D(long companyId, boolean defaultSAPEntry)
    Returns the number of sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.
    int
    filterCountByCompanyId(long companyId)
    Returns the number of sap entries that the user has permission to view where companyId = ?.
    int
    Returns the number of sap entries that the user has permission to view where uuid = ?.
    int
    filterCountByUuid_C(String uuid, long companyId)
    Returns the number of sap entries that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByC_D(long companyId, boolean defaultSAPEntry)
    Returns all the sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.
    filterFindByC_D(long companyId, boolean defaultSAPEntry, int start, int end)
    Returns a range of all the sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.
    filterFindByC_D(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns an ordered range of all the sap entries that the user has permissions to view where companyId = ? and defaultSAPEntry = ?.
    filterFindByC_D_PrevAndNext(long sapEntryId, long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.
    filterFindByCompanyId(long companyId)
    Returns all the sap entries that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end)
    Returns a range of all the sap entries that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns an ordered range of all the sap entries that the user has permissions to view where companyId = ?.
    filterFindByCompanyId_PrevAndNext(long sapEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where companyId = ?.
    Returns all the sap entries that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end)
    Returns a range of all the sap entries that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns an ordered range of all the sap entries that the user has permissions to view where uuid = ?.
    filterFindByUuid_C(String uuid, long companyId)
    Returns all the sap entries that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the sap entries that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns an ordered range of all the sap entries that the user has permissions to view where uuid = ? and companyId = ?.
    filterFindByUuid_C_PrevAndNext(long sapEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_PrevAndNext(long sapEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where uuid = ?.
    Returns all the sap entries.
    findAll(int start, int end)
    Returns a range of all the sap entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns an ordered range of all the sap entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the sap entries.
    findByC_D(long companyId, boolean defaultSAPEntry)
    Returns all the sap entries where companyId = ? and defaultSAPEntry = ?.
    findByC_D(long companyId, boolean defaultSAPEntry, int start, int end)
    Returns a range of all the sap entries where companyId = ? and defaultSAPEntry = ?.
    findByC_D(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns an ordered range of all the sap entries where companyId = ? and defaultSAPEntry = ?.
    findByC_D(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the sap entries where companyId = ? and defaultSAPEntry = ?.
    findByC_D_First(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the first sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.
    findByC_D_Last(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the last sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.
    findByC_D_PrevAndNext(long sapEntryId, long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the sap entries before and after the current sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.
    findByC_N(long companyId, String name)
    Returns the sap entry where companyId = ? and name = ? or throws a NoSuchEntryException if it could not be found.
    findByCompanyId(long companyId)
    Returns all the sap entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the sap entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns an ordered range of all the sap entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the sap entries where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the first sap entry in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the last sap entry in the ordered set where companyId = ?.
    findByCompanyId_PrevAndNext(long sapEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the sap entries before and after the current sap entry in the ordered set where companyId = ?.
    findByPrimaryKey(long sapEntryId)
    Returns the sap entry with the primary key or throws a NoSuchEntryException if it could not be found.
    Returns all the sap entries where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the sap entries where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns an ordered range of all the sap entries where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the sap entries where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the sap entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the sap entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns an ordered range of all the sap entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the sap entries where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the first sap entry in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the last sap entry in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long sapEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the sap entries before and after the current sap entry in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the first sap entry in the ordered set where uuid = ?.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the last sap entry in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long sapEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the sap entries before and after the current sap entry in the ordered set where uuid = ?.
    remove(long sapEntryId)
    Removes the sap entry with the primary key from the database.
    void
    Removes all the sap entries from the database.
    void
    removeByC_D(long companyId, boolean defaultSAPEntry)
    Removes all the sap entries where companyId = ? and defaultSAPEntry = ? from the database.
    removeByC_N(long companyId, String name)
    Removes the sap entry where companyId = ? and name = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the sap entries where companyId = ? from the database.
    void
    Removes all the sap entries where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the sap entries where uuid = ? and companyId = ? from the database.
    updateImpl(SAPEntry sapEntry)
     

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

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

    • findByUuid

      List<SAPEntry> findByUuid(String uuid)
      Returns all the sap entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching sap entries
    • findByUuid

      List<SAPEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the sap entries 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 SAPEntryModelImpl.

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

      List<SAPEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns an ordered range of all the sap entries 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 SAPEntryModelImpl.

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

      List<SAPEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the sap entries 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 SAPEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (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 sap entries
    • findByUuid_First

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

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

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

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

      SAPEntry[] findByUuid_PrevAndNext(long sapEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
      Returns the sap entries before and after the current sap entry in the ordered set where uuid = ?.
      Parameters:
      sapEntryId - the primary key of the current sap entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sap entry
      Throws:
      NoSuchEntryException - if a sap entry with the primary key could not be found
    • filterFindByUuid

      List<SAPEntry> filterFindByUuid(String uuid)
      Returns all the sap entries that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching sap entries that the user has permission to view
    • filterFindByUuid

      List<SAPEntry> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the sap entries that the user has permission to view 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 SAPEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (not inclusive)
      Returns:
      the range of matching sap entries that the user has permission to view
    • filterFindByUuid

      List<SAPEntry> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns an ordered range of all the sap entries that the user has permissions to view 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 SAPEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sap entries that the user has permission to view
    • filterFindByUuid_PrevAndNext

      SAPEntry[] filterFindByUuid_PrevAndNext(long sapEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
      Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where uuid = ?.
      Parameters:
      sapEntryId - the primary key of the current sap entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sap entry
      Throws:
      NoSuchEntryException - if a sap entry with the primary key could not be found
    • removeByUuid

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

      int countByUuid(String uuid)
      Returns the number of sap entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching sap entries
    • filterCountByUuid

      int filterCountByUuid(String uuid)
      Returns the number of sap entries that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching sap entries that the user has permission to view
    • findByUuid_C

      List<SAPEntry> findByUuid_C(String uuid, long companyId)
      Returns all the sap entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching sap entries
    • findByUuid_C

      List<SAPEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the sap entries 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 SAPEntryModelImpl.

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

      List<SAPEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns an ordered range of all the sap entries 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 SAPEntryModelImpl.

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

      List<SAPEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the sap entries 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 SAPEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (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 sap entries
    • findByUuid_C_First

      SAPEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
      Returns the first sap entry 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 sap entry
      Throws:
      NoSuchEntryException - if a matching sap entry could not be found
    • fetchByUuid_C_First

      SAPEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns the first sap entry 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 sap entry, or null if a matching sap entry could not be found
    • findByUuid_C_Last

      SAPEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
      Returns the last sap entry 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 sap entry
      Throws:
      NoSuchEntryException - if a matching sap entry could not be found
    • fetchByUuid_C_Last

      SAPEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns the last sap entry 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 sap entry, or null if a matching sap entry could not be found
    • findByUuid_C_PrevAndNext

      SAPEntry[] findByUuid_C_PrevAndNext(long sapEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
      Returns the sap entries before and after the current sap entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      sapEntryId - the primary key of the current sap entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sap entry
      Throws:
      NoSuchEntryException - if a sap entry with the primary key could not be found
    • filterFindByUuid_C

      List<SAPEntry> filterFindByUuid_C(String uuid, long companyId)
      Returns all the sap entries that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching sap entries that the user has permission to view
    • filterFindByUuid_C

      List<SAPEntry> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the sap entries that the user has permission to view 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 SAPEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (not inclusive)
      Returns:
      the range of matching sap entries that the user has permission to view
    • filterFindByUuid_C

      List<SAPEntry> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns an ordered range of all the sap entries that the user has permissions to view 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 SAPEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sap entries that the user has permission to view
    • filterFindByUuid_C_PrevAndNext

      SAPEntry[] filterFindByUuid_C_PrevAndNext(long sapEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
      Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      sapEntryId - the primary key of the current sap entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sap entry
      Throws:
      NoSuchEntryException - if a sap entry with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the sap entries 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 sap entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching sap entries
    • filterCountByUuid_C

      int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of sap entries that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching sap entries that the user has permission to view
    • findByCompanyId

      List<SAPEntry> findByCompanyId(long companyId)
      Returns all the sap entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching sap entries
    • findByCompanyId

      List<SAPEntry> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the sap entries where 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 SAPEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (not inclusive)
      Returns:
      the range of matching sap entries
    • findByCompanyId

      List<SAPEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns an ordered range of all the sap entries where 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 SAPEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sap entries
    • findByCompanyId

      List<SAPEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the sap entries where 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 SAPEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (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 sap entries
    • findByCompanyId_First

      SAPEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
      Returns the first sap entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching sap entry
      Throws:
      NoSuchEntryException - if a matching sap entry could not be found
    • fetchByCompanyId_First

      SAPEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns the first sap entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching sap entry, or null if a matching sap entry could not be found
    • findByCompanyId_Last

      SAPEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
      Returns the last sap entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching sap entry
      Throws:
      NoSuchEntryException - if a matching sap entry could not be found
    • fetchByCompanyId_Last

      SAPEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns the last sap entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching sap entry, or null if a matching sap entry could not be found
    • findByCompanyId_PrevAndNext

      SAPEntry[] findByCompanyId_PrevAndNext(long sapEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
      Returns the sap entries before and after the current sap entry in the ordered set where companyId = ?.
      Parameters:
      sapEntryId - the primary key of the current sap entry
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sap entry
      Throws:
      NoSuchEntryException - if a sap entry with the primary key could not be found
    • filterFindByCompanyId

      List<SAPEntry> filterFindByCompanyId(long companyId)
      Returns all the sap entries that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching sap entries that the user has permission to view
    • filterFindByCompanyId

      List<SAPEntry> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the sap entries that the user has permission to view where 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 SAPEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (not inclusive)
      Returns:
      the range of matching sap entries that the user has permission to view
    • filterFindByCompanyId

      List<SAPEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns an ordered range of all the sap entries that the user has permissions to view where 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 SAPEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sap entries that the user has permission to view
    • filterFindByCompanyId_PrevAndNext

      SAPEntry[] filterFindByCompanyId_PrevAndNext(long sapEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
      Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where companyId = ?.
      Parameters:
      sapEntryId - the primary key of the current sap entry
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sap entry
      Throws:
      NoSuchEntryException - if a sap entry with the primary key could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the sap entries where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of sap entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching sap entries
    • filterCountByCompanyId

      int filterCountByCompanyId(long companyId)
      Returns the number of sap entries that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching sap entries that the user has permission to view
    • findByC_D

      List<SAPEntry> findByC_D(long companyId, boolean defaultSAPEntry)
      Returns all the sap entries where companyId = ? and defaultSAPEntry = ?.
      Parameters:
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      Returns:
      the matching sap entries
    • findByC_D

      List<SAPEntry> findByC_D(long companyId, boolean defaultSAPEntry, int start, int end)
      Returns a range of all the sap entries where companyId = ? and defaultSAPEntry = ?.

      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 SAPEntryModelImpl.

      Parameters:
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (not inclusive)
      Returns:
      the range of matching sap entries
    • findByC_D

      List<SAPEntry> findByC_D(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns an ordered range of all the sap entries where companyId = ? and defaultSAPEntry = ?.

      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 SAPEntryModelImpl.

      Parameters:
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sap entries
    • findByC_D

      List<SAPEntry> findByC_D(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the sap entries where companyId = ? and defaultSAPEntry = ?.

      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 SAPEntryModelImpl.

      Parameters:
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (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 sap entries
    • findByC_D_First

      SAPEntry findByC_D_First(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
      Returns the first sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.
      Parameters:
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching sap entry
      Throws:
      NoSuchEntryException - if a matching sap entry could not be found
    • fetchByC_D_First

      SAPEntry fetchByC_D_First(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns the first sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.
      Parameters:
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching sap entry, or null if a matching sap entry could not be found
    • findByC_D_Last

      SAPEntry findByC_D_Last(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
      Returns the last sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.
      Parameters:
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching sap entry
      Throws:
      NoSuchEntryException - if a matching sap entry could not be found
    • fetchByC_D_Last

      SAPEntry fetchByC_D_Last(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns the last sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.
      Parameters:
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching sap entry, or null if a matching sap entry could not be found
    • findByC_D_PrevAndNext

      SAPEntry[] findByC_D_PrevAndNext(long sapEntryId, long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
      Returns the sap entries before and after the current sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.
      Parameters:
      sapEntryId - the primary key of the current sap entry
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sap entry
      Throws:
      NoSuchEntryException - if a sap entry with the primary key could not be found
    • filterFindByC_D

      List<SAPEntry> filterFindByC_D(long companyId, boolean defaultSAPEntry)
      Returns all the sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.
      Parameters:
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      Returns:
      the matching sap entries that the user has permission to view
    • filterFindByC_D

      List<SAPEntry> filterFindByC_D(long companyId, boolean defaultSAPEntry, int start, int end)
      Returns a range of all the sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.

      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 SAPEntryModelImpl.

      Parameters:
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (not inclusive)
      Returns:
      the range of matching sap entries that the user has permission to view
    • filterFindByC_D

      List<SAPEntry> filterFindByC_D(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns an ordered range of all the sap entries that the user has permissions to view where companyId = ? and defaultSAPEntry = ?.

      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 SAPEntryModelImpl.

      Parameters:
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching sap entries that the user has permission to view
    • filterFindByC_D_PrevAndNext

      SAPEntry[] filterFindByC_D_PrevAndNext(long sapEntryId, long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
      Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.
      Parameters:
      sapEntryId - the primary key of the current sap entry
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next sap entry
      Throws:
      NoSuchEntryException - if a sap entry with the primary key could not be found
    • removeByC_D

      void removeByC_D(long companyId, boolean defaultSAPEntry)
      Removes all the sap entries where companyId = ? and defaultSAPEntry = ? from the database.
      Parameters:
      companyId - the company ID
      defaultSAPEntry - the default sap entry
    • countByC_D

      int countByC_D(long companyId, boolean defaultSAPEntry)
      Returns the number of sap entries where companyId = ? and defaultSAPEntry = ?.
      Parameters:
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      Returns:
      the number of matching sap entries
    • filterCountByC_D

      int filterCountByC_D(long companyId, boolean defaultSAPEntry)
      Returns the number of sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.
      Parameters:
      companyId - the company ID
      defaultSAPEntry - the default sap entry
      Returns:
      the number of matching sap entries that the user has permission to view
    • findByC_N

      SAPEntry findByC_N(long companyId, String name) throws NoSuchEntryException
      Returns the sap entry where companyId = ? and name = ? or throws a NoSuchEntryException if it could not be found.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the matching sap entry
      Throws:
      NoSuchEntryException - if a matching sap entry could not be found
    • fetchByC_N

      SAPEntry fetchByC_N(long companyId, String name)
      Returns the sap entry where companyId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the matching sap entry, or null if a matching sap entry could not be found
    • fetchByC_N

      SAPEntry fetchByC_N(long companyId, String name, boolean useFinderCache)
      Returns the sap entry where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching sap entry, or null if a matching sap entry could not be found
    • removeByC_N

      SAPEntry removeByC_N(long companyId, String name) throws NoSuchEntryException
      Removes the sap entry where companyId = ? and name = ? from the database.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the sap entry that was removed
      Throws:
      NoSuchEntryException
    • countByC_N

      int countByC_N(long companyId, String name)
      Returns the number of sap entries where companyId = ? and name = ?.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the number of matching sap entries
    • cacheResult

      void cacheResult(SAPEntry sapEntry)
      Caches the sap entry in the entity cache if it is enabled.
      Parameters:
      sapEntry - the sap entry
    • cacheResult

      void cacheResult(List<SAPEntry> sapEntries)
      Caches the sap entries in the entity cache if it is enabled.
      Parameters:
      sapEntries - the sap entries
    • create

      SAPEntry create(long sapEntryId)
      Creates a new sap entry with the primary key. Does not add the sap entry to the database.
      Parameters:
      sapEntryId - the primary key for the new sap entry
      Returns:
      the new sap entry
    • remove

      SAPEntry remove(long sapEntryId) throws NoSuchEntryException
      Removes the sap entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      sapEntryId - the primary key of the sap entry
      Returns:
      the sap entry that was removed
      Throws:
      NoSuchEntryException - if a sap entry with the primary key could not be found
    • updateImpl

      SAPEntry updateImpl(SAPEntry sapEntry)
    • findByPrimaryKey

      SAPEntry findByPrimaryKey(long sapEntryId) throws NoSuchEntryException
      Returns the sap entry with the primary key or throws a NoSuchEntryException if it could not be found.
      Parameters:
      sapEntryId - the primary key of the sap entry
      Returns:
      the sap entry
      Throws:
      NoSuchEntryException - if a sap entry with the primary key could not be found
    • fetchByPrimaryKey

      SAPEntry fetchByPrimaryKey(long sapEntryId)
      Returns the sap entry with the primary key or returns null if it could not be found.
      Parameters:
      sapEntryId - the primary key of the sap entry
      Returns:
      the sap entry, or null if a sap entry with the primary key could not be found
    • findAll

      List<SAPEntry> findAll()
      Returns all the sap entries.
      Returns:
      the sap entries
    • findAll

      List<SAPEntry> findAll(int start, int end)
      Returns a range of all the sap entries.

      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 SAPEntryModelImpl.

      Parameters:
      start - the lower bound of the range of sap entries
      end - the upper bound of the range of sap entries (not inclusive)
      Returns:
      the range of sap entries
    • findAll

      List<SAPEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
      Returns an ordered range of all the sap entries.

      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 SAPEntryModelImpl.

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

      List<SAPEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the sap entries.

      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 SAPEntryModelImpl.

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

      void removeAll()
      Removes all the sap entries from the database.
    • countAll

      int countAll()
      Returns the number of sap entries.
      Returns:
      the number of sap entries