|
Liferay 6.2-ce-ga5 | |||||||||
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.DDMContentLocalServiceBaseImpl
public abstract class DDMContentLocalServiceBaseImpl
Provides the base implementation for the d d m content 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 DDMContentLocalServiceImpl
.
DDMContentLocalServiceImpl
,
DDMContentLocalServiceUtil
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
layoutPersistence |
Constructor Summary | |
---|---|
DDMContentLocalServiceBaseImpl()
|
Method Summary | |
---|---|
DDMContent |
addDDMContent(DDMContent ddmContent)
Adds the d d m content to the database. |
void |
afterPropertiesSet()
|
DDMContent |
createDDMContent(long contentId)
Creates a new d d m content with the primary key. |
DDMContent |
deleteDDMContent(DDMContent ddmContent)
Deletes the d d m content from the database. |
DDMContent |
deleteDDMContent(long contentId)
Deletes the d d m content 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. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
DDMContent |
fetchDDMContent(long contentId)
|
DDMContent |
fetchDDMContentByUuidAndCompanyId(String uuid,
long companyId)
Returns the d d m content with the matching UUID and company. |
DDMContent |
fetchDDMContentByUuidAndGroupId(String uuid,
long groupId)
Returns the d d m content matching the UUID and group. |
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
DDMContent |
getDDMContent(long contentId)
Returns the d d m content with the primary key. |
DDMContent |
getDDMContentByUuidAndCompanyId(String uuid,
long companyId)
Returns the d d m content with the matching UUID and company. |
DDMContent |
getDDMContentByUuidAndGroupId(String uuid,
long groupId)
Returns the d d m content matching the UUID and group. |
DDMContentLocalService |
getDDMContentLocalService()
Returns the d d m content local service. |
DDMContentPersistence |
getDDMContentPersistence()
Returns the d d m content persistence. |
List<DDMContent> |
getDDMContents(int start,
int end)
Returns a range of all the d d m contents. |
int |
getDDMContentsCount()
Returns the number of d d m contents. |
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. |
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. |
DDMTemplateService |
getDDMTemplateService()
Returns the d d m template remote service. |
protected Class<?> |
getModelClass()
|
protected String |
getModelClassName()
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
ResourceLocalService |
getResourceLocalService()
Returns the resource local 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 |
setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local 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. |
DDMContent |
updateDDMContent(DDMContent ddmContent)
Updates the d d m content in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
getClassLoader, getLayoutURL, getLayoutURL |
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.DDMContentLocalService |
---|
addContent, deleteContent, deleteContents, getContent, getContents, getContents, getContents, getContentsCount, updateContent |
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=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 DDMContentLocalServiceBaseImpl()
Method Detail |
---|
@Indexable(type=REINDEX) public DDMContent addDDMContent(DDMContent ddmContent) throws SystemException
addDDMContent
in interface DDMContentLocalService
ddmContent
- the d d m content
SystemException
- if a system exception occurredpublic DDMContent createDDMContent(long contentId)
createDDMContent
in interface DDMContentLocalService
contentId
- the primary key for the new d d m content
@Indexable(type=DELETE) public DDMContent deleteDDMContent(long contentId) throws PortalException, SystemException
deleteDDMContent
in interface DDMContentLocalService
contentId
- the primary key of the d d m content
PortalException
- if a d d m content with the primary key could not be found
SystemException
- if a system exception occurred@Indexable(type=DELETE) public DDMContent deleteDDMContent(DDMContent ddmContent) throws SystemException
deleteDDMContent
in interface DDMContentLocalService
ddmContent
- the d d m content
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface DDMContentLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface DDMContentLocalService
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. 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 DDMContentModelImpl
. 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 DDMContentLocalService
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. 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 DDMContentModelImpl
. 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 DDMContentLocalService
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 DDMContentLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount
in interface DDMContentLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query
SystemException
- if a system exception occurredpublic DDMContent fetchDDMContent(long contentId) throws SystemException
fetchDDMContent
in interface DDMContentLocalService
SystemException
public DDMContent fetchDDMContentByUuidAndCompanyId(String uuid, long companyId) throws SystemException
fetchDDMContentByUuidAndCompanyId
in interface DDMContentLocalService
uuid
- the d d m content's UUIDcompanyId
- the primary key of the company
null
if a matching d d m content could not be found
SystemException
- if a system exception occurredpublic DDMContent fetchDDMContentByUuidAndGroupId(String uuid, long groupId) throws SystemException
fetchDDMContentByUuidAndGroupId
in interface DDMContentLocalService
uuid
- the d d m content's UUIDgroupId
- the primary key of the group
null
if a matching d d m content could not be found
SystemException
- if a system exception occurredpublic DDMContent getDDMContent(long contentId) throws PortalException, SystemException
getDDMContent
in interface DDMContentLocalService
contentId
- the primary key of the d d m content
PortalException
- if a d d m content 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 DDMContentLocalService
PortalException
SystemException
public DDMContent getDDMContentByUuidAndCompanyId(String uuid, long companyId) throws PortalException, SystemException
getDDMContentByUuidAndCompanyId
in interface DDMContentLocalService
uuid
- the d d m content's UUIDcompanyId
- the primary key of the company
PortalException
- if a matching d d m content could not be found
SystemException
- if a system exception occurredpublic DDMContent getDDMContentByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getDDMContentByUuidAndGroupId
in interface DDMContentLocalService
uuid
- the d d m content's UUIDgroupId
- the primary key of the group
PortalException
- if a matching d d m content could not be found
SystemException
- if a system exception occurredpublic List<DDMContent> getDDMContents(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. 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 DDMContentModelImpl
. 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.
getDDMContents
in interface DDMContentLocalService
start
- the lower bound of the range of d d m contentsend
- the upper bound of the range of d d m contents (not inclusive)
SystemException
- if a system exception occurredpublic int getDDMContentsCount() throws SystemException
getDDMContentsCount
in interface DDMContentLocalService
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public DDMContent updateDDMContent(DDMContent ddmContent) throws SystemException
updateDDMContent
in interface DDMContentLocalService
ddmContent
- the d d m content
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 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 DDMContentLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface IdentifiableBean
setBeanIdentifier
in interface DDMContentLocalService
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.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |