@ProviderType
public class SAPEntryUtil
extends java.lang.Object
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
SAPEntryPersistence
,
com.liferay.portal.security.service.access.policy.service.persistence.impl.SAPEntryPersistenceImpl
Constructor and Description |
---|
SAPEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<SAPEntry> sapEntries)
Caches the sap entries in the entity cache if it is enabled.
|
static void |
cacheResult(SAPEntry sapEntry)
Caches the sap entry in the entity cache if it is enabled.
|
static void |
clearCache() |
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,
java.lang.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_C(java.lang.String uuid,
long companyId)
Returns the number of sap entries where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of sap entries where uuid = ?.
|
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,
java.lang.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,
java.lang.String name,
boolean retrieveFromCache)
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 java.util.Map<java.io.Serializable,SAPEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static SAPEntry |
fetchByUuid_C_First(java.lang.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(java.lang.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(java.lang.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(java.lang.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_C(java.lang.String uuid,
long companyId)
Returns the number of sap entries that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(java.lang.String uuid)
Returns the number of sap entries that the user has permission to view where uuid = ?.
|
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 java.util.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 java.util.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 java.util.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[] |
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 java.util.List<SAPEntry> |
filterFindByCompanyId(long companyId)
Returns all the sap entries that the user has permission to view where companyId = ?.
|
static java.util.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 java.util.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[] |
filterFindByUuid_C_PrevAndNext(long sapEntryId,
java.lang.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 java.util.List<SAPEntry> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the sap entries that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<SAPEntry> |
filterFindByUuid_C(java.lang.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 java.util.List<SAPEntry> |
filterFindByUuid_C(java.lang.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_PrevAndNext(long sapEntryId,
java.lang.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 java.util.List<SAPEntry> |
filterFindByUuid(java.lang.String uuid)
Returns all the sap entries that the user has permission to view where uuid = ?.
|
static java.util.List<SAPEntry> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the sap entries that the user has permission to view where uuid = ?.
|
static java.util.List<SAPEntry> |
filterFindByUuid(java.lang.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 java.util.List<SAPEntry> |
findAll()
Returns all the sap entries.
|
static java.util.List<SAPEntry> |
findAll(int start,
int end)
Returns a range of all the sap entries.
|
static java.util.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 java.util.List<SAPEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sap entries.
|
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 java.util.List<SAPEntry> |
findByC_D(long companyId,
boolean defaultSAPEntry)
Returns all the sap entries where companyId = ? and defaultSAPEntry = ?.
|
static java.util.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 java.util.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 java.util.List<SAPEntry> |
findByC_D(long companyId,
boolean defaultSAPEntry,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sap entries where companyId = ? and defaultSAPEntry = ?.
|
static SAPEntry |
findByC_N(long companyId,
java.lang.String name)
Returns the sap entry where companyId = ? and name = ? or throws a
NoSuchEntryException if it could not be found. |
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 java.util.List<SAPEntry> |
findByCompanyId(long companyId)
Returns all the sap entries where companyId = ?.
|
static java.util.List<SAPEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the sap entries where companyId = ?.
|
static java.util.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 java.util.List<SAPEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sap entries 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 SAPEntry |
findByUuid_C_First(java.lang.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(java.lang.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,
java.lang.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 java.util.List<SAPEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the sap entries where uuid = ? and companyId = ?.
|
static java.util.List<SAPEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the sap entries where uuid = ? and companyId = ?.
|
static java.util.List<SAPEntry> |
findByUuid_C(java.lang.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 java.util.List<SAPEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sap entries where uuid = ? and companyId = ?.
|
static SAPEntry |
findByUuid_First(java.lang.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(java.lang.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,
java.lang.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 java.util.List<SAPEntry> |
findByUuid(java.lang.String uuid)
Returns all the sap entries where uuid = ?.
|
static java.util.List<SAPEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the sap entries where uuid = ?.
|
static java.util.List<SAPEntry> |
findByUuid(java.lang.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 java.util.List<SAPEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sap entries where uuid = ?.
|
static java.util.List<SAPEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<SAPEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<SAPEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) |
static java.util.Set<java.lang.String> |
getBadColumnNames() |
static SAPEntryPersistence |
getPersistence() |
static SAPEntry |
remove(long sapEntryId)
Removes the sap entry with the primary key from the database.
|
static void |
removeAll()
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,
java.lang.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_C(java.lang.String uuid,
long companyId)
Removes all the sap entries where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the sap entries where uuid = ? from the database.
|
static SAPEntry |
update(SAPEntry sapEntry) |
static SAPEntry |
update(SAPEntry sapEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static SAPEntry |
updateImpl(SAPEntry sapEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(SAPEntry sapEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.List<SAPEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<SAPEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<SAPEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SAPEntry update(SAPEntry sapEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static SAPEntry update(SAPEntry sapEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<SAPEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<SAPEntry> findByUuid(java.lang.String uuid, int start, int end)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)public static java.util.List<SAPEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SAPEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static SAPEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sap entry could not be foundpublic static SAPEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sap entry could not be foundpublic static SAPEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sap entry could not be foundpublic static SAPEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sap entry could not be foundpublic static SAPEntry[] findByUuid_PrevAndNext(long sapEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
sapEntryId
- the primary key of the current sap entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sap entry with the primary key could not be foundpublic static java.util.List<SAPEntry> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<SAPEntry> filterFindByUuid(java.lang.String uuid, int start, int end)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)public static java.util.List<SAPEntry> filterFindByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static SAPEntry[] filterFindByUuid_PrevAndNext(long sapEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
sapEntryId
- the primary key of the current sap entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sap entry with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int filterCountByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<SAPEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SAPEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<SAPEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SAPEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static SAPEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sap entry could not be foundpublic static SAPEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sap entry could not be foundpublic static SAPEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sap entry could not be foundpublic static SAPEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sap entry could not be foundpublic static SAPEntry[] findByUuid_C_PrevAndNext(long sapEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
sapEntryId
- the primary key of the current sap entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sap entry with the primary key could not be foundpublic static java.util.List<SAPEntry> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SAPEntry> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<SAPEntry> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static SAPEntry[] filterFindByUuid_C_PrevAndNext(long sapEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
sapEntryId
- the primary key of the current sap entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sap entry with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SAPEntry> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<SAPEntry> findByCompanyId(long companyId, int start, int end)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)public static java.util.List<SAPEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SAPEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static SAPEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sap entry could not be foundpublic static SAPEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sap entry could not be foundpublic static SAPEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sap entry could not be foundpublic static SAPEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sap entry could not be foundpublic static SAPEntry[] findByCompanyId_PrevAndNext(long sapEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
sapEntryId
- the primary key of the current sap entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sap entry with the primary key could not be foundpublic static java.util.List<SAPEntry> filterFindByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<SAPEntry> filterFindByCompanyId(long companyId, int start, int end)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)public static java.util.List<SAPEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static SAPEntry[] filterFindByCompanyId_PrevAndNext(long sapEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
sapEntryId
- the primary key of the current sap entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sap entry with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static int filterCountByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<SAPEntry> findByC_D(long companyId, boolean defaultSAPEntry)
companyId
- the company IDdefaultSAPEntry
- the default sap entrypublic static java.util.List<SAPEntry> findByC_D(long companyId, boolean defaultSAPEntry, int start, int end)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<SAPEntry> findByC_D(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SAPEntry> findByC_D(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static SAPEntry findByC_D_First(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
companyId
- the company IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sap entry could not be foundpublic static SAPEntry fetchByC_D_First(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
companyId
- the company IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sap entry could not be foundpublic static SAPEntry findByC_D_Last(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
companyId
- the company IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sap entry could not be foundpublic static SAPEntry fetchByC_D_Last(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
companyId
- the company IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sap entry could not be foundpublic static SAPEntry[] findByC_D_PrevAndNext(long sapEntryId, long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
sapEntryId
- the primary key of the current sap entrycompanyId
- the company IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sap entry with the primary key could not be foundpublic static java.util.List<SAPEntry> filterFindByC_D(long companyId, boolean defaultSAPEntry)
companyId
- the company IDdefaultSAPEntry
- the default sap entrypublic static java.util.List<SAPEntry> filterFindByC_D(long companyId, boolean defaultSAPEntry, int start, int end)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<SAPEntry> filterFindByC_D(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static SAPEntry[] filterFindByC_D_PrevAndNext(long sapEntryId, long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException
sapEntryId
- the primary key of the current sap entrycompanyId
- the company IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sap entry with the primary key could not be foundpublic static void removeByC_D(long companyId, boolean defaultSAPEntry)
companyId
- the company IDdefaultSAPEntry
- the default sap entrypublic static int countByC_D(long companyId, boolean defaultSAPEntry)
companyId
- the company IDdefaultSAPEntry
- the default sap entrypublic static int filterCountByC_D(long companyId, boolean defaultSAPEntry)
companyId
- the company IDdefaultSAPEntry
- the default sap entrypublic static SAPEntry findByC_N(long companyId, java.lang.String name) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.companyId
- the company IDname
- the nameNoSuchEntryException
- if a matching sap entry could not be foundpublic static SAPEntry fetchByC_N(long companyId, java.lang.String name)
null
if it could not be found. Uses the finder cache.companyId
- the company IDname
- the namenull
if a matching sap entry could not be foundpublic static SAPEntry fetchByC_N(long companyId, java.lang.String name, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDname
- the nameretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching sap entry could not be foundpublic static SAPEntry removeByC_N(long companyId, java.lang.String name) throws NoSuchEntryException
companyId
- the company IDname
- the nameNoSuchEntryException
public static int countByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namepublic static void cacheResult(SAPEntry sapEntry)
sapEntry
- the sap entrypublic static void cacheResult(java.util.List<SAPEntry> sapEntries)
sapEntries
- the sap entriespublic static SAPEntry create(long sapEntryId)
sapEntryId
- the primary key for the new sap entrypublic static SAPEntry remove(long sapEntryId) throws NoSuchEntryException
sapEntryId
- the primary key of the sap entryNoSuchEntryException
- if a sap entry with the primary key could not be foundpublic static SAPEntry findByPrimaryKey(long sapEntryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.sapEntryId
- the primary key of the sap entryNoSuchEntryException
- if a sap entry with the primary key could not be foundpublic static SAPEntry fetchByPrimaryKey(long sapEntryId)
null
if it could not be found.sapEntryId
- the primary key of the sap entrynull
if a sap entry with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,SAPEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<SAPEntry> findAll()
public static java.util.List<SAPEntry> findAll(int start, int end)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)public static java.util.List<SAPEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<SAPEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SAPEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static java.util.Set<java.lang.String> getBadColumnNames()
public static SAPEntryPersistence getPersistence()