|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.BaseLocalServiceImpl com.liferay.portlet.dynamicdatamapping.service.base.DDMTemplateLocalServiceBaseImpl
public abstract class DDMTemplateLocalServiceBaseImpl
The base implementation of the d d m template local service.
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
Constructor Summary | |
---|---|
DDMTemplateLocalServiceBaseImpl()
|
Method Summary | |
---|---|
DDMTemplate |
addDDMTemplate(DDMTemplate ddmTemplate)
Adds the d d m template to the database. |
void |
afterPropertiesSet()
|
DDMTemplate |
createDDMTemplate(long templateId)
Creates a new d d m template with the primary key. |
DDMTemplate |
deleteDDMTemplate(DDMTemplate ddmTemplate)
Deletes the d d m template from the database. |
DDMTemplate |
deleteDDMTemplate(long templateId)
Deletes the d d m template with the primary key from the database. |
void |
destroy()
|
DynamicQuery |
dynamicQuery()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator 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 that match the dynamic query. |
DDMTemplate |
fetchDDMTemplate(long templateId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
DDMContentLocalService |
getDDMContentLocalService()
Returns the d d m content local service. |
DDMContentPersistence |
getDDMContentPersistence()
Returns the d d m content persistence. |
DDMStorageLinkLocalService |
getDDMStorageLinkLocalService()
Returns the d d m storage link local service. |
DDMStorageLinkPersistence |
getDDMStorageLinkPersistence()
Returns the d d m storage link persistence. |
DDMStructureFinder |
getDDMStructureFinder()
Returns the d d m structure finder. |
DDMStructureLinkLocalService |
getDDMStructureLinkLocalService()
Returns the d d m structure link local service. |
DDMStructureLinkPersistence |
getDDMStructureLinkPersistence()
Returns the d d m structure link persistence. |
DDMStructureLocalService |
getDDMStructureLocalService()
Returns the d d m structure local service. |
DDMStructurePersistence |
getDDMStructurePersistence()
Returns the d d m structure persistence. |
DDMStructureService |
getDDMStructureService()
Returns the d d m structure remote service. |
DDMTemplate |
getDDMTemplate(long templateId)
Returns the d d m template with the primary key. |
DDMTemplate |
getDDMTemplateByUuidAndGroupId(String uuid,
long groupId)
Returns the d d m template with the UUID in the group. |
DDMTemplateFinder |
getDDMTemplateFinder()
Returns the d d m template finder. |
DDMTemplateLocalService |
getDDMTemplateLocalService()
Returns the d d m template local service. |
DDMTemplatePersistence |
getDDMTemplatePersistence()
Returns the d d m template persistence. |
List<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. |
DDMTemplateService |
getDDMTemplateService()
Returns the d d m template remote service. |
protected Class<?> |
getModelClass()
|
protected String |
getModelClassName()
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
ResourceFinder |
getResourceFinder()
Returns the resource finder. |
ResourceLocalService |
getResourceLocalService()
Returns the resource local service. |
ResourcePersistence |
getResourcePersistence()
Returns the resource persistence. |
ResourceService |
getResourceService()
Returns the resource remote service. |
UserFinder |
getUserFinder()
Returns the user finder. |
UserLocalService |
getUserLocalService()
Returns the user local service. |
UserPersistence |
getUserPersistence()
Returns the user persistence. |
UserService |
getUserService()
Returns the user remote service. |
protected void |
runSQL(String sql)
Performs an SQL query. |
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
void |
setDDMContentLocalService(DDMContentLocalService ddmContentLocalService)
Sets the d d m content local service. |
void |
setDDMContentPersistence(DDMContentPersistence ddmContentPersistence)
Sets the d d m content persistence. |
void |
setDDMStorageLinkLocalService(DDMStorageLinkLocalService ddmStorageLinkLocalService)
Sets the d d m storage link local service. |
void |
setDDMStorageLinkPersistence(DDMStorageLinkPersistence ddmStorageLinkPersistence)
Sets the d d m storage link persistence. |
void |
setDDMStructureFinder(DDMStructureFinder ddmStructureFinder)
Sets the d d m structure finder. |
void |
setDDMStructureLinkLocalService(DDMStructureLinkLocalService ddmStructureLinkLocalService)
Sets the d d m structure link local service. |
void |
setDDMStructureLinkPersistence(DDMStructureLinkPersistence ddmStructureLinkPersistence)
Sets the d d m structure link persistence. |
void |
setDDMStructureLocalService(DDMStructureLocalService ddmStructureLocalService)
Sets the d d m structure local service. |
void |
setDDMStructurePersistence(DDMStructurePersistence ddmStructurePersistence)
Sets the d d m structure persistence. |
void |
setDDMStructureService(DDMStructureService ddmStructureService)
Sets the d d m structure remote service. |
void |
setDDMTemplateFinder(DDMTemplateFinder ddmTemplateFinder)
Sets the d d m template finder. |
void |
setDDMTemplateLocalService(DDMTemplateLocalService ddmTemplateLocalService)
Sets the d d m template local service. |
void |
setDDMTemplatePersistence(DDMTemplatePersistence ddmTemplatePersistence)
Sets the d d m template persistence. |
void |
setDDMTemplateService(DDMTemplateService ddmTemplateService)
Sets the d d m template remote service. |
void |
setResourceFinder(ResourceFinder resourceFinder)
Sets the resource finder. |
void |
setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service. |
void |
setResourcePersistence(ResourcePersistence resourcePersistence)
Sets the resource persistence. |
void |
setResourceService(ResourceService resourceService)
Sets the resource remote service. |
void |
setUserFinder(UserFinder userFinder)
Sets the user finder. |
void |
setUserLocalService(UserLocalService userLocalService)
Sets the user local service. |
void |
setUserPersistence(UserPersistence userPersistence)
Sets the user persistence. |
void |
setUserService(UserService userService)
Sets the user remote service. |
DDMTemplate |
updateDDMTemplate(DDMTemplate ddmTemplate)
Updates the d d m template in the database or adds it if it does not yet exist. |
DDMTemplate |
updateDDMTemplate(DDMTemplate ddmTemplate,
boolean merge)
Updates the d d m template in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
getClassLoader |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService |
---|
addTemplate, addTemplateResources, addTemplateResources, copyTemplates, deleteTemplate, deleteTemplate, deleteTemplates, getTemplate, getTemplates, getTemplates, getTemplates, search, search, searchCount, searchCount, updateTemplate |
Field Detail |
---|
@BeanReference(type=DDMContentLocalService.class) protected DDMContentLocalService ddmContentLocalService
@BeanReference(type=DDMContentPersistence.class) protected DDMContentPersistence ddmContentPersistence
@BeanReference(type=DDMStorageLinkLocalService.class) protected DDMStorageLinkLocalService ddmStorageLinkLocalService
@BeanReference(type=DDMStorageLinkPersistence.class) protected DDMStorageLinkPersistence ddmStorageLinkPersistence
@BeanReference(type=DDMStructureLocalService.class) protected DDMStructureLocalService ddmStructureLocalService
@BeanReference(type=DDMStructureService.class) protected DDMStructureService ddmStructureService
@BeanReference(type=DDMStructurePersistence.class) protected DDMStructurePersistence ddmStructurePersistence
@BeanReference(type=DDMStructureFinder.class) protected DDMStructureFinder ddmStructureFinder
@BeanReference(type=DDMStructureLinkLocalService.class) protected DDMStructureLinkLocalService ddmStructureLinkLocalService
@BeanReference(type=DDMStructureLinkPersistence.class) protected DDMStructureLinkPersistence ddmStructureLinkPersistence
@BeanReference(type=DDMTemplateLocalService.class) protected DDMTemplateLocalService ddmTemplateLocalService
@BeanReference(type=DDMTemplateService.class) protected DDMTemplateService ddmTemplateService
@BeanReference(type=DDMTemplatePersistence.class) protected DDMTemplatePersistence ddmTemplatePersistence
@BeanReference(type=DDMTemplateFinder.class) protected DDMTemplateFinder ddmTemplateFinder
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=ResourceLocalService.class) protected ResourceLocalService resourceLocalService
@BeanReference(type=ResourceService.class) protected ResourceService resourceService
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=ResourceFinder.class) protected ResourceFinder resourceFinder
@BeanReference(type=UserLocalService.class) protected UserLocalService userLocalService
@BeanReference(type=UserService.class) protected UserService userService
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=UserFinder.class) protected UserFinder userFinder
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail |
---|
public DDMTemplateLocalServiceBaseImpl()
Method Detail |
---|
@Indexable(type=REINDEX) public DDMTemplate addDDMTemplate(DDMTemplate ddmTemplate) throws SystemException
addDDMTemplate
in interface DDMTemplateLocalService
ddmTemplate
- the d d m template
SystemException
- if a system exception occurredpublic DDMTemplate createDDMTemplate(long templateId)
createDDMTemplate
in interface DDMTemplateLocalService
templateId
- the primary key for the new d d m template
@Indexable(type=DELETE) public DDMTemplate deleteDDMTemplate(long templateId) throws PortalException, SystemException
deleteDDMTemplate
in interface DDMTemplateLocalService
templateId
- the primary key of the d d m template
PortalException
- if a d d m template with the primary key could not be found
SystemException
- if a system exception occurred@Indexable(type=DELETE) public DDMTemplate deleteDDMTemplate(DDMTemplate ddmTemplate) throws SystemException
deleteDDMTemplate
in interface DDMTemplateLocalService
ddmTemplate
- the d d m template
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface DDMTemplateLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface DDMTemplateLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws 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.
dynamicQuery
in interface DDMTemplateLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws 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.
dynamicQuery
in interface DDMTemplateLocalService
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
)
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface DDMTemplateLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic DDMTemplate fetchDDMTemplate(long templateId) throws SystemException
fetchDDMTemplate
in interface DDMTemplateLocalService
SystemException
public DDMTemplate getDDMTemplate(long templateId) throws PortalException, SystemException
getDDMTemplate
in interface DDMTemplateLocalService
templateId
- the primary key of the d d m template
PortalException
- if a d d m template with the primary key could not be found
SystemException
- if a system exception occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface DDMTemplateLocalService
PortalException
SystemException
public DDMTemplate getDDMTemplateByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getDDMTemplateByUuidAndGroupId
in interface DDMTemplateLocalService
uuid
- the UUID of d d m templategroupId
- the group id of the d d m template
PortalException
- if a d d m template with the UUID in the group could not be found
SystemException
- if a system exception occurredpublic List<DDMTemplate> getDDMTemplates(int start, int end) throws 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.
getDDMTemplates
in interface DDMTemplateLocalService
start
- the lower bound of the range of d d m templatesend
- the upper bound of the range of d d m templates (not inclusive)
SystemException
- if a system exception occurredpublic int getDDMTemplatesCount() throws SystemException
getDDMTemplatesCount
in interface DDMTemplateLocalService
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public DDMTemplate updateDDMTemplate(DDMTemplate ddmTemplate) throws SystemException
updateDDMTemplate
in interface DDMTemplateLocalService
ddmTemplate
- the d d m template
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public DDMTemplate updateDDMTemplate(DDMTemplate ddmTemplate, boolean merge) throws SystemException
updateDDMTemplate
in interface DDMTemplateLocalService
ddmTemplate
- the d d m templatemerge
- whether to merge the d d m template with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredpublic DDMContentLocalService getDDMContentLocalService()
public void setDDMContentLocalService(DDMContentLocalService ddmContentLocalService)
ddmContentLocalService
- the d d m content local servicepublic DDMContentPersistence getDDMContentPersistence()
public void setDDMContentPersistence(DDMContentPersistence ddmContentPersistence)
ddmContentPersistence
- the d d m content persistencepublic DDMStorageLinkLocalService getDDMStorageLinkLocalService()
public void setDDMStorageLinkLocalService(DDMStorageLinkLocalService ddmStorageLinkLocalService)
ddmStorageLinkLocalService
- the d d m storage link local servicepublic DDMStorageLinkPersistence getDDMStorageLinkPersistence()
public void setDDMStorageLinkPersistence(DDMStorageLinkPersistence ddmStorageLinkPersistence)
ddmStorageLinkPersistence
- the d d m storage link persistencepublic DDMStructureLocalService getDDMStructureLocalService()
public void setDDMStructureLocalService(DDMStructureLocalService ddmStructureLocalService)
ddmStructureLocalService
- the d d m structure local servicepublic DDMStructureService getDDMStructureService()
public void setDDMStructureService(DDMStructureService ddmStructureService)
ddmStructureService
- the d d m structure remote servicepublic DDMStructurePersistence getDDMStructurePersistence()
public void setDDMStructurePersistence(DDMStructurePersistence ddmStructurePersistence)
ddmStructurePersistence
- the d d m structure persistencepublic DDMStructureFinder getDDMStructureFinder()
public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder)
ddmStructureFinder
- the d d m structure finderpublic DDMStructureLinkLocalService getDDMStructureLinkLocalService()
public void setDDMStructureLinkLocalService(DDMStructureLinkLocalService ddmStructureLinkLocalService)
ddmStructureLinkLocalService
- the d d m structure link local servicepublic DDMStructureLinkPersistence getDDMStructureLinkPersistence()
public void setDDMStructureLinkPersistence(DDMStructureLinkPersistence ddmStructureLinkPersistence)
ddmStructureLinkPersistence
- the d d m structure link persistencepublic DDMTemplateLocalService getDDMTemplateLocalService()
public void setDDMTemplateLocalService(DDMTemplateLocalService ddmTemplateLocalService)
ddmTemplateLocalService
- the d d m template local servicepublic DDMTemplateService getDDMTemplateService()
public void setDDMTemplateService(DDMTemplateService ddmTemplateService)
ddmTemplateService
- the d d m template remote servicepublic DDMTemplatePersistence getDDMTemplatePersistence()
public void setDDMTemplatePersistence(DDMTemplatePersistence ddmTemplatePersistence)
ddmTemplatePersistence
- the d d m template persistencepublic DDMTemplateFinder getDDMTemplateFinder()
public void setDDMTemplateFinder(DDMTemplateFinder ddmTemplateFinder)
ddmTemplateFinder
- the d d m template finderpublic CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService
- the counter local servicepublic ResourceLocalService getResourceLocalService()
public void setResourceLocalService(ResourceLocalService resourceLocalService)
resourceLocalService
- the resource local servicepublic ResourceService getResourceService()
public void setResourceService(ResourceService resourceService)
resourceService
- the resource remote servicepublic ResourcePersistence getResourcePersistence()
public void setResourcePersistence(ResourcePersistence resourcePersistence)
resourcePersistence
- the resource persistencepublic ResourceFinder getResourceFinder()
public void setResourceFinder(ResourceFinder resourceFinder)
resourceFinder
- the resource finderpublic UserLocalService getUserLocalService()
public void setUserLocalService(UserLocalService userLocalService)
userLocalService
- the user local servicepublic UserService getUserService()
public void setUserService(UserService userService)
userService
- the user remote servicepublic UserPersistence getUserPersistence()
public void setUserPersistence(UserPersistence userPersistence)
userPersistence
- the user persistencepublic UserFinder getUserFinder()
public void setUserFinder(UserFinder userFinder)
userFinder
- the user finderpublic void afterPropertiesSet()
public void destroy()
public String getBeanIdentifier()
getBeanIdentifier
in interface IdentifiableBean
getBeanIdentifier
in interface DDMTemplateLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface IdentifiableBean
setBeanIdentifier
in interface DDMTemplateLocalService
beanIdentifier
- the Spring bean ID for this beanprotected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql) throws SystemException
sql
- the sql query
SystemException
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |