Class CTCollectionLocalServiceWrapper
- All Implemented Interfaces:
CTCollectionLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<CTCollectionLocalService>
CTCollectionLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCTCollectionLocalServiceWrapper
(CTCollectionLocalService ctCollectionLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddCTCollection
(CTCollection ctCollection) Adds the ct collection to the database.addCTCollection
(String externalReferenceCode, long companyId, long userId, long ctRemoteId, String name, String description) checkConflicts
(long companyId, long[] ctEntryIds, long fromCTCollectionId, String fromCTCollectionName, long toCTCollectionId, String toCTCollectionName) checkConflicts
(long companyId, List<CTEntry> ctEntries, long fromCTCollectionId, String fromCTCollectionName, long toCTCollectionId, String toCTCollectionName) checkConflicts
(CTCollection ctCollection) createCTCollection
(long ctCollectionId) Creates a new ct collection with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) void
deleteCompanyCTCollections
(long companyId) void
deleteCTAutoResolutionInfo
(long ctAutoResolutionInfoId) deleteCTCollection
(long ctCollectionId) Deletes the ct collection with the primary key from the database.deleteCTCollection
(CTCollection ctCollection) Deletes the ct collection from the database.com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) void
discardCTEntry
(long ctCollectionId, long modelClassNameId, long modelClassPK, boolean force) <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.fetchCTCollection
(long ctCollectionId) fetchCTCollectionByExternalReferenceCode
(String externalReferenceCode, long companyId) fetchCTCollectionByUuidAndCompanyId
(String uuid, long companyId) Returns the ct collection with the matching UUID and company.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
getCTCollection
(long ctCollectionId) Returns the ct collection with the primary key.getCTCollectionByExternalReferenceCode
(String externalReferenceCode, long companyId) getCTCollectionByUuidAndCompanyId
(String uuid, long companyId) Returns the ct collection with the matching UUID and company.getCTCollections
(int start, int end) Returns a range of all the ct collections.getCTCollections
(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) getCTCollections
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) int
Returns the number of ct collections.getCTMappingTableInfos
(long ctCollectionId) getExclusivePublishedCTCollections
(long modelClassNameId, long modelClassPK) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) getRelatedCTEntries
(long ctCollectionId, long[] ctEntryIds) getRelatedCTEntriesMap
(long ctCollectionId, long modelClassNameId, long modelClassPK) boolean
hasUnapprovedChanges
(long ctCollectionId) boolean
isCTEntryEnclosed
(long ctCollectionId, long modelClassNameId, long modelClassPK) void
moveCTEntry
(long fromCTCollectionId, long toCTCollectionId, long modelClassNameId, long modelClassPK) void
setWrappedService
(CTCollectionLocalService ctCollectionLocalService) undoCTCollection
(long ctCollectionId, long userId, String name, String description) updateCTCollection
(long userId, long ctCollectionId, String name, String description) updateCTCollection
(CTCollection ctCollection) Updates the ct collection in the database or adds it if it does not yet exist.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
-
CTCollectionLocalServiceWrapper
public CTCollectionLocalServiceWrapper() -
CTCollectionLocalServiceWrapper
-
-
Method Details
-
addCTCollection
Adds the ct collection to the database. Also notifies the appropriate model listeners.Important: Inspect CTCollectionLocalServiceImpl 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:
addCTCollection
in interfaceCTCollectionLocalService
- Parameters:
ctCollection
- the ct collection- Returns:
- the ct collection that was added
-
addCTCollection
public CTCollection addCTCollection(String externalReferenceCode, long companyId, long userId, long ctRemoteId, String name, String description) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCTCollection
in interfaceCTCollectionLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
checkConflicts
public Map<Long,List<ConflictInfo>> checkConflicts(CTCollection ctCollection) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
checkConflicts
in interfaceCTCollectionLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
checkConflicts
public Map<Long,List<ConflictInfo>> checkConflicts(long companyId, List<CTEntry> ctEntries, long fromCTCollectionId, String fromCTCollectionName, long toCTCollectionId, String toCTCollectionName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
checkConflicts
in interfaceCTCollectionLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
checkConflicts
public Map<Long,List<ConflictInfo>> checkConflicts(long companyId, long[] ctEntryIds, long fromCTCollectionId, String fromCTCollectionName, long toCTCollectionId, String toCTCollectionName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
checkConflicts
in interfaceCTCollectionLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCTCollection
Creates a new ct collection with the primary key. Does not add the ct collection to the database.- Specified by:
createCTCollection
in interfaceCTCollectionLocalService
- Parameters:
ctCollectionId
- the primary key for the new ct collection- Returns:
- the new ct collection
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceCTCollectionLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteCompanyCTCollections
public void deleteCompanyCTCollections(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCompanyCTCollections
in interfaceCTCollectionLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCTAutoResolutionInfo
public void deleteCTAutoResolutionInfo(long ctAutoResolutionInfoId) - Specified by:
deleteCTAutoResolutionInfo
in interfaceCTCollectionLocalService
-
deleteCTCollection
public CTCollection deleteCTCollection(CTCollection ctCollection) throws com.liferay.portal.kernel.exception.PortalException Deletes the ct collection from the database. Also notifies the appropriate model listeners.Important: Inspect CTCollectionLocalServiceImpl 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:
deleteCTCollection
in interfaceCTCollectionLocalService
- Parameters:
ctCollection
- the ct collection- Returns:
- the ct collection that was removed
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteCTCollection
public CTCollection deleteCTCollection(long ctCollectionId) throws com.liferay.portal.kernel.exception.PortalException Deletes the ct collection with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect CTCollectionLocalServiceImpl 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:
deleteCTCollection
in interfaceCTCollectionLocalService
- Parameters:
ctCollectionId
- the primary key of the ct collection- Returns:
- the ct collection that was removed
- Throws:
PortalException
- if a ct collection 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 interfaceCTCollectionLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
discardCTEntry
public void discardCTEntry(long ctCollectionId, long modelClassNameId, long modelClassPK, boolean force) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
discardCTEntry
in interfaceCTCollectionLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceCTCollectionLocalService
- 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 interfaceCTCollectionLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceCTCollectionLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceCTCollectionLocalService
- 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.change.tracking.model.impl.CTCollectionModelImpl
.- Specified by:
dynamicQuery
in interfaceCTCollectionLocalService
- 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.change.tracking.model.impl.CTCollectionModelImpl
.- Specified by:
dynamicQuery
in interfaceCTCollectionLocalService
- 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 interfaceCTCollectionLocalService
- 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 interfaceCTCollectionLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCTCollection
- Specified by:
fetchCTCollection
in interfaceCTCollectionLocalService
-
fetchCTCollectionByExternalReferenceCode
public CTCollection fetchCTCollectionByExternalReferenceCode(String externalReferenceCode, long companyId) - Specified by:
fetchCTCollectionByExternalReferenceCode
in interfaceCTCollectionLocalService
-
fetchCTCollectionByUuidAndCompanyId
Returns the ct collection with the matching UUID and company.- Specified by:
fetchCTCollectionByUuidAndCompanyId
in interfaceCTCollectionLocalService
- Parameters:
uuid
- the ct collection's UUIDcompanyId
- the primary key of the company- Returns:
- the matching ct collection, or
null
if a matching ct collection could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceCTCollectionLocalService
-
getCTCollection
public CTCollection getCTCollection(long ctCollectionId) throws com.liferay.portal.kernel.exception.PortalException Returns the ct collection with the primary key.- Specified by:
getCTCollection
in interfaceCTCollectionLocalService
- Parameters:
ctCollectionId
- the primary key of the ct collection- Returns:
- the ct collection
- Throws:
PortalException
- if a ct collection with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getCTCollectionByExternalReferenceCode
public CTCollection getCTCollectionByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCTCollectionByExternalReferenceCode
in interfaceCTCollectionLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCTCollectionByUuidAndCompanyId
public CTCollection getCTCollectionByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException Returns the ct collection with the matching UUID and company.- Specified by:
getCTCollectionByUuidAndCompanyId
in interfaceCTCollectionLocalService
- Parameters:
uuid
- the ct collection's UUIDcompanyId
- the primary key of the company- Returns:
- the matching ct collection
- Throws:
PortalException
- if a matching ct collection could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getCTCollections
Returns a range of all the ct collections.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.change.tracking.model.impl.CTCollectionModelImpl
.- Specified by:
getCTCollections
in interfaceCTCollectionLocalService
- Parameters:
start
- the lower bound of the range of ct collectionsend
- the upper bound of the range of ct collections (not inclusive)- Returns:
- the range of ct collections
-
getCTCollections
public List<CTCollection> getCTCollections(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) - Specified by:
getCTCollections
in interfaceCTCollectionLocalService
-
getCTCollections
public List<CTCollection> getCTCollections(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) - Specified by:
getCTCollections
in interfaceCTCollectionLocalService
-
getCTCollectionsCount
public int getCTCollectionsCount()Returns the number of ct collections.- Specified by:
getCTCollectionsCount
in interfaceCTCollectionLocalService
- Returns:
- the number of ct collections
-
getCTMappingTableInfos
- Specified by:
getCTMappingTableInfos
in interfaceCTCollectionLocalService
-
getExclusivePublishedCTCollections
public List<CTCollection> getExclusivePublishedCTCollections(long modelClassNameId, long modelClassPK) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getExclusivePublishedCTCollections
in interfaceCTCollectionLocalService
- 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:
getExportActionableDynamicQuery
in interfaceCTCollectionLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceCTCollectionLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCTCollectionLocalService
- 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 interfaceCTCollectionLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
getRelatedCTEntries
public List<CTEntry> getRelatedCTEntries(long ctCollectionId, long[] ctEntryIds) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getRelatedCTEntries
in interfaceCTCollectionLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRelatedCTEntriesMap
public Map<Long,List<CTEntry>> getRelatedCTEntriesMap(long ctCollectionId, long modelClassNameId, long modelClassPK) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getRelatedCTEntriesMap
in interfaceCTCollectionLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasUnapprovedChanges
- Specified by:
hasUnapprovedChanges
in interfaceCTCollectionLocalService
- Throws:
SQLException
-
isCTEntryEnclosed
public boolean isCTEntryEnclosed(long ctCollectionId, long modelClassNameId, long modelClassPK) - Specified by:
isCTEntryEnclosed
in interfaceCTCollectionLocalService
-
moveCTEntry
public void moveCTEntry(long fromCTCollectionId, long toCTCollectionId, long modelClassNameId, long modelClassPK) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveCTEntry
in interfaceCTCollectionLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
undoCTCollection
public CTCollection undoCTCollection(long ctCollectionId, long userId, String name, String description) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
undoCTCollection
in interfaceCTCollectionLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCTCollection
Updates the ct collection in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect CTCollectionLocalServiceImpl 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:
updateCTCollection
in interfaceCTCollectionLocalService
- Parameters:
ctCollection
- the ct collection- Returns:
- the ct collection that was updated
-
updateCTCollection
public CTCollection updateCTCollection(long userId, long ctCollectionId, String name, String description) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCTCollection
in interfaceCTCollectionLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CTCollectionLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CTCollectionLocalService>
-