@ProviderType public interface JSONStorageEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<JSONStorageEntry>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JSONStorageEntry>
Caching information and settings can be found in portal.properties
JSONStorageEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(JSONStorageEntry jsonStorageEntry)
Caches the json storage entry in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<JSONStorageEntry> jsonStorageEntries)
Caches the json storage entries in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of json storage entries.
|
int |
countByC_CN_I_T_VL(long companyId,
long classNameId,
int index,
int type,
long valueLong)
Returns the number of json storage entries where companyId = ? and classNameId = ? and index = ? and type = ? and valueLong = ?.
|
int |
countByC_CN_K_T_VL(long companyId,
long classNameId,
java.lang.String key,
int type,
long valueLong)
Returns the number of json storage entries where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.
|
int |
countByCN_CPK_P_I_K(long classNameId,
long classPK,
long parentJSONStorageEntryId,
int index,
java.lang.String key)
Returns the number of json storage entries where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ?.
|
int |
countByCN_CPK(long classNameId,
long classPK)
Returns the number of json storage entries where classNameId = ? and classPK = ?.
|
JSONStorageEntry |
create(long jsonStorageEntryId)
Creates a new json storage entry with the primary key.
|
JSONStorageEntry |
fetchByC_CN_I_T_VL_First(long companyId,
long classNameId,
int index,
int type,
long valueLong,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the first json storage entry in the ordered set where companyId = ? and classNameId = ? and index = ? and type = ? and valueLong = ?.
|
JSONStorageEntry |
fetchByC_CN_I_T_VL_Last(long companyId,
long classNameId,
int index,
int type,
long valueLong,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the last json storage entry in the ordered set where companyId = ? and classNameId = ? and index = ? and type = ? and valueLong = ?.
|
JSONStorageEntry |
fetchByC_CN_K_T_VL_First(long companyId,
long classNameId,
java.lang.String key,
int type,
long valueLong,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the first json storage entry in the ordered set where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.
|
JSONStorageEntry |
fetchByC_CN_K_T_VL_Last(long companyId,
long classNameId,
java.lang.String key,
int type,
long valueLong,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the last json storage entry in the ordered set where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.
|
JSONStorageEntry |
fetchByCN_CPK_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the first json storage entry in the ordered set where classNameId = ? and classPK = ?.
|
JSONStorageEntry |
fetchByCN_CPK_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the last json storage entry in the ordered set where classNameId = ? and classPK = ?.
|
JSONStorageEntry |
fetchByCN_CPK_P_I_K(long classNameId,
long classPK,
long parentJSONStorageEntryId,
int index,
java.lang.String key)
Returns the json storage entry where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ? or returns
null if it could not be found. |
JSONStorageEntry |
fetchByCN_CPK_P_I_K(long classNameId,
long classPK,
long parentJSONStorageEntryId,
int index,
java.lang.String key,
boolean useFinderCache)
Returns the json storage entry where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ? or returns
null if it could not be found, optionally using the finder cache. |
JSONStorageEntry |
fetchByPrimaryKey(long jsonStorageEntryId)
Returns the json storage entry with the primary key or returns
null if it could not be found. |
java.util.List<JSONStorageEntry> |
findAll()
Returns all the json storage entries.
|
java.util.List<JSONStorageEntry> |
findAll(int start,
int end)
Returns a range of all the json storage entries.
|
java.util.List<JSONStorageEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns an ordered range of all the json storage entries.
|
java.util.List<JSONStorageEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the json storage entries.
|
JSONStorageEntry |
findByC_CN_I_T_VL_First(long companyId,
long classNameId,
int index,
int type,
long valueLong,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the first json storage entry in the ordered set where companyId = ? and classNameId = ? and index = ? and type = ? and valueLong = ?.
|
JSONStorageEntry |
findByC_CN_I_T_VL_Last(long companyId,
long classNameId,
int index,
int type,
long valueLong,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the last json storage entry in the ordered set where companyId = ? and classNameId = ? and index = ? and type = ? and valueLong = ?.
|
JSONStorageEntry[] |
findByC_CN_I_T_VL_PrevAndNext(long jsonStorageEntryId,
long companyId,
long classNameId,
int index,
int type,
long valueLong,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the json storage entries before and after the current json storage entry in the ordered set where companyId = ? and classNameId = ? and index = ? and type = ? and valueLong = ?.
|
java.util.List<JSONStorageEntry> |
findByC_CN_I_T_VL(long companyId,
long classNameId,
int index,
int type,
long valueLong)
Returns all the json storage entries where companyId = ? and classNameId = ? and index = ? and type = ? and valueLong = ?.
|
java.util.List<JSONStorageEntry> |
findByC_CN_I_T_VL(long companyId,
long classNameId,
int index,
int type,
long valueLong,
int start,
int end)
Returns a range of all the json storage entries where companyId = ? and classNameId = ? and index = ? and type = ? and valueLong = ?.
|
java.util.List<JSONStorageEntry> |
findByC_CN_I_T_VL(long companyId,
long classNameId,
int index,
int type,
long valueLong,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns an ordered range of all the json storage entries where companyId = ? and classNameId = ? and index = ? and type = ? and valueLong = ?.
|
java.util.List<JSONStorageEntry> |
findByC_CN_I_T_VL(long companyId,
long classNameId,
int index,
int type,
long valueLong,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the json storage entries where companyId = ? and classNameId = ? and index = ? and type = ? and valueLong = ?.
|
JSONStorageEntry |
findByC_CN_K_T_VL_First(long companyId,
long classNameId,
java.lang.String key,
int type,
long valueLong,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the first json storage entry in the ordered set where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.
|
JSONStorageEntry |
findByC_CN_K_T_VL_Last(long companyId,
long classNameId,
java.lang.String key,
int type,
long valueLong,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the last json storage entry in the ordered set where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.
|
JSONStorageEntry[] |
findByC_CN_K_T_VL_PrevAndNext(long jsonStorageEntryId,
long companyId,
long classNameId,
java.lang.String key,
int type,
long valueLong,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the json storage entries before and after the current json storage entry in the ordered set where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.
|
java.util.List<JSONStorageEntry> |
findByC_CN_K_T_VL(long companyId,
long classNameId,
java.lang.String key,
int type,
long valueLong)
Returns all the json storage entries where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.
|
java.util.List<JSONStorageEntry> |
findByC_CN_K_T_VL(long companyId,
long classNameId,
java.lang.String key,
int type,
long valueLong,
int start,
int end)
Returns a range of all the json storage entries where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.
|
java.util.List<JSONStorageEntry> |
findByC_CN_K_T_VL(long companyId,
long classNameId,
java.lang.String key,
int type,
long valueLong,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns an ordered range of all the json storage entries where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.
|
java.util.List<JSONStorageEntry> |
findByC_CN_K_T_VL(long companyId,
long classNameId,
java.lang.String key,
int type,
long valueLong,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the json storage entries where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.
|
JSONStorageEntry |
findByCN_CPK_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the first json storage entry in the ordered set where classNameId = ? and classPK = ?.
|
JSONStorageEntry |
findByCN_CPK_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the last json storage entry in the ordered set where classNameId = ? and classPK = ?.
|
JSONStorageEntry |
findByCN_CPK_P_I_K(long classNameId,
long classPK,
long parentJSONStorageEntryId,
int index,
java.lang.String key)
Returns the json storage entry where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ? or throws a
NoSuchJSONStorageEntryException if it could not be found. |
JSONStorageEntry[] |
findByCN_CPK_PrevAndNext(long jsonStorageEntryId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns the json storage entries before and after the current json storage entry in the ordered set where classNameId = ? and classPK = ?.
|
java.util.List<JSONStorageEntry> |
findByCN_CPK(long classNameId,
long classPK)
Returns all the json storage entries where classNameId = ? and classPK = ?.
|
java.util.List<JSONStorageEntry> |
findByCN_CPK(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the json storage entries where classNameId = ? and classPK = ?.
|
java.util.List<JSONStorageEntry> |
findByCN_CPK(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
Returns an ordered range of all the json storage entries where classNameId = ? and classPK = ?.
|
java.util.List<JSONStorageEntry> |
findByCN_CPK(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the json storage entries where classNameId = ? and classPK = ?.
|
JSONStorageEntry |
findByPrimaryKey(long jsonStorageEntryId)
Returns the json storage entry with the primary key or throws a
NoSuchJSONStorageEntryException if it could not be found. |
JSONStorageEntry |
remove(long jsonStorageEntryId)
Removes the json storage entry with the primary key from the database.
|
void |
removeAll()
Removes all the json storage entries from the database.
|
void |
removeByC_CN_I_T_VL(long companyId,
long classNameId,
int index,
int type,
long valueLong)
Removes all the json storage entries where companyId = ? and classNameId = ? and index = ? and type = ? and valueLong = ? from the database.
|
void |
removeByC_CN_K_T_VL(long companyId,
long classNameId,
java.lang.String key,
int type,
long valueLong)
Removes all the json storage entries where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ? from the database.
|
JSONStorageEntry |
removeByCN_CPK_P_I_K(long classNameId,
long classPK,
long parentJSONStorageEntryId,
int index,
java.lang.String key)
Removes the json storage entry where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ? from the database.
|
void |
removeByCN_CPK(long classNameId,
long classPK)
Removes all the json storage entries where classNameId = ? and classPK = ? from the database.
|
JSONStorageEntry |
updateImpl(JSONStorageEntry jsonStorageEntry) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<JSONStorageEntry> findByCN_CPK(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkjava.util.List<JSONStorageEntry> findByCN_CPK(long classNameId, long classPK, 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, then the query will include the default ORDER BY logic from JSONStorageEntryModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of json storage entriesend
- the upper bound of the range of json storage entries (not inclusive)java.util.List<JSONStorageEntry> findByCN_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> 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, then the query will include the default ORDER BY logic from JSONStorageEntryModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of json storage entriesend
- the upper bound of the range of json storage entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<JSONStorageEntry> findByCN_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JSONStorageEntryModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of json storage entriesend
- the upper bound of the range of json storage entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheJSONStorageEntry findByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchJSONStorageEntryException
- if a matching json storage entry could not be foundJSONStorageEntry fetchByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching json storage entry could not be foundJSONStorageEntry findByCN_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchJSONStorageEntryException
- if a matching json storage entry could not be foundJSONStorageEntry fetchByCN_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching json storage entry could not be foundJSONStorageEntry[] findByCN_CPK_PrevAndNext(long jsonStorageEntryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException
jsonStorageEntryId
- the primary key of the current json storage entryclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchJSONStorageEntryException
- if a json storage entry with the primary key could not be foundvoid removeByCN_CPK(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkint countByCN_CPK(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkjava.util.List<JSONStorageEntry> findByC_CN_I_T_VL(long companyId, long classNameId, int index, int type, long valueLong)
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longjava.util.List<JSONStorageEntry> findByC_CN_I_T_VL(long companyId, long classNameId, int index, int type, long valueLong, 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, then the query will include the default ORDER BY logic from JSONStorageEntryModelImpl
.
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longstart
- the lower bound of the range of json storage entriesend
- the upper bound of the range of json storage entries (not inclusive)java.util.List<JSONStorageEntry> findByC_CN_I_T_VL(long companyId, long classNameId, int index, int type, long valueLong, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> 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, then the query will include the default ORDER BY logic from JSONStorageEntryModelImpl
.
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longstart
- the lower bound of the range of json storage entriesend
- the upper bound of the range of json storage entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<JSONStorageEntry> findByC_CN_I_T_VL(long companyId, long classNameId, int index, int type, long valueLong, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JSONStorageEntryModelImpl
.
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longstart
- the lower bound of the range of json storage entriesend
- the upper bound of the range of json storage entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheJSONStorageEntry findByC_CN_I_T_VL_First(long companyId, long classNameId, int index, int type, long valueLong, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionally null
)NoSuchJSONStorageEntryException
- if a matching json storage entry could not be foundJSONStorageEntry fetchByC_CN_I_T_VL_First(long companyId, long classNameId, int index, int type, long valueLong, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching json storage entry could not be foundJSONStorageEntry findByC_CN_I_T_VL_Last(long companyId, long classNameId, int index, int type, long valueLong, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionally null
)NoSuchJSONStorageEntryException
- if a matching json storage entry could not be foundJSONStorageEntry fetchByC_CN_I_T_VL_Last(long companyId, long classNameId, int index, int type, long valueLong, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching json storage entry could not be foundJSONStorageEntry[] findByC_CN_I_T_VL_PrevAndNext(long jsonStorageEntryId, long companyId, long classNameId, int index, int type, long valueLong, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException
jsonStorageEntryId
- the primary key of the current json storage entrycompanyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionally null
)NoSuchJSONStorageEntryException
- if a json storage entry with the primary key could not be foundvoid removeByC_CN_I_T_VL(long companyId, long classNameId, int index, int type, long valueLong)
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longint countByC_CN_I_T_VL(long companyId, long classNameId, int index, int type, long valueLong)
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longjava.util.List<JSONStorageEntry> findByC_CN_K_T_VL(long companyId, long classNameId, java.lang.String key, int type, long valueLong)
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longjava.util.List<JSONStorageEntry> findByC_CN_K_T_VL(long companyId, long classNameId, java.lang.String key, int type, long valueLong, 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, then the query will include the default ORDER BY logic from JSONStorageEntryModelImpl
.
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longstart
- the lower bound of the range of json storage entriesend
- the upper bound of the range of json storage entries (not inclusive)java.util.List<JSONStorageEntry> findByC_CN_K_T_VL(long companyId, long classNameId, java.lang.String key, int type, long valueLong, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> 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, then the query will include the default ORDER BY logic from JSONStorageEntryModelImpl
.
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longstart
- the lower bound of the range of json storage entriesend
- the upper bound of the range of json storage entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<JSONStorageEntry> findByC_CN_K_T_VL(long companyId, long classNameId, java.lang.String key, int type, long valueLong, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JSONStorageEntryModelImpl
.
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longstart
- the lower bound of the range of json storage entriesend
- the upper bound of the range of json storage entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheJSONStorageEntry findByC_CN_K_T_VL_First(long companyId, long classNameId, java.lang.String key, int type, long valueLong, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionally null
)NoSuchJSONStorageEntryException
- if a matching json storage entry could not be foundJSONStorageEntry fetchByC_CN_K_T_VL_First(long companyId, long classNameId, java.lang.String key, int type, long valueLong, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching json storage entry could not be foundJSONStorageEntry findByC_CN_K_T_VL_Last(long companyId, long classNameId, java.lang.String key, int type, long valueLong, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionally null
)NoSuchJSONStorageEntryException
- if a matching json storage entry could not be foundJSONStorageEntry fetchByC_CN_K_T_VL_Last(long companyId, long classNameId, java.lang.String key, int type, long valueLong, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching json storage entry could not be foundJSONStorageEntry[] findByC_CN_K_T_VL_PrevAndNext(long jsonStorageEntryId, long companyId, long classNameId, java.lang.String key, int type, long valueLong, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException
jsonStorageEntryId
- the primary key of the current json storage entrycompanyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionally null
)NoSuchJSONStorageEntryException
- if a json storage entry with the primary key could not be foundvoid removeByC_CN_K_T_VL(long companyId, long classNameId, java.lang.String key, int type, long valueLong)
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longint countByC_CN_K_T_VL(long companyId, long classNameId, java.lang.String key, int type, long valueLong)
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longJSONStorageEntry findByCN_CPK_P_I_K(long classNameId, long classPK, long parentJSONStorageEntryId, int index, java.lang.String key) throws NoSuchJSONStorageEntryException
NoSuchJSONStorageEntryException
if it could not be found.classNameId
- the class name IDclassPK
- the class pkparentJSONStorageEntryId
- the parent json storage entry IDindex
- the indexkey
- the keyNoSuchJSONStorageEntryException
- if a matching json storage entry could not be foundJSONStorageEntry fetchByCN_CPK_P_I_K(long classNameId, long classPK, long parentJSONStorageEntryId, int index, java.lang.String key)
null
if it could not be found. Uses the finder cache.classNameId
- the class name IDclassPK
- the class pkparentJSONStorageEntryId
- the parent json storage entry IDindex
- the indexkey
- the keynull
if a matching json storage entry could not be foundJSONStorageEntry fetchByCN_CPK_P_I_K(long classNameId, long classPK, long parentJSONStorageEntryId, int index, java.lang.String key, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.classNameId
- the class name IDclassPK
- the class pkparentJSONStorageEntryId
- the parent json storage entry IDindex
- the indexkey
- the keyuseFinderCache
- whether to use the finder cachenull
if a matching json storage entry could not be foundJSONStorageEntry removeByCN_CPK_P_I_K(long classNameId, long classPK, long parentJSONStorageEntryId, int index, java.lang.String key) throws NoSuchJSONStorageEntryException
classNameId
- the class name IDclassPK
- the class pkparentJSONStorageEntryId
- the parent json storage entry IDindex
- the indexkey
- the keyNoSuchJSONStorageEntryException
int countByCN_CPK_P_I_K(long classNameId, long classPK, long parentJSONStorageEntryId, int index, java.lang.String key)
classNameId
- the class name IDclassPK
- the class pkparentJSONStorageEntryId
- the parent json storage entry IDindex
- the indexkey
- the keyvoid cacheResult(JSONStorageEntry jsonStorageEntry)
jsonStorageEntry
- the json storage entryvoid cacheResult(java.util.List<JSONStorageEntry> jsonStorageEntries)
jsonStorageEntries
- the json storage entriesJSONStorageEntry create(long jsonStorageEntryId)
jsonStorageEntryId
- the primary key for the new json storage entryJSONStorageEntry remove(long jsonStorageEntryId) throws NoSuchJSONStorageEntryException
jsonStorageEntryId
- the primary key of the json storage entryNoSuchJSONStorageEntryException
- if a json storage entry with the primary key could not be foundJSONStorageEntry updateImpl(JSONStorageEntry jsonStorageEntry)
JSONStorageEntry findByPrimaryKey(long jsonStorageEntryId) throws NoSuchJSONStorageEntryException
NoSuchJSONStorageEntryException
if it could not be found.jsonStorageEntryId
- the primary key of the json storage entryNoSuchJSONStorageEntryException
- if a json storage entry with the primary key could not be foundJSONStorageEntry fetchByPrimaryKey(long jsonStorageEntryId)
null
if it could not be found.jsonStorageEntryId
- the primary key of the json storage entrynull
if a json storage entry with the primary key could not be foundjava.util.List<JSONStorageEntry> findAll()
java.util.List<JSONStorageEntry> 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, then the query will include the default ORDER BY logic from JSONStorageEntryModelImpl
.
start
- the lower bound of the range of json storage entriesend
- the upper bound of the range of json storage entries (not inclusive)java.util.List<JSONStorageEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> 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, then the query will include the default ORDER BY logic from JSONStorageEntryModelImpl
.
start
- the lower bound of the range of json storage entriesend
- the upper bound of the range of json storage entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<JSONStorageEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JSONStorageEntryModelImpl
.
start
- the lower bound of the range of json storage entriesend
- the upper bound of the range of json storage entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()