public class ObjectRelationshipLocalServiceWrapper extends java.lang.Object implements ObjectRelationshipLocalService, com.liferay.portal.kernel.service.ServiceWrapper<ObjectRelationshipLocalService>
ObjectRelationshipLocalService
.ObjectRelationshipLocalService
Constructor and Description |
---|
ObjectRelationshipLocalServiceWrapper() |
ObjectRelationshipLocalServiceWrapper(ObjectRelationshipLocalService objectRelationshipLocalService) |
Modifier and Type | Method and Description |
---|---|
ObjectRelationship |
addObjectRelationship(long userId,
long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String deletionType,
java.util.Map<java.util.Locale,java.lang.String> labelMap,
java.lang.String name,
java.lang.String type) |
ObjectRelationship |
addObjectRelationship(ObjectRelationship objectRelationship)
Adds the object relationship to the database.
|
void |
addObjectRelationshipMappingTableValues(long userId,
long objectRelationshipId,
long primaryKey1,
long primaryKey2,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
ObjectRelationship |
createObjectRelationship(long objectRelationshipId)
Creates a new object relationship with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
ObjectRelationship |
deleteObjectRelationship(long objectRelationshipId)
Deletes the object relationship with the primary key from the database.
|
ObjectRelationship |
deleteObjectRelationship(ObjectRelationship objectRelationship)
Deletes the object relationship from the database.
|
void |
deleteObjectRelationshipMappingTableValues(long objectRelationshipId,
long primaryKey1) |
void |
deleteObjectRelationshipMappingTableValues(long objectRelationshipId,
long primaryKey1,
long primaryKey2) |
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 |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.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> java.util.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.
|
ObjectRelationship |
fetchObjectRelationship(long objectRelationshipId) |
ObjectRelationship |
fetchObjectRelationshipByObjectFieldId2(long objectFieldId2) |
ObjectRelationship |
fetchObjectRelationshipByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the object relationship with the matching UUID and company.
|
ObjectRelationship |
fetchReverseObjectRelationship(ObjectRelationship objectRelationship,
boolean reverse) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
ObjectRelationship |
getObjectRelationship(long objectRelationshipId)
Returns the object relationship with the primary key.
|
ObjectRelationship |
getObjectRelationshipByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the object relationship with the matching UUID and company.
|
java.util.List<ObjectRelationship> |
getObjectRelationships(int start,
int end)
Returns a range of all the object relationships.
|
java.util.List<ObjectRelationship> |
getObjectRelationships(long objectDefinitionId1) |
java.util.List<ObjectRelationship> |
getObjectRelationships(long objectDefinitionId1,
int start,
int end) |
int |
getObjectRelationshipsCount()
Returns the number of object relationships.
|
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
ObjectRelationshipLocalService |
getWrappedService() |
void |
setWrappedService(ObjectRelationshipLocalService objectRelationshipLocalService) |
ObjectRelationship |
updateObjectRelationship(long objectRelationshipId,
java.lang.String deletionType,
java.util.Map<java.util.Locale,java.lang.String> labelMap) |
ObjectRelationship |
updateObjectRelationship(ObjectRelationship objectRelationship)
Updates the object relationship in the database or adds it if it does not yet exist.
|
public ObjectRelationshipLocalServiceWrapper()
public ObjectRelationshipLocalServiceWrapper(ObjectRelationshipLocalService objectRelationshipLocalService)
public ObjectRelationship addObjectRelationship(long userId, long objectDefinitionId1, long objectDefinitionId2, java.lang.String deletionType, java.util.Map<java.util.Locale,java.lang.String> labelMap, java.lang.String name, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
addObjectRelationship
in interface ObjectRelationshipLocalService
com.liferay.portal.kernel.exception.PortalException
public ObjectRelationship addObjectRelationship(ObjectRelationship objectRelationship)
Important: Inspect ObjectRelationshipLocalServiceImpl 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.
addObjectRelationship
in interface ObjectRelationshipLocalService
objectRelationship
- the object relationshippublic void addObjectRelationshipMappingTableValues(long userId, long objectRelationshipId, long primaryKey1, long primaryKey2, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addObjectRelationshipMappingTableValues
in interface ObjectRelationshipLocalService
com.liferay.portal.kernel.exception.PortalException
public ObjectRelationship createObjectRelationship(long objectRelationshipId)
createObjectRelationship
in interface ObjectRelationshipLocalService
objectRelationshipId
- the primary key for the new object relationshippublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface ObjectRelationshipLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public ObjectRelationship deleteObjectRelationship(long objectRelationshipId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect ObjectRelationshipLocalServiceImpl 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.
deleteObjectRelationship
in interface ObjectRelationshipLocalService
objectRelationshipId
- the primary key of the object relationshipPortalException
- if a object relationship with the primary key could not be foundpublic ObjectRelationship deleteObjectRelationship(ObjectRelationship objectRelationship) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect ObjectRelationshipLocalServiceImpl 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.
deleteObjectRelationship
in interface ObjectRelationshipLocalService
objectRelationship
- the object relationshipPortalException
public void deleteObjectRelationshipMappingTableValues(long objectRelationshipId, long primaryKey1) throws com.liferay.portal.kernel.exception.PortalException
deleteObjectRelationshipMappingTableValues
in interface ObjectRelationshipLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteObjectRelationshipMappingTableValues(long objectRelationshipId, long primaryKey1, long primaryKey2) throws com.liferay.portal.kernel.exception.PortalException
deleteObjectRelationshipMappingTableValues
in interface ObjectRelationshipLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface ObjectRelationshipLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface ObjectRelationshipLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface ObjectRelationshipLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface ObjectRelationshipLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface ObjectRelationshipLocalService
dynamicQuery
- the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.object.model.impl.ObjectRelationshipModelImpl
.
dynamicQuery
in interface ObjectRelationshipLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.object.model.impl.ObjectRelationshipModelImpl
.
dynamicQuery
in interface ObjectRelationshipLocalService
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 (optionally null
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface ObjectRelationshipLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface ObjectRelationshipLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic ObjectRelationship fetchObjectRelationship(long objectRelationshipId)
fetchObjectRelationship
in interface ObjectRelationshipLocalService
public ObjectRelationship fetchObjectRelationshipByObjectFieldId2(long objectFieldId2)
fetchObjectRelationshipByObjectFieldId2
in interface ObjectRelationshipLocalService
public ObjectRelationship fetchObjectRelationshipByUuidAndCompanyId(java.lang.String uuid, long companyId)
fetchObjectRelationshipByUuidAndCompanyId
in interface ObjectRelationshipLocalService
uuid
- the object relationship's UUIDcompanyId
- the primary key of the companynull
if a matching object relationship could not be foundpublic ObjectRelationship fetchReverseObjectRelationship(ObjectRelationship objectRelationship, boolean reverse)
fetchReverseObjectRelationship
in interface ObjectRelationshipLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface ObjectRelationshipLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface ObjectRelationshipLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface ObjectRelationshipLocalService
public ObjectRelationship getObjectRelationship(long objectRelationshipId) throws com.liferay.portal.kernel.exception.PortalException
getObjectRelationship
in interface ObjectRelationshipLocalService
objectRelationshipId
- the primary key of the object relationshipPortalException
- if a object relationship with the primary key could not be foundpublic ObjectRelationship getObjectRelationshipByUuidAndCompanyId(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getObjectRelationshipByUuidAndCompanyId
in interface ObjectRelationshipLocalService
uuid
- the object relationship's UUIDcompanyId
- the primary key of the companyPortalException
- if a matching object relationship could not be foundpublic java.util.List<ObjectRelationship> getObjectRelationships(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.object.model.impl.ObjectRelationshipModelImpl
.
getObjectRelationships
in interface ObjectRelationshipLocalService
start
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)public java.util.List<ObjectRelationship> getObjectRelationships(long objectDefinitionId1)
getObjectRelationships
in interface ObjectRelationshipLocalService
public java.util.List<ObjectRelationship> getObjectRelationships(long objectDefinitionId1, int start, int end)
getObjectRelationships
in interface ObjectRelationshipLocalService
public int getObjectRelationshipsCount()
getObjectRelationshipsCount
in interface ObjectRelationshipLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface ObjectRelationshipLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface ObjectRelationshipLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public ObjectRelationship updateObjectRelationship(long objectRelationshipId, java.lang.String deletionType, java.util.Map<java.util.Locale,java.lang.String> labelMap) throws com.liferay.portal.kernel.exception.PortalException
updateObjectRelationship
in interface ObjectRelationshipLocalService
com.liferay.portal.kernel.exception.PortalException
public ObjectRelationship updateObjectRelationship(ObjectRelationship objectRelationship)
Important: Inspect ObjectRelationshipLocalServiceImpl 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.
updateObjectRelationship
in interface ObjectRelationshipLocalService
objectRelationship
- the object relationshippublic ObjectRelationshipLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<ObjectRelationshipLocalService>
public void setWrappedService(ObjectRelationshipLocalService objectRelationshipLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<ObjectRelationshipLocalService>