Class ObjectEntryLocalServiceWrapper
- All Implemented Interfaces:
ObjectEntryLocalService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<ObjectEntryLocalService>
ObjectEntryLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionObjectEntryLocalServiceWrapper(ObjectEntryLocalService objectEntryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddObjectEntry(long userId, long groupId, long objectDefinitionId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) addObjectEntry(ObjectEntry objectEntry) Adds the object entry to the database.addObjectEntry(String externalReferenceCode, long userId, ObjectDefinition objectDefinition) voidaddOrUpdateExtensionDynamicObjectDefinitionTableValues(long userId, ObjectDefinition objectDefinition, long primaryKey, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateObjectEntry(String externalReferenceCode, long userId, long groupId, long objectDefinitionId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) createObjectEntry(long objectEntryId) Creates a new object entry with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) voiddeleteExtensionDynamicObjectDefinitionTableValues(ObjectDefinition objectDefinition, long primaryKey) deleteObjectEntry(long objectEntryId) Deletes the object entry with the primary key from the database.deleteObjectEntry(ObjectEntry objectEntry) Deletes the object entry from the database.deleteObjectEntry(String externalReferenceCode, long companyId, long groupId) com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) voiddeleteRelatedObjectEntries(long groupId, long objectDefinitionId, long primaryKey) <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.fetchManyToOneObjectEntry(long groupId, long objectRelationshipId, long primaryKey) fetchObjectEntry(long objectEntryId) fetchObjectEntry(String externalReferenceCode, long objectDefinitionId) fetchObjectEntryByUuidAndGroupId(String uuid, long groupId) Returns the object entry matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerygetAggregationCounts(long groupId, long objectDefinitionId, String aggregationTerm, com.liferay.petra.sql.dsl.expression.Predicate predicate, int start, int end) com.liferay.portal.kernel.service.persistence.BasePersistence<?>com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) getExtensionDynamicObjectDefinitionTableValues(ObjectDefinition objectDefinition, long primaryKey) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetManyToManyObjectEntries(long groupId, long objectRelationshipId, long primaryKey, boolean related, boolean reverse, String search, int start, int end) intgetManyToManyObjectEntriesCount(long groupId, long objectRelationshipId, long primaryKey, boolean related, boolean reverse, String search) getObjectEntries(int start, int end) Returns a range of all the object entries.getObjectEntries(long groupId, long objectDefinitionId, int start, int end) getObjectEntries(long groupId, long objectDefinitionId, int status, int start, int end) getObjectEntriesByUuidAndCompanyId(String uuid, long companyId) Returns all the object entries matching the UUID and company.getObjectEntriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns a range of object entries matching the UUID and company.intReturns the number of object entries.intgetObjectEntriesCount(long objectDefinitionId) intgetObjectEntriesCount(long groupId, long objectDefinitionId) longgetObjectEntriesCount(long groupId, ObjectDefinition objectDefinition, com.liferay.petra.sql.dsl.expression.Predicate predicate) longgetObjectEntriesCount(long userId, Date createDate, long objectDefinitionId) getObjectEntry(long objectEntryId) Returns the object entry with the primary key.getObjectEntry(String externalReferenceCode, long objectDefinitionId) getObjectEntry(String externalReferenceCode, long companyId, long groupId) getObjectEntryByUuidAndGroupId(String uuid, long groupId) Returns the object entry matching the UUID and group.getOneToManyObjectEntries(long groupId, long objectRelationshipId, long primaryKey, boolean related, String search, int start, int end) intgetOneToManyObjectEntriesCount(long groupId, long objectRelationshipId, long primaryKey, boolean related, String search) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) getPrimaryKeys(long groupId, long companyId, long userId, long objectDefinitionId, com.liferay.petra.sql.dsl.expression.Predicate predicate, String search, int start, int end, com.liferay.portal.kernel.search.Sort[] sorts) getSystemModelAttributes(ObjectDefinition objectDefinition, long primaryKey) getSystemValues(ObjectEntry objectEntry) getTitleValue(long objectDefinitionId, long primaryKey) getValues(long objectEntryId) getValues(ObjectEntry objectEntry) getValuesList(long groupId, long companyId, long userId, long objectDefinitionId, com.liferay.petra.sql.dsl.expression.Predicate predicate, String search, int start, int end, com.liferay.portal.kernel.search.Sort[] sorts) intgetValuesListCount(long groupId, long companyId, long userId, long objectDefinitionId, com.liferay.petra.sql.dsl.expression.Predicate predicate, String search) voidinsertIntoOrUpdateExtensionTable(long userId, long objectDefinitionId, long primaryKey, Map<String, Serializable> values) com.liferay.portal.kernel.search.BaseModelSearchResult<ObjectEntry>searchObjectEntries(long groupId, long objectDefinitionId, String keywords, int cur, int delta) voidsetWrappedService(ObjectEntryLocalService objectEntryLocalService) voidupdateAsset(long userId, ObjectEntry objectEntry, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds, Double priority) updateObjectEntry(long userId, long objectEntryId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateObjectEntry(ObjectEntry objectEntry) Updates the object entry in the database or adds it if it does not yet exist.voidupdateRootObjectEntryIds(ObjectDefinition objectDefinition1, ObjectDefinition objectDefinition2, ObjectRelationship objectRelationship) updateStatus(long userId, long objectEntryId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateStatus(long userId, ObjectEntry objectEntry, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) 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
-
ObjectEntryLocalServiceWrapper
public ObjectEntryLocalServiceWrapper() -
ObjectEntryLocalServiceWrapper
-
-
Method Details
-
addObjectEntry
public ObjectEntry addObjectEntry(long userId, long groupId, long objectDefinitionId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
addObjectEntryin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addObjectEntry
Adds the object entry to the database. Also notifies the appropriate model listeners.Important: Inspect ObjectEntryLocalServiceImpl 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:
addObjectEntryin interfaceObjectEntryLocalService- Parameters:
objectEntry- the object entry- Returns:
- the object entry that was added
-
addObjectEntry
public ObjectEntry addObjectEntry(String externalReferenceCode, long userId, ObjectDefinition objectDefinition) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addObjectEntryin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateExtensionDynamicObjectDefinitionTableValues
public void addOrUpdateExtensionDynamicObjectDefinitionTableValues(long userId, ObjectDefinition objectDefinition, long primaryKey, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
addOrUpdateExtensionDynamicObjectDefinitionTableValuesin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateObjectEntry
public ObjectEntry addOrUpdateObjectEntry(String externalReferenceCode, long userId, long groupId, long objectDefinitionId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
addOrUpdateObjectEntryin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createObjectEntry
Creates a new object entry with the primary key. Does not add the object entry to the database.- Specified by:
createObjectEntryin interfaceObjectEntryLocalService- Parameters:
objectEntryId- the primary key for the new object entry- Returns:
- the new object entry
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceObjectEntryLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteExtensionDynamicObjectDefinitionTableValues
public void deleteExtensionDynamicObjectDefinitionTableValues(ObjectDefinition objectDefinition, long primaryKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteExtensionDynamicObjectDefinitionTableValuesin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteObjectEntry
public ObjectEntry deleteObjectEntry(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException Deletes the object entry with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect ObjectEntryLocalServiceImpl 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:
deleteObjectEntryin interfaceObjectEntryLocalService- Parameters:
objectEntryId- the primary key of the object entry- Returns:
- the object entry that was removed
- Throws:
PortalException- if a object entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteObjectEntry
public ObjectEntry deleteObjectEntry(ObjectEntry objectEntry) throws com.liferay.portal.kernel.exception.PortalException Deletes the object entry from the database. Also notifies the appropriate model listeners.Important: Inspect ObjectEntryLocalServiceImpl 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:
deleteObjectEntryin interfaceObjectEntryLocalService- Parameters:
objectEntry- the object entry- Returns:
- the object entry that was removed
- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteObjectEntry
public ObjectEntry deleteObjectEntry(String externalReferenceCode, long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteObjectEntryin interfaceObjectEntryLocalService- Throws:
com.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 interfaceObjectEntryLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteRelatedObjectEntries
public void deleteRelatedObjectEntries(long groupId, long objectDefinitionId, long primaryKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteRelatedObjectEntriesin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceObjectEntryLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceObjectEntryLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceObjectEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceObjectEntryLocalService- 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.object.model.impl.ObjectEntryModelImpl.- Specified by:
dynamicQueryin interfaceObjectEntryLocalService- 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.object.model.impl.ObjectEntryModelImpl.- Specified by:
dynamicQueryin interfaceObjectEntryLocalService- 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 interfaceObjectEntryLocalService- 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 interfaceObjectEntryLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchManyToOneObjectEntry
public ObjectEntry fetchManyToOneObjectEntry(long groupId, long objectRelationshipId, long primaryKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchManyToOneObjectEntryin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchObjectEntry
- Specified by:
fetchObjectEntryin interfaceObjectEntryLocalService
-
fetchObjectEntry
- Specified by:
fetchObjectEntryin interfaceObjectEntryLocalService
-
fetchObjectEntryByUuidAndGroupId
Returns the object entry matching the UUID and group.- Specified by:
fetchObjectEntryByUuidAndGroupIdin interfaceObjectEntryLocalService- Parameters:
uuid- the object entry's UUIDgroupId- the primary key of the group- Returns:
- the matching object entry, or
nullif a matching object entry could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceObjectEntryLocalService
-
getAggregationCounts
public Map<Object,Long> getAggregationCounts(long groupId, long objectDefinitionId, String aggregationTerm, com.liferay.petra.sql.dsl.expression.Predicate predicate, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getAggregationCountsin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceObjectEntryLocalService
-
getExtensionDynamicObjectDefinitionTableValues
public Map<String,Serializable> getExtensionDynamicObjectDefinitionTableValues(ObjectDefinition objectDefinition, long primaryKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getExtensionDynamicObjectDefinitionTableValuesin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceObjectEntryLocalService
-
getManyToManyObjectEntries
public List<ObjectEntry> getManyToManyObjectEntries(long groupId, long objectRelationshipId, long primaryKey, boolean related, boolean reverse, String search, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getManyToManyObjectEntriesin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getManyToManyObjectEntriesCount
public int getManyToManyObjectEntriesCount(long groupId, long objectRelationshipId, long primaryKey, boolean related, boolean reverse, String search) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getManyToManyObjectEntriesCountin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectEntries
Returns a range of all the object 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.object.model.impl.ObjectEntryModelImpl.- Specified by:
getObjectEntriesin interfaceObjectEntryLocalService- Parameters:
start- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of object entries
-
getObjectEntries
public List<ObjectEntry> getObjectEntries(long groupId, long objectDefinitionId, int start, int end) - Specified by:
getObjectEntriesin interfaceObjectEntryLocalService
-
getObjectEntries
public List<ObjectEntry> getObjectEntries(long groupId, long objectDefinitionId, int status, int start, int end) - Specified by:
getObjectEntriesin interfaceObjectEntryLocalService
-
getObjectEntriesByUuidAndCompanyId
Returns all the object entries matching the UUID and company.- Specified by:
getObjectEntriesByUuidAndCompanyIdin interfaceObjectEntryLocalService- Parameters:
uuid- the UUID of the object entriescompanyId- the primary key of the company- Returns:
- the matching object entries, or an empty list if no matches were found
-
getObjectEntriesByUuidAndCompanyId
public List<ObjectEntry> getObjectEntriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns a range of object entries matching the UUID and company.- Specified by:
getObjectEntriesByUuidAndCompanyIdin interfaceObjectEntryLocalService- Parameters:
uuid- the UUID of the object entriescompanyId- the primary key of the companystart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the range of matching object entries, or an empty list if no matches were found
-
getObjectEntriesCount
public int getObjectEntriesCount()Returns the number of object entries.- Specified by:
getObjectEntriesCountin interfaceObjectEntryLocalService- Returns:
- the number of object entries
-
getObjectEntriesCount
public int getObjectEntriesCount(long objectDefinitionId) - Specified by:
getObjectEntriesCountin interfaceObjectEntryLocalService
-
getObjectEntriesCount
public long getObjectEntriesCount(long userId, Date createDate, long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getObjectEntriesCountin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectEntriesCount
public int getObjectEntriesCount(long groupId, long objectDefinitionId) - Specified by:
getObjectEntriesCountin interfaceObjectEntryLocalService
-
getObjectEntriesCount
public long getObjectEntriesCount(long groupId, ObjectDefinition objectDefinition, com.liferay.petra.sql.dsl.expression.Predicate predicate) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getObjectEntriesCountin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectEntry
public ObjectEntry getObjectEntry(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException Returns the object entry with the primary key.- Specified by:
getObjectEntryin interfaceObjectEntryLocalService- Parameters:
objectEntryId- the primary key of the object entry- Returns:
- the object entry
- Throws:
PortalException- if a object entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getObjectEntry
public ObjectEntry getObjectEntry(String externalReferenceCode, long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getObjectEntryin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectEntry
public ObjectEntry getObjectEntry(String externalReferenceCode, long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getObjectEntryin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectEntryByUuidAndGroupId
public ObjectEntry getObjectEntryByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the object entry matching the UUID and group.- Specified by:
getObjectEntryByUuidAndGroupIdin interfaceObjectEntryLocalService- Parameters:
uuid- the object entry's UUIDgroupId- the primary key of the group- Returns:
- the matching object entry
- Throws:
PortalException- if a matching object entry could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getOneToManyObjectEntries
public List<ObjectEntry> getOneToManyObjectEntries(long groupId, long objectRelationshipId, long primaryKey, boolean related, String search, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getOneToManyObjectEntriesin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOneToManyObjectEntriesCount
public int getOneToManyObjectEntriesCount(long groupId, long objectRelationshipId, long primaryKey, boolean related, String search) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getOneToManyObjectEntriesCountin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceObjectEntryLocalService- 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 interfaceObjectEntryLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
getPrimaryKeys
public List<Long> getPrimaryKeys(long groupId, long companyId, long userId, long objectDefinitionId, com.liferay.petra.sql.dsl.expression.Predicate predicate, String search, int start, int end, com.liferay.portal.kernel.search.Sort[] sorts) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPrimaryKeysin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSystemModelAttributes
public Map<String,Object> getSystemModelAttributes(ObjectDefinition objectDefinition, long primaryKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getSystemModelAttributesin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSystemValues
public Map<String,Serializable> getSystemValues(ObjectEntry objectEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getSystemValuesin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTitleValue
public String getTitleValue(long objectDefinitionId, long primaryKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getTitleValuein interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getValues
public Map<String,Serializable> getValues(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getValuesin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getValues
public Map<String,Serializable> getValues(ObjectEntry objectEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getValuesin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getValuesList
public List<Map<String,Serializable>> getValuesList(long groupId, long companyId, long userId, long objectDefinitionId, com.liferay.petra.sql.dsl.expression.Predicate predicate, String search, int start, int end, com.liferay.portal.kernel.search.Sort[] sorts) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getValuesListin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getValuesListCount
public int getValuesListCount(long groupId, long companyId, long userId, long objectDefinitionId, com.liferay.petra.sql.dsl.expression.Predicate predicate, String search) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getValuesListCountin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
insertIntoOrUpdateExtensionTable
public void insertIntoOrUpdateExtensionTable(long userId, long objectDefinitionId, long primaryKey, Map<String, Serializable> values) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
insertIntoOrUpdateExtensionTablein interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchObjectEntries
public com.liferay.portal.kernel.search.BaseModelSearchResult<ObjectEntry> searchObjectEntries(long groupId, long objectDefinitionId, String keywords, int cur, int delta) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchObjectEntriesin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAsset
public void updateAsset(long userId, ObjectEntry objectEntry, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds, Double priority) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateAssetin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateObjectEntry
public ObjectEntry updateObjectEntry(long userId, long objectEntryId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
updateObjectEntryin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateObjectEntry
Updates the object entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect ObjectEntryLocalServiceImpl 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:
updateObjectEntryin interfaceObjectEntryLocalService- Parameters:
objectEntry- the object entry- Returns:
- the object entry that was updated
-
updateRootObjectEntryIds
public void updateRootObjectEntryIds(ObjectDefinition objectDefinition1, ObjectDefinition objectDefinition2, ObjectRelationship objectRelationship) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateRootObjectEntryIdsin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public ObjectEntry updateStatus(long userId, long objectEntryId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStatusin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public ObjectEntry updateStatus(long userId, ObjectEntry objectEntry, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStatusin interfaceObjectEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<ObjectEntryLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<ObjectEntryLocalService>
-