Liferay 7.0-ce-m6

com.liferay.portlet.dynamicdatamapping.service
Class DDMTemplateLinkLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLinkLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, ServiceWrapper<DDMTemplateLinkLocalService>, DDMTemplateLinkLocalService

@ProviderType
public class DDMTemplateLinkLocalServiceWrapper
extends Object
implements DDMTemplateLinkLocalService, ServiceWrapper<DDMTemplateLinkLocalService>

Provides a wrapper for DDMTemplateLinkLocalService.

See Also:
DDMTemplateLinkLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
DDMTemplateLinkLocalServiceWrapper(DDMTemplateLinkLocalService ddmTemplateLinkLocalService)
           
 
Method Summary
 DDMTemplateLink addDDMTemplateLink(DDMTemplateLink ddmTemplateLink)
          Adds the d d m template link to the database.
 DDMTemplateLink addTemplateLink(long classNameId, long classPK, long templateId)
           
 DDMTemplateLink createDDMTemplateLink(long templateLinkId)
          Creates a new d d m template link with the primary key.
 DDMTemplateLink deleteDDMTemplateLink(DDMTemplateLink ddmTemplateLink)
          Deletes the d d m template link from the database.
 DDMTemplateLink deleteDDMTemplateLink(long templateLinkId)
          Deletes the d d m template link with the primary key from the database.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 DDMTemplateLink deleteTemplateLink(DDMTemplateLink templateLink)
           
 DDMTemplateLink deleteTemplateLink(long templateLinkId)
           
 DDMTemplateLink deleteTemplateLink(long classNameId, long classPK)
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(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(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 DDMTemplateLink fetchDDMTemplateLink(long templateLinkId)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 DDMTemplateLink getDDMTemplateLink(long templateLinkId)
          Returns the d d m template link with the primary key.
 List<DDMTemplateLink> getDDMTemplateLinks(int start, int end)
          Returns a range of all the d d m template links.
 int getDDMTemplateLinksCount()
          Returns the number of d d m template links.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 DDMTemplateLink getTemplateLink(long templateLinkId)
           
 DDMTemplateLink getTemplateLink(long classNameId, long classPK)
           
 List<DDMTemplateLink> getTemplateLinks(long classNameId)
           
 DDMTemplateLinkLocalService getWrappedDDMTemplateLinkLocalService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 DDMTemplateLinkLocalService getWrappedService()
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedDDMTemplateLinkLocalService(DDMTemplateLinkLocalService ddmTemplateLinkLocalService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLinkLocalService)
 void setWrappedService(DDMTemplateLinkLocalService ddmTemplateLinkLocalService)
           
 DDMTemplateLink updateDDMTemplateLink(DDMTemplateLink ddmTemplateLink)
          Updates the d d m template link in the database or adds it if it does not yet exist.
 DDMTemplateLink updateTemplateLink(long templateLinkId, long templateId)
           
 DDMTemplateLink updateTemplateLink(long classNameId, long classPK, long templateId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMTemplateLinkLocalServiceWrapper

public DDMTemplateLinkLocalServiceWrapper(DDMTemplateLinkLocalService ddmTemplateLinkLocalService)
Method Detail

addDDMTemplateLink

public DDMTemplateLink addDDMTemplateLink(DDMTemplateLink ddmTemplateLink)
Adds the d d m template link to the database. Also notifies the appropriate model listeners.

Specified by:
addDDMTemplateLink in interface DDMTemplateLinkLocalService
Parameters:
ddmTemplateLink - the d d m template link
Returns:
the d d m template link that was added

addTemplateLink

public DDMTemplateLink addTemplateLink(long classNameId,
                                       long classPK,
                                       long templateId)
Specified by:
addTemplateLink in interface DDMTemplateLinkLocalService

createDDMTemplateLink

public DDMTemplateLink createDDMTemplateLink(long templateLinkId)
Creates a new d d m template link with the primary key. Does not add the d d m template link to the database.

Specified by:
createDDMTemplateLink in interface DDMTemplateLinkLocalService
Parameters:
templateLinkId - the primary key for the new d d m template link
Returns:
the new d d m template link

deleteDDMTemplateLink

public DDMTemplateLink deleteDDMTemplateLink(DDMTemplateLink ddmTemplateLink)
Deletes the d d m template link from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDDMTemplateLink in interface DDMTemplateLinkLocalService
Parameters:
ddmTemplateLink - the d d m template link
Returns:
the d d m template link that was removed

deleteDDMTemplateLink

public DDMTemplateLink deleteDDMTemplateLink(long templateLinkId)
                                      throws PortalException
Deletes the d d m template link with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDDMTemplateLink in interface DDMTemplateLinkLocalService
Parameters:
templateLinkId - the primary key of the d d m template link
Returns:
the d d m template link that was removed
Throws:
PortalException - if a d d m template link with the primary key could not be found

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface DDMTemplateLinkLocalService
Throws:
PortalException

deleteTemplateLink

public DDMTemplateLink deleteTemplateLink(long classNameId,
                                          long classPK)
Specified by:
deleteTemplateLink in interface DDMTemplateLinkLocalService

deleteTemplateLink

public DDMTemplateLink deleteTemplateLink(DDMTemplateLink templateLink)
Specified by:
deleteTemplateLink in interface DDMTemplateLinkLocalService

deleteTemplateLink

public DDMTemplateLink deleteTemplateLink(long templateLinkId)
                                   throws PortalException
Specified by:
deleteTemplateLink in interface DDMTemplateLinkLocalService
Throws:
PortalException

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface DDMTemplateLinkLocalService

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface DDMTemplateLinkLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(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 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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMTemplateLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
dynamicQuery in interface DDMTemplateLinkLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                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 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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMTemplateLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
dynamicQuery in interface DDMTemplateLinkLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface DDMTemplateLinkLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface DDMTemplateLinkLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchDDMTemplateLink

public DDMTemplateLink fetchDDMTemplateLink(long templateLinkId)
Specified by:
fetchDDMTemplateLink in interface DDMTemplateLinkLocalService

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface DDMTemplateLinkLocalService

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface DDMTemplateLinkLocalService
Returns:
the Spring bean ID for this bean

getDDMTemplateLink

public DDMTemplateLink getDDMTemplateLink(long templateLinkId)
                                   throws PortalException
Returns the d d m template link with the primary key.

Specified by:
getDDMTemplateLink in interface DDMTemplateLinkLocalService
Parameters:
templateLinkId - the primary key of the d d m template link
Returns:
the d d m template link
Throws:
PortalException - if a d d m template link with the primary key could not be found

getDDMTemplateLinks

public List<DDMTemplateLink> getDDMTemplateLinks(int start,
                                                 int end)
Returns a range of all the d d m template links.

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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMTemplateLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
getDDMTemplateLinks in interface DDMTemplateLinkLocalService
Parameters:
start - the lower bound of the range of d d m template links
end - the upper bound of the range of d d m template links (not inclusive)
Returns:
the range of d d m template links

getDDMTemplateLinksCount

public int getDDMTemplateLinksCount()
Returns the number of d d m template links.

Specified by:
getDDMTemplateLinksCount in interface DDMTemplateLinkLocalService
Returns:
the number of d d m template links

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface DDMTemplateLinkLocalService
Throws:
PortalException

getTemplateLink

public DDMTemplateLink getTemplateLink(long classNameId,
                                       long classPK)
                                throws PortalException
Specified by:
getTemplateLink in interface DDMTemplateLinkLocalService
Throws:
PortalException

getTemplateLink

public DDMTemplateLink getTemplateLink(long templateLinkId)
                                throws PortalException
Specified by:
getTemplateLink in interface DDMTemplateLinkLocalService
Throws:
PortalException

getTemplateLinks

public List<DDMTemplateLink> getTemplateLinks(long classNameId)
Specified by:
getTemplateLinks in interface DDMTemplateLinkLocalService

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface DDMTemplateLinkLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

updateDDMTemplateLink

public DDMTemplateLink updateDDMTemplateLink(DDMTemplateLink ddmTemplateLink)
Updates the d d m template link in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateDDMTemplateLink in interface DDMTemplateLinkLocalService
Parameters:
ddmTemplateLink - the d d m template link
Returns:
the d d m template link that was updated

updateTemplateLink

public DDMTemplateLink updateTemplateLink(long classNameId,
                                          long classPK,
                                          long templateId)
Specified by:
updateTemplateLink in interface DDMTemplateLinkLocalService

updateTemplateLink

public DDMTemplateLink updateTemplateLink(long templateLinkId,
                                          long templateId)
                                   throws PortalException
Specified by:
updateTemplateLink in interface DDMTemplateLinkLocalService
Throws:
PortalException

getWrappedDDMTemplateLinkLocalService

@Deprecated
public DDMTemplateLinkLocalService getWrappedDDMTemplateLinkLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedDDMTemplateLinkLocalService

@Deprecated
public void setWrappedDDMTemplateLinkLocalService(DDMTemplateLinkLocalService ddmTemplateLinkLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLinkLocalService)


getWrappedService

public DDMTemplateLinkLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<DDMTemplateLinkLocalService>

setWrappedService

public void setWrappedService(DDMTemplateLinkLocalService ddmTemplateLinkLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<DDMTemplateLinkLocalService>

Liferay 7.0-ce-m6