Interface JSONStorageEntryPersistence
- All Superinterfaces:
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
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(JSONStorageEntry jsonStorageEntry) Caches the json storage entry in the entity cache if it is enabled.void
cacheResult
(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, 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
(long classNameId, long classPK) Returns the number of json storage entries where classNameId = ? and classPK = ?.int
countByCN_CPK_P_I_K
(long classNameId, long classPK, long parentJSONStorageEntryId, int index, String key) Returns the number of json storage entries where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ?.create
(long jsonStorageEntryId) Creates a new json storage entry with the primary key.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 = ?.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 = ?.fetchByC_CN_K_T_VL_First
(long companyId, long classNameId, 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 = ?.fetchByC_CN_K_T_VL_Last
(long companyId, long classNameId, 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 = ?.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 = ?.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 = ?.fetchByCN_CPK_P_I_K
(long classNameId, long classPK, long parentJSONStorageEntryId, int index, String key) Returns the json storage entry where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ? or returnsnull
if it could not be found.fetchByCN_CPK_P_I_K
(long classNameId, long classPK, long parentJSONStorageEntryId, int index, String key, boolean useFinderCache) Returns the json storage entry where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long jsonStorageEntryId) Returns the json storage entry with the primary key or returnsnull
if it could not be found.findAll()
Returns all the json storage entries.findAll
(int start, int end) Returns a range of all the json storage entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) Returns an ordered range of all the json storage entries.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.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByC_CN_K_T_VL
(long companyId, long classNameId, String key, int type, long valueLong) Returns all the json storage entries where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.findByC_CN_K_T_VL
(long companyId, long classNameId, 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 = ?.findByC_CN_K_T_VL
(long companyId, long classNameId, 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 = ?.findByC_CN_K_T_VL
(long companyId, long classNameId, 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 = ?.findByC_CN_K_T_VL_First
(long companyId, long classNameId, 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 = ?.findByC_CN_K_T_VL_Last
(long companyId, long classNameId, 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 = ?.findByC_CN_K_T_VL_PrevAndNext
(long jsonStorageEntryId, long companyId, long classNameId, 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 = ?.findByCN_CPK
(long classNameId, long classPK) Returns all the json storage entries where classNameId = ? and classPK = ?.findByCN_CPK
(long classNameId, long classPK, int start, int end) Returns a range of all the json storage entries where classNameId = ? and classPK = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByCN_CPK_P_I_K
(long classNameId, long classPK, long parentJSONStorageEntryId, int index, String key) Returns the json storage entry where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ? or throws aNoSuchJSONStorageEntryException
if it could not be found.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 = ?.findByPrimaryKey
(long jsonStorageEntryId) Returns the json storage entry with the primary key or throws aNoSuchJSONStorageEntryException
if it could not be found.remove
(long jsonStorageEntryId) Removes the json storage entry with the primary key from the database.void
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, 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.void
removeByCN_CPK
(long classNameId, long classPK) Removes all the json storage entries where classNameId = ? and classPK = ? from the database.removeByCN_CPK_P_I_K
(long classNameId, long classPK, long parentJSONStorageEntryId, int index, String key) Removes the json storage entry where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ? from the database.updateImpl
(JSONStorageEntry jsonStorageEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByCN_CPK
Returns all the json storage entries where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching json storage entries
-
findByCN_CPK
Returns a range of all the json storage entries where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJSONStorageEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching json storage entries
-
findByCN_CPK
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJSONStorageEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching json storage entries
-
findByCN_CPK
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJSONStorageEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching json storage entries
-
findByCN_CPK_First
JSONStorageEntry findByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException Returns the first json storage entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching json storage entry
- Throws:
NoSuchJSONStorageEntryException
- if a matching json storage entry could not be found
-
fetchByCN_CPK_First
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 = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching json storage entry, or
null
if a matching json storage entry could not be found
-
findByCN_CPK_Last
JSONStorageEntry findByCN_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException Returns the last json storage entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching json storage entry
- Throws:
NoSuchJSONStorageEntryException
- if a matching json storage entry could not be found
-
fetchByCN_CPK_Last
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 = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching json storage entry, or
null
if a matching json storage entry could not be found
-
findByCN_CPK_PrevAndNext
JSONStorageEntry[] findByCN_CPK_PrevAndNext(long jsonStorageEntryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException Returns the json storage entries before and after the current json storage entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
jsonStorageEntryId
- the primary key of the current json storage entryclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next json storage entry
- Throws:
NoSuchJSONStorageEntryException
- if a json storage entry with the primary key could not be found
-
removeByCN_CPK
void removeByCN_CPK(long classNameId, long classPK) Removes all the json storage entries where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pk
-
countByCN_CPK
int countByCN_CPK(long classNameId, long classPK) Returns the number of json storage entries where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching json storage entries
-
findByC_CN_I_T_VL
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 = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value long- Returns:
- the matching json storage entries
-
findByC_CN_I_T_VL
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJSONStorageEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching json storage entries
-
findByC_CN_I_T_VL
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJSONStorageEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching json storage entries
-
findByC_CN_I_T_VL
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJSONStorageEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching json storage entries
-
findByC_CN_I_T_VL_First
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) throws NoSuchJSONStorageEntryException Returns the first json storage entry in the ordered set where companyId = ? and classNameId = ? and index = ? and type = ? and valueLong = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching json storage entry
- Throws:
NoSuchJSONStorageEntryException
- if a matching json storage entry could not be found
-
fetchByC_CN_I_T_VL_First
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 = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching json storage entry, or
null
if a matching json storage entry could not be found
-
findByC_CN_I_T_VL_Last
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) throws NoSuchJSONStorageEntryException Returns the last json storage entry in the ordered set where companyId = ? and classNameId = ? and index = ? and type = ? and valueLong = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching json storage entry
- Throws:
NoSuchJSONStorageEntryException
- if a matching json storage entry could not be found
-
fetchByC_CN_I_T_VL_Last
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 = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching json storage entry, or
null
if a matching json storage entry could not be found
-
findByC_CN_I_T_VL_PrevAndNext
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) throws NoSuchJSONStorageEntryException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next json storage entry
- Throws:
NoSuchJSONStorageEntryException
- if a json storage entry with the primary key could not be found
-
removeByC_CN_I_T_VL
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.- Parameters:
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value long
-
countByC_CN_I_T_VL
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 = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDindex
- the indextype
- the typevalueLong
- the value long- Returns:
- the number of matching json storage entries
-
findByC_CN_K_T_VL
List<JSONStorageEntry> findByC_CN_K_T_VL(long companyId, long classNameId, String key, int type, long valueLong) Returns all the json storage entries where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value long- Returns:
- the matching json storage entries
-
findByC_CN_K_T_VL
List<JSONStorageEntry> findByC_CN_K_T_VL(long companyId, long classNameId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJSONStorageEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching json storage entries
-
findByC_CN_K_T_VL
List<JSONStorageEntry> findByC_CN_K_T_VL(long companyId, long classNameId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJSONStorageEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching json storage entries
-
findByC_CN_K_T_VL
List<JSONStorageEntry> findByC_CN_K_T_VL(long companyId, long classNameId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJSONStorageEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching json storage entries
-
findByC_CN_K_T_VL_First
JSONStorageEntry findByC_CN_K_T_VL_First(long companyId, long classNameId, String key, int type, long valueLong, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException Returns the first json storage entry in the ordered set where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching json storage entry
- Throws:
NoSuchJSONStorageEntryException
- if a matching json storage entry could not be found
-
fetchByC_CN_K_T_VL_First
JSONStorageEntry fetchByC_CN_K_T_VL_First(long companyId, long classNameId, 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 = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching json storage entry, or
null
if a matching json storage entry could not be found
-
findByC_CN_K_T_VL_Last
JSONStorageEntry findByC_CN_K_T_VL_Last(long companyId, long classNameId, String key, int type, long valueLong, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException Returns the last json storage entry in the ordered set where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching json storage entry
- Throws:
NoSuchJSONStorageEntryException
- if a matching json storage entry could not be found
-
fetchByC_CN_K_T_VL_Last
JSONStorageEntry fetchByC_CN_K_T_VL_Last(long companyId, long classNameId, 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 = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value longorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching json storage entry, or
null
if a matching json storage entry could not be found
-
findByC_CN_K_T_VL_PrevAndNext
JSONStorageEntry[] findByC_CN_K_T_VL_PrevAndNext(long jsonStorageEntryId, long companyId, long classNameId, String key, int type, long valueLong, com.liferay.portal.kernel.util.OrderByComparator<JSONStorageEntry> orderByComparator) throws NoSuchJSONStorageEntryException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next json storage entry
- Throws:
NoSuchJSONStorageEntryException
- if a json storage entry with the primary key could not be found
-
removeByC_CN_K_T_VL
Removes all the json storage entries where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ? from the database.- Parameters:
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value long
-
countByC_CN_K_T_VL
Returns the number of json storage entries where companyId = ? and classNameId = ? and key = ? and type = ? and valueLong = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDkey
- the keytype
- the typevalueLong
- the value long- Returns:
- the number of matching json storage entries
-
findByCN_CPK_P_I_K
JSONStorageEntry findByCN_CPK_P_I_K(long classNameId, long classPK, long parentJSONStorageEntryId, int index, String key) throws NoSuchJSONStorageEntryException Returns the json storage entry where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ? or throws aNoSuchJSONStorageEntryException
if it could not be found.- Parameters:
classNameId
- the class name IDclassPK
- the class pkparentJSONStorageEntryId
- the parent json storage entry IDindex
- the indexkey
- the key- Returns:
- the matching json storage entry
- Throws:
NoSuchJSONStorageEntryException
- if a matching json storage entry could not be found
-
fetchByCN_CPK_P_I_K
JSONStorageEntry fetchByCN_CPK_P_I_K(long classNameId, long classPK, long parentJSONStorageEntryId, int index, String key) Returns the json storage entry where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkparentJSONStorageEntryId
- the parent json storage entry IDindex
- the indexkey
- the key- Returns:
- the matching json storage entry, or
null
if a matching json storage entry could not be found
-
fetchByCN_CPK_P_I_K
JSONStorageEntry fetchByCN_CPK_P_I_K(long classNameId, long classPK, long parentJSONStorageEntryId, int index, String key, boolean useFinderCache) Returns the json storage entry where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkparentJSONStorageEntryId
- the parent json storage entry IDindex
- the indexkey
- the keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching json storage entry, or
null
if a matching json storage entry could not be found
-
removeByCN_CPK_P_I_K
JSONStorageEntry removeByCN_CPK_P_I_K(long classNameId, long classPK, long parentJSONStorageEntryId, int index, String key) throws NoSuchJSONStorageEntryException Removes the json storage entry where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkparentJSONStorageEntryId
- the parent json storage entry IDindex
- the indexkey
- the key- Returns:
- the json storage entry that was removed
- Throws:
NoSuchJSONStorageEntryException
-
countByCN_CPK_P_I_K
int countByCN_CPK_P_I_K(long classNameId, long classPK, long parentJSONStorageEntryId, int index, String key) Returns the number of json storage entries where classNameId = ? and classPK = ? and parentJSONStorageEntryId = ? and index = ? and key = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkparentJSONStorageEntryId
- the parent json storage entry IDindex
- the indexkey
- the key- Returns:
- the number of matching json storage entries
-
cacheResult
Caches the json storage entry in the entity cache if it is enabled.- Parameters:
jsonStorageEntry
- the json storage entry
-
cacheResult
Caches the json storage entries in the entity cache if it is enabled.- Parameters:
jsonStorageEntries
- the json storage entries
-
create
Creates a new json storage entry with the primary key. Does not add the json storage entry to the database.- Parameters:
jsonStorageEntryId
- the primary key for the new json storage entry- Returns:
- the new json storage entry
-
remove
Removes the json storage entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
jsonStorageEntryId
- the primary key of the json storage entry- Returns:
- the json storage entry that was removed
- Throws:
NoSuchJSONStorageEntryException
- if a json storage entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the json storage entry with the primary key or throws aNoSuchJSONStorageEntryException
if it could not be found.- Parameters:
jsonStorageEntryId
- the primary key of the json storage entry- Returns:
- the json storage entry
- Throws:
NoSuchJSONStorageEntryException
- if a json storage entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the json storage entry with the primary key or returnsnull
if it could not be found.- Parameters:
jsonStorageEntryId
- the primary key of the json storage entry- Returns:
- the json storage entry, or
null
if a json storage entry with the primary key could not be found
-
findAll
List<JSONStorageEntry> findAll()Returns all the json storage entries.- Returns:
- the json storage entries
-
findAll
Returns a range of all the json storage entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJSONStorageEntryModelImpl
.- Parameters:
start
- the lower bound of the range of json storage entriesend
- the upper bound of the range of json storage entries (not inclusive)- Returns:
- the range of json storage entries
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJSONStorageEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of json storage entries
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJSONStorageEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of json storage entries
-
removeAll
void removeAll()Removes all the json storage entries from the database. -
countAll
int countAll()Returns the number of json storage entries.- Returns:
- the number of json storage entries
-