public abstract class DDMTemplateLocalServiceBaseImpl
extends com.liferay.portal.service.BaseLocalServiceImpl
implements com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService, com.liferay.portal.kernel.bean.IdentifiableBean
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in DDMTemplateLocalServiceImpl.
DDMTemplateLocalServiceImpl,
DDMTemplateLocalServiceUtil| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.counter.service.CounterLocalService |
counterLocalService |
protected com.liferay.portlet.dynamicdatamapping.service.DDMContentLocalService |
ddmContentLocalService |
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence |
ddmContentPersistence |
protected com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalService |
ddmStorageLinkLocalService |
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence |
ddmStorageLinkPersistence |
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder |
ddmStructureFinder |
protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService |
ddmStructureLinkLocalService |
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence |
ddmStructureLinkPersistence |
protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService |
ddmStructureLocalService |
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence |
ddmStructurePersistence |
protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureService |
ddmStructureService |
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplateFinder |
ddmTemplateFinder |
protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService |
ddmTemplateLocalService |
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence |
ddmTemplatePersistence |
protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService |
ddmTemplateService |
protected com.liferay.portal.service.persistence.GroupFinder |
groupFinder |
protected com.liferay.portal.service.GroupLocalService |
groupLocalService |
protected com.liferay.portal.service.persistence.GroupPersistence |
groupPersistence |
protected com.liferay.portal.service.GroupService |
groupService |
protected com.liferay.portal.service.ImageLocalService |
imageLocalService |
protected com.liferay.portal.service.persistence.ImagePersistence |
imagePersistence |
protected com.liferay.portal.service.ImageService |
imageService |
protected com.liferay.portal.service.PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry |
protected com.liferay.portal.service.ResourceLocalService |
resourceLocalService |
protected com.liferay.portal.service.SystemEventLocalService |
systemEventLocalService |
protected com.liferay.portal.service.persistence.SystemEventPersistence |
systemEventPersistence |
protected com.liferay.portal.service.persistence.UserFinder |
userFinder |
protected com.liferay.portal.service.UserLocalService |
userLocalService |
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence |
protected com.liferay.portal.service.UserService |
userService |
| Constructor and Description |
|---|
DDMTemplateLocalServiceBaseImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
addDDMTemplate(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
Adds the d d m template to the database.
|
void |
afterPropertiesSet() |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
createDDMTemplate(long templateId)
Creates a new d d m template with the primary key.
|
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
deleteDDMTemplate(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
Deletes the d d m template from the database.
|
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
deleteDDMTemplate(long templateId)
Deletes the d d m template with the primary key from the database.
|
void |
destroy() |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
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.
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator 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 that match 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 that match the dynamic query.
|
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
fetchDDMTemplate(long templateId) |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
fetchDDMTemplateByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the d d m template with the matching UUID and company.
|
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
fetchDDMTemplateByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the d d m template matching the UUID and group.
|
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
com.liferay.counter.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
com.liferay.portlet.dynamicdatamapping.service.DDMContentLocalService |
getDDMContentLocalService()
Returns the d d m content local service.
|
com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence |
getDDMContentPersistence()
Returns the d d m content persistence.
|
com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalService |
getDDMStorageLinkLocalService()
Returns the d d m storage link local service.
|
com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence |
getDDMStorageLinkPersistence()
Returns the d d m storage link persistence.
|
com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder |
getDDMStructureFinder()
Returns the d d m structure finder.
|
com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService |
getDDMStructureLinkLocalService()
Returns the d d m structure link local service.
|
com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence |
getDDMStructureLinkPersistence()
Returns the d d m structure link persistence.
|
com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService |
getDDMStructureLocalService()
Returns the d d m structure local service.
|
com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence |
getDDMStructurePersistence()
Returns the d d m structure persistence.
|
com.liferay.portlet.dynamicdatamapping.service.DDMStructureService |
getDDMStructureService()
Returns the d d m structure remote service.
|
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
getDDMTemplate(long templateId)
Returns the d d m template with the primary key.
|
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
getDDMTemplateByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the d d m template with the matching UUID and company.
|
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
getDDMTemplateByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the d d m template matching the UUID and group.
|
com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplateFinder |
getDDMTemplateFinder()
Returns the d d m template finder.
|
com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService |
getDDMTemplateLocalService()
Returns the d d m template local service.
|
com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence |
getDDMTemplatePersistence()
Returns the d d m template persistence.
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
getDDMTemplates(int start,
int end)
Returns a range of all the d d m templates.
|
int |
getDDMTemplatesCount()
Returns the number of d d m templates.
|
com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService |
getDDMTemplateService()
Returns the d d m template remote service.
|
com.liferay.portal.service.persistence.GroupFinder |
getGroupFinder()
Returns the group finder.
|
com.liferay.portal.service.GroupLocalService |
getGroupLocalService()
Returns the group local service.
|
com.liferay.portal.service.persistence.GroupPersistence |
getGroupPersistence()
Returns the group persistence.
|
com.liferay.portal.service.GroupService |
getGroupService()
Returns the group remote service.
|
com.liferay.portal.service.ImageLocalService |
getImageLocalService()
Returns the image local service.
|
com.liferay.portal.service.persistence.ImagePersistence |
getImagePersistence()
Returns the image persistence.
|
com.liferay.portal.service.ImageService |
getImageService()
Returns the image remote service.
|
protected java.lang.Class<?> |
getModelClass() |
protected java.lang.String |
getModelClassName() |
com.liferay.portal.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
com.liferay.portal.service.ResourceLocalService |
getResourceLocalService()
Returns the resource local service.
|
com.liferay.portal.service.SystemEventLocalService |
getSystemEventLocalService()
Returns the system event local service.
|
com.liferay.portal.service.persistence.SystemEventPersistence |
getSystemEventPersistence()
Returns the system event persistence.
|
com.liferay.portal.service.persistence.UserFinder |
getUserFinder()
Returns the user finder.
|
com.liferay.portal.service.UserLocalService |
getUserLocalService()
Returns the user local service.
|
com.liferay.portal.service.persistence.UserPersistence |
getUserPersistence()
Returns the user persistence.
|
com.liferay.portal.service.UserService |
getUserService()
Returns the user remote service.
|
protected void |
runSQL(java.lang.String sql)
Performs an SQL query.
|
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
Sets the counter local service.
|
void |
setDDMContentLocalService(com.liferay.portlet.dynamicdatamapping.service.DDMContentLocalService ddmContentLocalService)
Sets the d d m content local service.
|
void |
setDDMContentPersistence(com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence ddmContentPersistence)
Sets the d d m content persistence.
|
void |
setDDMStorageLinkLocalService(com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalService ddmStorageLinkLocalService)
Sets the d d m storage link local service.
|
void |
setDDMStorageLinkPersistence(com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence ddmStorageLinkPersistence)
Sets the d d m storage link persistence.
|
void |
setDDMStructureFinder(com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder ddmStructureFinder)
Sets the d d m structure finder.
|
void |
setDDMStructureLinkLocalService(com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService ddmStructureLinkLocalService)
Sets the d d m structure link local service.
|
void |
setDDMStructureLinkPersistence(com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence ddmStructureLinkPersistence)
Sets the d d m structure link persistence.
|
void |
setDDMStructureLocalService(com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService)
Sets the d d m structure local service.
|
void |
setDDMStructurePersistence(com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence ddmStructurePersistence)
Sets the d d m structure persistence.
|
void |
setDDMStructureService(com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService)
Sets the d d m structure remote service.
|
void |
setDDMTemplateFinder(com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplateFinder ddmTemplateFinder)
Sets the d d m template finder.
|
void |
setDDMTemplateLocalService(com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService ddmTemplateLocalService)
Sets the d d m template local service.
|
void |
setDDMTemplatePersistence(com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence ddmTemplatePersistence)
Sets the d d m template persistence.
|
void |
setDDMTemplateService(com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService ddmTemplateService)
Sets the d d m template remote service.
|
void |
setGroupFinder(com.liferay.portal.service.persistence.GroupFinder groupFinder)
Sets the group finder.
|
void |
setGroupLocalService(com.liferay.portal.service.GroupLocalService groupLocalService)
Sets the group local service.
|
void |
setGroupPersistence(com.liferay.portal.service.persistence.GroupPersistence groupPersistence)
Sets the group persistence.
|
void |
setGroupService(com.liferay.portal.service.GroupService groupService)
Sets the group remote service.
|
void |
setImageLocalService(com.liferay.portal.service.ImageLocalService imageLocalService)
Sets the image local service.
|
void |
setImagePersistence(com.liferay.portal.service.persistence.ImagePersistence imagePersistence)
Sets the image persistence.
|
void |
setImageService(com.liferay.portal.service.ImageService imageService)
Sets the image remote service.
|
void |
setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
Sets the resource local service.
|
void |
setSystemEventLocalService(com.liferay.portal.service.SystemEventLocalService systemEventLocalService)
Sets the system event local service.
|
void |
setSystemEventPersistence(com.liferay.portal.service.persistence.SystemEventPersistence systemEventPersistence)
Sets the system event persistence.
|
void |
setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
Sets the user finder.
|
void |
setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
Sets the user local service.
|
void |
setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
Sets the user persistence.
|
void |
setUserService(com.liferay.portal.service.UserService userService)
Sets the user remote service.
|
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
updateDDMTemplate(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
Updates the d d m template in the database or adds it if it does not yet exist.
|
getClassLoader, getLayoutURL, getLayoutURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTemplate, addTemplate, addTemplateResources, addTemplateResources, copyTemplate, copyTemplate, copyTemplates, deleteTemplate, deleteTemplate, deleteTemplates, deleteTemplates, fetchTemplate, fetchTemplate, getTemplate, getTemplate, getTemplate, getTemplateBySmallImageId, getTemplates, getTemplates, getTemplates, getTemplates, getTemplates, getTemplatesByClassPK, getTemplatesByClassPK, getTemplatesByClassPK, getTemplatesByClassPKCount, getTemplatesByStructureClassNameId, getTemplatesByStructureClassNameIdCount, getTemplatesCount, getTemplatesCount, getTemplatesCount, search, search, search, search, searchCount, searchCount, searchCount, searchCount, updateTemplate@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.DDMContentLocalService.class) protected com.liferay.portlet.dynamicdatamapping.service.DDMContentLocalService ddmContentLocalService
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence.class) protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence ddmContentPersistence
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalService.class) protected com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalService ddmStorageLinkLocalService
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence.class) protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence ddmStorageLinkPersistence
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService.class) protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.DDMStructureService.class) protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence.class) protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence ddmStructurePersistence
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder.class) protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder ddmStructureFinder
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService.class) protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService ddmStructureLinkLocalService
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence.class) protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence ddmStructureLinkPersistence
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService.class) protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService ddmTemplateLocalService
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService.class) protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService ddmTemplateService
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence.class) protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence ddmTemplatePersistence
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplateFinder.class) protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplateFinder ddmTemplateFinder
@BeanReference(type=com.liferay.counter.service.CounterLocalService.class) protected com.liferay.counter.service.CounterLocalService counterLocalService
@BeanReference(type=com.liferay.portal.service.GroupLocalService.class) protected com.liferay.portal.service.GroupLocalService groupLocalService
@BeanReference(type=com.liferay.portal.service.GroupService.class) protected com.liferay.portal.service.GroupService groupService
@BeanReference(type=com.liferay.portal.service.persistence.GroupPersistence.class) protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence
@BeanReference(type=com.liferay.portal.service.persistence.GroupFinder.class) protected com.liferay.portal.service.persistence.GroupFinder groupFinder
@BeanReference(type=com.liferay.portal.service.ImageLocalService.class) protected com.liferay.portal.service.ImageLocalService imageLocalService
@BeanReference(type=com.liferay.portal.service.ImageService.class) protected com.liferay.portal.service.ImageService imageService
@BeanReference(type=com.liferay.portal.service.persistence.ImagePersistence.class) protected com.liferay.portal.service.persistence.ImagePersistence imagePersistence
@BeanReference(type=com.liferay.portal.service.ResourceLocalService.class) protected com.liferay.portal.service.ResourceLocalService resourceLocalService
@BeanReference(type=com.liferay.portal.service.SystemEventLocalService.class) protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService
@BeanReference(type=com.liferay.portal.service.persistence.SystemEventPersistence.class) protected com.liferay.portal.service.persistence.SystemEventPersistence systemEventPersistence
@BeanReference(type=com.liferay.portal.service.UserLocalService.class) protected com.liferay.portal.service.UserLocalService userLocalService
@BeanReference(type=com.liferay.portal.service.UserService.class) protected com.liferay.portal.service.UserService userService
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserFinder.class) protected com.liferay.portal.service.persistence.UserFinder userFinder
@BeanReference(type=com.liferay.portal.service.PersistedModelLocalServiceRegistry.class) protected com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
@Indexable(type=REINDEX)
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate addDDMTemplate(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
throws com.liferay.portal.kernel.exception.SystemException
addDDMTemplate in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServiceddmTemplate - the d d m templatecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMTemplate createDDMTemplate(long templateId)
createDDMTemplate in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicetemplateId - the primary key for the new d d m template@Indexable(type=DELETE)
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate deleteDDMTemplate(long templateId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
deleteDDMTemplate in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicetemplateId - the primary key of the d d m templatecom.liferay.portal.kernel.exception.PortalException - if a d d m template with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurred@Indexable(type=DELETE)
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate deleteDDMTemplate(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
throws com.liferay.portal.kernel.exception.SystemException
deleteDDMTemplate in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServiceddmTemplate - the d d m templatecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicepublic java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
dynamicQuery in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicedynamicQuery - the dynamic querycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 DDMTemplateModelImpl. 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.
dynamicQuery in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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 DDMTemplateModelImpl. 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.
dynamicQuery in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicedynamicQuery - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
dynamicQueryCount in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicedynamicQuery - the dynamic querycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
throws com.liferay.portal.kernel.exception.SystemException
dynamicQueryCount in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchDDMTemplate(long templateId)
throws com.liferay.portal.kernel.exception.SystemException
fetchDDMTemplate in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicecom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchDDMTemplateByUuidAndCompanyId(java.lang.String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.SystemException
fetchDDMTemplateByUuidAndCompanyId in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServiceuuid - the d d m template's UUIDcompanyId - the primary key of the companynull if a matching d d m template could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchDDMTemplateByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
fetchDDMTemplateByUuidAndGroupId in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServiceuuid - the d d m template's UUIDgroupId - the primary key of the groupnull if a matching d d m template could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getDDMTemplate(long templateId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getDDMTemplate in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicetemplateId - the primary key of the d d m templatecom.liferay.portal.kernel.exception.PortalException - if a d d m template with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getPersistedModel in interface com.liferay.portal.service.PersistedModelLocalServicegetPersistedModel in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicecom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getDDMTemplateByUuidAndCompanyId(java.lang.String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getDDMTemplateByUuidAndCompanyId in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServiceuuid - the d d m template's UUIDcompanyId - the primary key of the companycom.liferay.portal.kernel.exception.PortalException - if a matching d d m template could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getDDMTemplateByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getDDMTemplateByUuidAndGroupId in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServiceuuid - the d d m template's UUIDgroupId - the primary key of the groupcom.liferay.portal.kernel.exception.PortalException - if a matching d d m template could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> getDDMTemplates(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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 DDMTemplateModelImpl. 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.
getDDMTemplates in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicestart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getDDMTemplatesCount()
throws com.liferay.portal.kernel.exception.SystemException
getDDMTemplatesCount in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred@Indexable(type=REINDEX)
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate updateDDMTemplate(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
throws com.liferay.portal.kernel.exception.SystemException
updateDDMTemplate in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServiceddmTemplate - the d d m templatecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.dynamicdatamapping.service.DDMContentLocalService getDDMContentLocalService()
public void setDDMContentLocalService(com.liferay.portlet.dynamicdatamapping.service.DDMContentLocalService ddmContentLocalService)
ddmContentLocalService - the d d m content local servicepublic com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence getDDMContentPersistence()
public void setDDMContentPersistence(com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence ddmContentPersistence)
ddmContentPersistence - the d d m content persistencepublic com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalService getDDMStorageLinkLocalService()
public void setDDMStorageLinkLocalService(com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalService ddmStorageLinkLocalService)
ddmStorageLinkLocalService - the d d m storage link local servicepublic com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence getDDMStorageLinkPersistence()
public void setDDMStorageLinkPersistence(com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence ddmStorageLinkPersistence)
ddmStorageLinkPersistence - the d d m storage link persistencepublic com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService getDDMStructureLocalService()
public void setDDMStructureLocalService(com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService)
ddmStructureLocalService - the d d m structure local servicepublic com.liferay.portlet.dynamicdatamapping.service.DDMStructureService getDDMStructureService()
public void setDDMStructureService(com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService)
ddmStructureService - the d d m structure remote servicepublic com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence getDDMStructurePersistence()
public void setDDMStructurePersistence(com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence ddmStructurePersistence)
ddmStructurePersistence - the d d m structure persistencepublic com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder getDDMStructureFinder()
public void setDDMStructureFinder(com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder ddmStructureFinder)
ddmStructureFinder - the d d m structure finderpublic com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService getDDMStructureLinkLocalService()
public void setDDMStructureLinkLocalService(com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService ddmStructureLinkLocalService)
ddmStructureLinkLocalService - the d d m structure link local servicepublic com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence getDDMStructureLinkPersistence()
public void setDDMStructureLinkPersistence(com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence ddmStructureLinkPersistence)
ddmStructureLinkPersistence - the d d m structure link persistencepublic com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService getDDMTemplateLocalService()
public void setDDMTemplateLocalService(com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService ddmTemplateLocalService)
ddmTemplateLocalService - the d d m template local servicepublic com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService getDDMTemplateService()
public void setDDMTemplateService(com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService ddmTemplateService)
ddmTemplateService - the d d m template remote servicepublic com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence getDDMTemplatePersistence()
public void setDDMTemplatePersistence(com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence ddmTemplatePersistence)
ddmTemplatePersistence - the d d m template persistencepublic com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplateFinder getDDMTemplateFinder()
public void setDDMTemplateFinder(com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplateFinder ddmTemplateFinder)
ddmTemplateFinder - the d d m template finderpublic com.liferay.counter.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic com.liferay.portal.service.GroupLocalService getGroupLocalService()
public void setGroupLocalService(com.liferay.portal.service.GroupLocalService groupLocalService)
groupLocalService - the group local servicepublic com.liferay.portal.service.GroupService getGroupService()
public void setGroupService(com.liferay.portal.service.GroupService groupService)
groupService - the group remote servicepublic com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence()
public void setGroupPersistence(com.liferay.portal.service.persistence.GroupPersistence groupPersistence)
groupPersistence - the group persistencepublic com.liferay.portal.service.persistence.GroupFinder getGroupFinder()
public void setGroupFinder(com.liferay.portal.service.persistence.GroupFinder groupFinder)
groupFinder - the group finderpublic com.liferay.portal.service.ImageLocalService getImageLocalService()
public void setImageLocalService(com.liferay.portal.service.ImageLocalService imageLocalService)
imageLocalService - the image local servicepublic com.liferay.portal.service.ImageService getImageService()
public void setImageService(com.liferay.portal.service.ImageService imageService)
imageService - the image remote servicepublic com.liferay.portal.service.persistence.ImagePersistence getImagePersistence()
public void setImagePersistence(com.liferay.portal.service.persistence.ImagePersistence imagePersistence)
imagePersistence - the image persistencepublic com.liferay.portal.service.ResourceLocalService getResourceLocalService()
public void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
resourceLocalService - the resource local servicepublic com.liferay.portal.service.SystemEventLocalService getSystemEventLocalService()
public void setSystemEventLocalService(com.liferay.portal.service.SystemEventLocalService systemEventLocalService)
systemEventLocalService - the system event local servicepublic com.liferay.portal.service.persistence.SystemEventPersistence getSystemEventPersistence()
public void setSystemEventPersistence(com.liferay.portal.service.persistence.SystemEventPersistence systemEventPersistence)
systemEventPersistence - the system event persistencepublic com.liferay.portal.service.UserLocalService getUserLocalService()
public void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
userLocalService - the user local servicepublic com.liferay.portal.service.UserService getUserService()
public void setUserService(com.liferay.portal.service.UserService userService)
userService - the user remote servicepublic com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
public void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
userPersistence - the user persistencepublic com.liferay.portal.service.persistence.UserFinder getUserFinder()
public void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
userFinder - the user finderpublic void afterPropertiesSet()
public void destroy()
public java.lang.String getBeanIdentifier()
getBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBeangetBeanIdentifier in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBeansetBeanIdentifier in interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalServicebeanIdentifier - the Spring bean ID for this beanprotected java.lang.Class<?> getModelClass()
protected java.lang.String getModelClassName()
protected void runSQL(java.lang.String sql)
throws com.liferay.portal.kernel.exception.SystemException
sql - the sql querycom.liferay.portal.kernel.exception.SystemException