Class SAPEntryUtil
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(SAPEntry sapEntry) 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
countAll()
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
countByUuid
(String uuid) 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 returnsnull
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 returnsnull
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 returnsnull
if it could not be found.static Map<Serializable,
SAPEntry> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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
filterCountByUuid
(String uuid) 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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.filterFindByUuid
(String uuid) 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 = ?.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 = ?.findAll()
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 = ?.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
Returns the sap entry where companyId = ? and name = ? or throws aNoSuchEntryException
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 = ?.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 aNoSuchEntryException
if it could not be found.findByUuid
(String uuid) 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 = ?.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 = ?.findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) static SAPEntryPersistence
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
removeByUuid
(String uuid) 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
setPersistence
(SAPEntryPersistence persistence) static SAPEntry
static SAPEntry
static SAPEntry
updateImpl
(SAPEntry sapEntry)
-
Constructor Details
-
SAPEntryUtil
public SAPEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- 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
- 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
Returns all the sap entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching sap entries
-
findByUuid
Returns a range of all the sap entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of sap entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be foundNoSuchEntryException
-
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be foundNoSuchEntryException
-
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be foundNoSuchEntryException
-
filterFindByUuid
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of sap entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be foundNoSuchEntryException
-
removeByUuid
Removes all the sap entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of sap entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching sap entries
-
filterCountByUuid
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
Returns all the sap entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching sap entries
-
findByUuid_C
Returns a range of all the sap entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sap entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be foundNoSuchEntryException
-
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be foundNoSuchEntryException
-
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be foundNoSuchEntryException
-
filterFindByUuid_C
Returns all the sap entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching sap entries that the user has permission to view
-
filterFindByUuid_C
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sap entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be foundNoSuchEntryException
-
removeByUuid_C
Removes all the sap entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of sap entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching sap entries
-
filterCountByUuid_C
Returns the number of sap entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching sap entries that the user has permission to view
-
findByCompanyId
Returns all the sap entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching sap entries
-
findByCompanyId
Returns a range of all the sap entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of sap entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be foundNoSuchEntryException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be foundNoSuchEntryException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be foundNoSuchEntryException
-
filterFindByCompanyId
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of sap entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be foundNoSuchEntryException
-
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
Returns all the sap entries where companyId = ? and defaultSAPEntry = ?.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entry- Returns:
- the matching sap entries
-
findByC_D
Returns a range of all the sap entries where companyId = ? and defaultSAPEntry = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entrystart
- the lower bound of the range of sap entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entrystart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entrystart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be foundNoSuchEntryException
-
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 IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be foundNoSuchEntryException
-
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 IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionallynull
)- 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 entrycompanyId
- the company IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be foundNoSuchEntryException
-
filterFindByC_D
Returns all the sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.- Parameters:
companyId
- the company IDdefaultSAPEntry
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entrystart
- the lower bound of the range of sap entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entrystart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 entrycompanyId
- the company IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be foundNoSuchEntryException
-
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 IDdefaultSAPEntry
- 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 IDdefaultSAPEntry
- 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 IDdefaultSAPEntry
- the default sap entry- Returns:
- the number of matching sap entries that the user has permission to view
-
findByC_N
Returns the sap entry where companyId = ? and name = ? or throws aNoSuchEntryException
if it could not be found.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be foundNoSuchEntryException
-
fetchByC_N
Returns the sap entry where companyId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching sap entry, or
null
if a matching sap entry could not be found
-
fetchByC_N
Returns the sap entry where companyId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
companyId
- the company IDname
- the nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching sap entry, or
null
if a matching sap entry could not be found
-
removeByC_N
Removes the sap entry where companyId = ? and name = ? from the database.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the sap entry that was removed
- Throws:
NoSuchEntryException
-
countByC_N
Returns the number of sap entries where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the number of matching sap entries
-
cacheResult
Caches the sap entry in the entity cache if it is enabled.- Parameters:
sapEntry
- the sap entry
-
cacheResult
Caches the sap entries in the entity cache if it is enabled.- Parameters:
sapEntries
- the sap entries
-
create
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
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 foundNoSuchEntryException
-
updateImpl
-
findByPrimaryKey
Returns the sap entry with the primary key or throws aNoSuchEntryException
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 foundNoSuchEntryException
-
fetchByPrimaryKey
Returns the sap entry with the primary key or returnsnull
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
Returns all the sap entries.- Returns:
- the sap entries
-
findAll
Returns a range of all the sap entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
start
- the lower bound of the range of sap entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
start
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSAPEntryModelImpl
.- Parameters:
start
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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
-
setPersistence
-