java.lang.Object
com.liferay.portal.security.service.access.policy.service.persistence.SAPEntryUtil

public class SAPEntryUtil extends Object
The persistence utility for the sap entry service. This utility wraps com.liferay.portal.security.service.access.policy.service.persistence.impl.SAPEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Caches the sap entry in the entity cache if it is enabled.
    static void
    cacheResult(List<SAPEntry> sapEntries)
    Caches the sap entries in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(SAPEntry sapEntry)
     
    static int
    Returns the number of sap entries.
    static int
    countByC_D(long companyId, boolean defaultSAPEntry)
    Returns the number of sap entries where companyId = ? and defaultSAPEntry = ?.
    static int
    countByC_N(long companyId, String name)
    Returns the number of sap entries where companyId = ? and name = ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of sap entries where companyId = ?.
    static int
    Returns the number of sap entries where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of sap entries where uuid = ? and companyId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    static SAPEntry
    create(long sapEntryId)
    Creates a new sap entry with the primary key.
    static 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 = ?.
    static 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 = ?.
    static SAPEntry
    fetchByC_N(long companyId, String name)
    Returns the sap entry where companyId = ? and name = ? or returns null if it could not be found.
    static 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.
    static SAPEntry
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the first sap entry in the ordered set where companyId = ?.
    static SAPEntry
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the last sap entry in the ordered set where companyId = ?.
    static SAPEntry
    fetchByPrimaryKey(long sapEntryId)
    Returns the sap entry with the primary key or returns null if it could not be found.
     
    static 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 = ?.
    static 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 = ?.
    static SAPEntry
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the first sap entry in the ordered set where uuid = ?.
    static SAPEntry
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the last sap entry in the ordered set where uuid = ?.
    static int
    filterCountByC_D(long companyId, boolean defaultSAPEntry)
    Returns the number of sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.
    static int
    filterCountByCompanyId(long companyId)
    Returns the number of sap entries that the user has permission to view where companyId = ?.
    static int
    Returns the number of sap entries that the user has permission to view where uuid = ?.
    static int
    filterCountByUuid_C(String uuid, long companyId)
    Returns the number of sap entries that the user has permission to view where uuid = ? and companyId = ?.
    static List<SAPEntry>
    filterFindByC_D(long companyId, boolean defaultSAPEntry)
    Returns all the sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.
    static 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 = ?.
    static 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 = ?.
    static SAPEntry[]
    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 = ?.
    static List<SAPEntry>
    filterFindByCompanyId(long companyId)
    Returns all the sap entries that the user has permission to view where companyId = ?.
    static 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 = ?.
    static 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 = ?.
    static SAPEntry[]
    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 = ?.
    static List<SAPEntry>
    Returns all the sap entries that the user has permission to view where uuid = ?.
    static 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 = ?.
    static 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 = ?.
    static List<SAPEntry>
    filterFindByUuid_C(String uuid, long companyId)
    Returns all the sap entries that the user has permission to view where uuid = ? and companyId = ?.
    static 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 = ?.
    static 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 = ?.
    static SAPEntry[]
    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 = ?.
    static SAPEntry[]
    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 = ?.
    static List<SAPEntry>
    Returns all the sap entries.
    static List<SAPEntry>
    findAll(int start, int end)
    Returns a range of all the sap entries.
    static List<SAPEntry>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns an ordered range of all the sap entries.
    static 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.
    static List<SAPEntry>
    findByC_D(long companyId, boolean defaultSAPEntry)
    Returns all the sap entries where companyId = ? and defaultSAPEntry = ?.
    static List<SAPEntry>
    findByC_D(long companyId, boolean defaultSAPEntry, int start, int end)
    Returns a range of all the sap entries where companyId = ? and defaultSAPEntry = ?.
    static 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 = ?.
    static 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 = ?.
    static SAPEntry
    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 = ?.
    static SAPEntry
    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 = ?.
    static SAPEntry[]
    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 = ?.
    static SAPEntry
    findByC_N(long companyId, String name)
    Returns the sap entry where companyId = ? and name = ? or throws a NoSuchEntryException if it could not be found.
    static List<SAPEntry>
    findByCompanyId(long companyId)
    Returns all the sap entries where companyId = ?.
    static List<SAPEntry>
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the sap entries where companyId = ?.
    static 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 = ?.
    static 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 = ?.
    static SAPEntry
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the first sap entry in the ordered set where companyId = ?.
    static SAPEntry
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the last sap entry in the ordered set where companyId = ?.
    static SAPEntry[]
    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 = ?.
    static SAPEntry
    findByPrimaryKey(long sapEntryId)
    Returns the sap entry with the primary key or throws a NoSuchEntryException if it could not be found.
    static List<SAPEntry>
    Returns all the sap entries where uuid = ?.
    static List<SAPEntry>
    findByUuid(String uuid, int start, int end)
    Returns a range of all the sap entries where uuid = ?.
    static 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 = ?.
    static 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 = ?.
    static List<SAPEntry>
    findByUuid_C(String uuid, long companyId)
    Returns all the sap entries where uuid = ? and companyId = ?.
    static List<SAPEntry>
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the sap entries where uuid = ? and companyId = ?.
    static 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 = ?.
    static 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 = ?.
    static SAPEntry
    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 = ?.
    static SAPEntry
    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 = ?.
    static SAPEntry[]
    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 = ?.
    static SAPEntry
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the first sap entry in the ordered set where uuid = ?.
    static SAPEntry
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
    Returns the last sap entry in the ordered set where uuid = ?.
    static SAPEntry[]
    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 = ?.
    static List<SAPEntry>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    static List<SAPEntry>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    static List<SAPEntry>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
     
     
    static SAPEntry
    remove(long sapEntryId)
    Removes the sap entry with the primary key from the database.
    static void
    Removes all the sap entries from the database.
    static void
    removeByC_D(long companyId, boolean defaultSAPEntry)
    Removes all the sap entries where companyId = ? and defaultSAPEntry = ? from the database.
    static SAPEntry
    removeByC_N(long companyId, String name)
    Removes the sap entry where companyId = ? and name = ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the sap entries where companyId = ? from the database.
    static void
    Removes all the sap entries where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the sap entries where uuid = ? and companyId = ? from the database.
    static void
     
    static SAPEntry
    update(SAPEntry sapEntry)
     
    static SAPEntry
    update(SAPEntry sapEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static SAPEntry
    updateImpl(SAPEntry sapEntry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SAPEntryUtil

      public SAPEntryUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchEntryException
    • fetchByUuid_First

      public static 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

      public static 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
      NoSuchEntryException
    • fetchByUuid_Last

      public static 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

      public static 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
      NoSuchEntryException
    • filterFindByUuid

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchEntryException
    • removeByUuid

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

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchEntryException
    • fetchByUuid_C_First

      public static 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

      public static 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
      NoSuchEntryException
    • fetchByUuid_C_Last

      public static 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

      public static 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
      NoSuchEntryException
    • filterFindByUuid_C

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchEntryException
    • removeByUuid_C

      public static 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

      public static 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

      public static 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

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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchEntryException
    • fetchByCompanyId_First

      public static 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

      public static 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
      NoSuchEntryException
    • fetchByCompanyId_Last

      public static 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

      public static 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
      NoSuchEntryException
    • filterFindByCompanyId

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchEntryException
    • removeByCompanyId

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchEntryException
    • fetchByC_D_First

      public static 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

      public static 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
      NoSuchEntryException
    • fetchByC_D_Last

      public static 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

      public static 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
      NoSuchEntryException
    • filterFindByC_D

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchEntryException
    • removeByC_D

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchEntryException
    • fetchByC_N

      public static 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

      public static 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

      public static 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

      public static 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

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

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

      public static 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

      public static 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
      NoSuchEntryException
    • updateImpl

      public static SAPEntry updateImpl(SAPEntry sapEntry)
    • findByPrimaryKey

      public static 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
      NoSuchEntryException
    • fetchByPrimaryKey

      public static 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

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

      public static 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

      public static 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

      public static 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

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

      public static int countAll()
      Returns the number of sap entries.
      Returns:
      the number of sap entries
    • getPersistence

      public static SAPEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(SAPEntryPersistence persistence)