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 TypeMethodDescriptionvoid
addJSONStorageEntries
(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.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) void
deleteJSONStorageEntries
(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.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(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.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.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.fetchJSONStorageEntry
(long jsonStorageEntryId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.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) int
getClassPKsCount
(long companyId, long classNameId) int
getClassPKsCount
(long companyId, long classNameId, Object[] pathParts, Object value) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JSONStorageEntry>
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getJSON
(long classNameId, long classPK) com.liferay.portal.kernel.json.JSONArray
getJSONArray
(long classNameId, long classPK) com.liferay.portal.kernel.json.JSONObject
getJSONObject
(long classNameId, long classPK) com.liferay.portal.kernel.json.JSONSerializable
getJSONSerializable
(long classNameId, long classPK) getJSONStorageEntries
(int start, int end) Returns a range of all the json storage entries.int
Returns 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.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) void
setWrappedService
(JSONStorageEntryLocalService jsonStorageEntryLocalService) void
updateJSONStorageEntries
(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, wait
Methods 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:
addJSONStorageEntries
in 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:
addJSONStorageEntry
in 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:
createJSONStorageEntry
in 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:
createPersistedModel
in interfaceJSONStorageEntryLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteJSONStorageEntries
public void deleteJSONStorageEntries(long classNameId, long classPK) - Specified by:
deleteJSONStorageEntries
in 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:
deleteJSONStorageEntry
in 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:
deleteJSONStorageEntry
in 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:
deletePersistedModel
in interfaceJSONStorageEntryLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceJSONStorageEntryLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceJSONStorageEntryLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceJSONStorageEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in 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 - 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
tocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.json.storage.model.impl.JSONStorageEntryModelImpl
.- Specified by:
dynamicQuery
in 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 - 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
tocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.json.storage.model.impl.JSONStorageEntryModelImpl
.- Specified by:
dynamicQuery
in 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:
dynamicQueryCount
in 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:
dynamicQueryCount
in 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:
fetchJSONStorageEntry
in interfaceJSONStorageEntryLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceJSONStorageEntryLocalService
-
getClassPKs
- Specified by:
getClassPKs
in interfaceJSONStorageEntryLocalService
-
getClassPKs
public List<Long> getClassPKs(long companyId, long classNameId, Object[] pathParts, Object value, int start, int end) - Specified by:
getClassPKs
in interfaceJSONStorageEntryLocalService
-
getClassPKsCount
public int getClassPKsCount(long companyId, long classNameId) - Specified by:
getClassPKsCount
in interfaceJSONStorageEntryLocalService
-
getClassPKsCount
- Specified by:
getClassPKsCount
in interfaceJSONStorageEntryLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceJSONStorageEntryLocalService
-
getJSON
- Specified by:
getJSON
in interfaceJSONStorageEntryLocalService
-
getJSONArray
public com.liferay.portal.kernel.json.JSONArray getJSONArray(long classNameId, long classPK) - Specified by:
getJSONArray
in interfaceJSONStorageEntryLocalService
-
getJSONObject
public com.liferay.portal.kernel.json.JSONObject getJSONObject(long classNameId, long classPK) - Specified by:
getJSONObject
in interfaceJSONStorageEntryLocalService
-
getJSONSerializable
public com.liferay.portal.kernel.json.JSONSerializable getJSONSerializable(long classNameId, long classPK) - Specified by:
getJSONSerializable
in interfaceJSONStorageEntryLocalService
-
getJSONStorageEntries
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
tocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.json.storage.model.impl.JSONStorageEntryModelImpl
.- Specified by:
getJSONStorageEntries
in 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:
getJSONStorageEntriesCount
in 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:
getJSONStorageEntry
in 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:
getOSGiServiceIdentifier
in 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:
getPersistedModel
in interfaceJSONStorageEntryLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
updateJSONStorageEntries
- Specified by:
updateJSONStorageEntries
in 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:
updateJSONStorageEntry
in 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:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JSONStorageEntry> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JSONStorageEntry>
- Specified by:
getCTPersistence
in interfaceJSONStorageEntryLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JSONStorageEntry>
- Specified by:
getModelClass
in 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:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JSONStorageEntry>
- Specified by:
updateWithUnsafeFunction
in interfaceJSONStorageEntryLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<JSONStorageEntryLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<JSONStorageEntryLocalService>
-