Class JSONStorageEntryLocalServiceWrapper
- All Implemented Interfaces:
JSONStorageEntryLocalService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<JSONStorageEntry>,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<JSONStorageEntryLocalService>
JSONStorageEntryLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionJSONStorageEntryLocalServiceWrapper(JSONStorageEntryLocalService jsonStorageEntryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddJSONStorageEntries(long companyId, long classNameId, long classPK, String json) addJSONStorageEntry(JSONStorageEntry jsonStorageEntry) Adds the json storage entry to the database.createJSONStorageEntry(long jsonStorageEntryId) Creates a new json storage entry with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) voiddeleteJSONStorageEntries(long classNameId, long classPK) deleteJSONStorageEntry(long jsonStorageEntryId) Deletes the json storage entry with the primary key from the database.deleteJSONStorageEntry(JSONStorageEntry jsonStorageEntry) Deletes the json storage entry from the database.com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchJSONStorageEntry(long jsonStorageEntryId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>getClassPKs(long companyId, long classNameId, int start, int end) getClassPKs(long companyId, long classNameId, Object[] pathParts, Object value, int start, int end) intgetClassPKsCount(long companyId, long classNameId) intgetClassPKsCount(long companyId, long classNameId, Object[] pathParts, Object value) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JSONStorageEntry>com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetJSON(long classNameId, long classPK) com.liferay.portal.kernel.json.JSONArraygetJSONArray(long classNameId, long classPK) com.liferay.portal.kernel.json.JSONObjectgetJSONObject(long classNameId, long classPK) com.liferay.portal.kernel.json.JSONSerializablegetJSONSerializable(long classNameId, long classPK) getJSONStorageEntries(int start, int end) Returns a range of all the json storage entries.intReturns the number of json storage entries.getJSONStorageEntry(long jsonStorageEntryId) Returns the json storage entry with the primary key.Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) voidsetWrappedService(JSONStorageEntryLocalService jsonStorageEntryLocalService) voidupdateJSONStorageEntries(long companyId, long classNameId, long classPK, String json) updateJSONStorageEntry(JSONStorageEntry jsonStorageEntry) Updates the json storage entry in the database or adds it if it does not yet exist.<R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JSONStorageEntry>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
JSONStorageEntryLocalServiceWrapper
public JSONStorageEntryLocalServiceWrapper() -
JSONStorageEntryLocalServiceWrapper
public JSONStorageEntryLocalServiceWrapper(JSONStorageEntryLocalService jsonStorageEntryLocalService)
-
-
Method Details
-
addJSONStorageEntries
- Specified by:
addJSONStorageEntriesin interfaceJSONStorageEntryLocalService
-
addJSONStorageEntry
Adds the json storage entry to the database. Also notifies the appropriate model listeners.Important: Inspect JSONStorageEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addJSONStorageEntryin interfaceJSONStorageEntryLocalService- Parameters:
jsonStorageEntry- the json storage entry- Returns:
- the json storage entry that was added
-
createJSONStorageEntry
Creates a new json storage entry with the primary key. Does not add the json storage entry to the database.- Specified by:
createJSONStorageEntryin interfaceJSONStorageEntryLocalService- Parameters:
jsonStorageEntryId- the primary key for the new json storage entry- Returns:
- the new json storage entry
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceJSONStorageEntryLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteJSONStorageEntries
public void deleteJSONStorageEntries(long classNameId, long classPK) - Specified by:
deleteJSONStorageEntriesin interfaceJSONStorageEntryLocalService
-
deleteJSONStorageEntry
Deletes the json storage entry from the database. Also notifies the appropriate model listeners.Important: Inspect JSONStorageEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteJSONStorageEntryin interfaceJSONStorageEntryLocalService- Parameters:
jsonStorageEntry- the json storage entry- Returns:
- the json storage entry that was removed
-
deleteJSONStorageEntry
public JSONStorageEntry deleteJSONStorageEntry(long jsonStorageEntryId) throws com.liferay.portal.kernel.exception.PortalException Deletes the json storage entry with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect JSONStorageEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteJSONStorageEntryin interfaceJSONStorageEntryLocalService- Parameters:
jsonStorageEntryId- the primary key of the json storage entry- Returns:
- the json storage entry that was removed
- Throws:
PortalException- if a json storage entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfaceJSONStorageEntryLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceJSONStorageEntryLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceJSONStorageEntryLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceJSONStorageEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceJSONStorageEntryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.json.storage.model.impl.JSONStorageEntryModelImpl.- Specified by:
dynamicQueryin interfaceJSONStorageEntryLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.json.storage.model.impl.JSONStorageEntryModelImpl.- Specified by:
dynamicQueryin interfaceJSONStorageEntryLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceJSONStorageEntryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceJSONStorageEntryLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchJSONStorageEntry
- Specified by:
fetchJSONStorageEntryin interfaceJSONStorageEntryLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceJSONStorageEntryLocalService
-
getClassPKs
- Specified by:
getClassPKsin interfaceJSONStorageEntryLocalService
-
getClassPKs
public List<Long> getClassPKs(long companyId, long classNameId, Object[] pathParts, Object value, int start, int end) - Specified by:
getClassPKsin interfaceJSONStorageEntryLocalService
-
getClassPKsCount
public int getClassPKsCount(long companyId, long classNameId) - Specified by:
getClassPKsCountin interfaceJSONStorageEntryLocalService
-
getClassPKsCount
- Specified by:
getClassPKsCountin interfaceJSONStorageEntryLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceJSONStorageEntryLocalService
-
getJSON
- Specified by:
getJSONin interfaceJSONStorageEntryLocalService
-
getJSONArray
public com.liferay.portal.kernel.json.JSONArray getJSONArray(long classNameId, long classPK) - Specified by:
getJSONArrayin interfaceJSONStorageEntryLocalService
-
getJSONObject
public com.liferay.portal.kernel.json.JSONObject getJSONObject(long classNameId, long classPK) - Specified by:
getJSONObjectin interfaceJSONStorageEntryLocalService
-
getJSONSerializable
public com.liferay.portal.kernel.json.JSONSerializable getJSONSerializable(long classNameId, long classPK) - Specified by:
getJSONSerializablein interfaceJSONStorageEntryLocalService
-
getJSONStorageEntries
Returns a range of all the json storage entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.json.storage.model.impl.JSONStorageEntryModelImpl.- Specified by:
getJSONStorageEntriesin interfaceJSONStorageEntryLocalService- 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
-
getJSONStorageEntriesCount
public int getJSONStorageEntriesCount()Returns the number of json storage entries.- Specified by:
getJSONStorageEntriesCountin interfaceJSONStorageEntryLocalService- Returns:
- the number of json storage entries
-
getJSONStorageEntry
public JSONStorageEntry getJSONStorageEntry(long jsonStorageEntryId) throws com.liferay.portal.kernel.exception.PortalException Returns the json storage entry with the primary key.- Specified by:
getJSONStorageEntryin interfaceJSONStorageEntryLocalService- Parameters:
jsonStorageEntryId- the primary key of the json storage entry- Returns:
- the json storage entry
- Throws:
PortalException- if a json storage entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceJSONStorageEntryLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfaceJSONStorageEntryLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
updateJSONStorageEntries
- Specified by:
updateJSONStorageEntriesin interfaceJSONStorageEntryLocalService
-
updateJSONStorageEntry
Updates the json storage entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect JSONStorageEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateJSONStorageEntryin interfaceJSONStorageEntryLocalService- Parameters:
jsonStorageEntry- the json storage entry- Returns:
- the json storage entry that was updated
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JSONStorageEntry> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JSONStorageEntry>- Specified by:
getCTPersistencein interfaceJSONStorageEntryLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JSONStorageEntry>- Specified by:
getModelClassin interfaceJSONStorageEntryLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JSONStorageEntry>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JSONStorageEntry>- Specified by:
updateWithUnsafeFunctionin interfaceJSONStorageEntryLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<JSONStorageEntryLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<JSONStorageEntryLocalService>
-