|
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.dynamicdatalists.service.base.DDLRecordLocalServiceBaseImpl
public abstract class DDLRecordLocalServiceBaseImpl
The base implementation of the d d l record 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 DDLRecordLocalServiceImpl
.
DDLRecordLocalServiceImpl
,
DDLRecordLocalServiceUtil
Constructor Summary | |
---|---|
DDLRecordLocalServiceBaseImpl()
|
Method Summary | |
---|---|
DDLRecord |
addDDLRecord(DDLRecord ddlRecord)
Adds the d d l record to the database. |
void |
afterPropertiesSet()
|
DDLRecord |
createDDLRecord(long recordId)
Creates a new d d l record with the primary key. |
DDLRecord |
deleteDDLRecord(DDLRecord ddlRecord)
Deletes the d d l record from the database. |
DDLRecord |
deleteDDLRecord(long recordId)
Deletes the d d l record 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. |
DDLRecord |
fetchDDLRecord(long recordId)
|
AssetEntryFinder |
getAssetEntryFinder()
Returns the asset entry finder. |
AssetEntryLocalService |
getAssetEntryLocalService()
Returns the asset entry local service. |
AssetEntryPersistence |
getAssetEntryPersistence()
Returns the asset entry persistence. |
AssetEntryService |
getAssetEntryService()
Returns the asset entry remote service. |
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
DDLRecord |
getDDLRecord(long recordId)
Returns the d d l record with the primary key. |
DDLRecord |
getDDLRecordByUuidAndGroupId(String uuid,
long groupId)
Returns the d d l record with the UUID in the group. |
DDLRecordFinder |
getDDLRecordFinder()
Returns the d d l record finder. |
DDLRecordLocalService |
getDDLRecordLocalService()
Returns the d d l record local service. |
DDLRecordPersistence |
getDDLRecordPersistence()
Returns the d d l record persistence. |
List<DDLRecord> |
getDDLRecords(int start,
int end)
Returns a range of all the d d l records. |
int |
getDDLRecordsCount()
Returns the number of d d l records. |
DDLRecordService |
getDDLRecordService()
Returns the d d l record remote service. |
DDLRecordSetFinder |
getDDLRecordSetFinder()
Returns the d d l record set finder. |
DDLRecordSetLocalService |
getDDLRecordSetLocalService()
Returns the d d l record set local service. |
DDLRecordSetPersistence |
getDDLRecordSetPersistence()
Returns the d d l record set persistence. |
DDLRecordSetService |
getDDLRecordSetService()
Returns the d d l record set remote service. |
DDLRecordVersionPersistence |
getDDLRecordVersionPersistence()
Returns the d d l record version persistence. |
DDMStructureFinder |
getDDMStructureFinder()
Returns the d d m structure finder. |
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. |
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. |
WorkflowInstanceLinkLocalService |
getWorkflowInstanceLinkLocalService()
Returns the workflow instance link local service. |
WorkflowInstanceLinkPersistence |
getWorkflowInstanceLinkPersistence()
Returns the workflow instance link persistence. |
protected void |
runSQL(String sql)
Performs an SQL query. |
void |
setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
Sets the asset entry finder. |
void |
setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
Sets the asset entry local service. |
void |
setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
Sets the asset entry persistence. |
void |
setAssetEntryService(AssetEntryService assetEntryService)
Sets the asset entry remote service. |
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
void |
setDDLRecordFinder(DDLRecordFinder ddlRecordFinder)
Sets the d d l record finder. |
void |
setDDLRecordLocalService(DDLRecordLocalService ddlRecordLocalService)
Sets the d d l record local service. |
void |
setDDLRecordPersistence(DDLRecordPersistence ddlRecordPersistence)
Sets the d d l record persistence. |
void |
setDDLRecordService(DDLRecordService ddlRecordService)
Sets the d d l record remote service. |
void |
setDDLRecordSetFinder(DDLRecordSetFinder ddlRecordSetFinder)
Sets the d d l record set finder. |
void |
setDDLRecordSetLocalService(DDLRecordSetLocalService ddlRecordSetLocalService)
Sets the d d l record set local service. |
void |
setDDLRecordSetPersistence(DDLRecordSetPersistence ddlRecordSetPersistence)
Sets the d d l record set persistence. |
void |
setDDLRecordSetService(DDLRecordSetService ddlRecordSetService)
Sets the d d l record set remote service. |
void |
setDDLRecordVersionPersistence(DDLRecordVersionPersistence ddlRecordVersionPersistence)
Sets the d d l record version persistence. |
void |
setDDMStructureFinder(DDMStructureFinder ddmStructureFinder)
Sets the d d m structure finder. |
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 |
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. |
void |
setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
Sets the workflow instance link local service. |
void |
setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
Sets the workflow instance link persistence. |
DDLRecord |
updateDDLRecord(DDLRecord ddlRecord)
Updates the d d l record in the database or adds it if it does not yet exist. |
DDLRecord |
updateDDLRecord(DDLRecord ddlRecord,
boolean merge)
Updates the d d l record 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.dynamicdatalists.service.DDLRecordLocalService |
---|
addRecord, addRecord, deleteRecord, deleteRecord, deleteRecords, fetchRecord, getLatestRecordVersion, getRecord, getRecords, getRecords, getRecords, getRecordsCount, getRecordVersion, getRecordVersion, getRecordVersions, getRecordVersionsCount, revertRecordVersion, updateAsset, updateRecord, updateRecord, updateStatus |
Field Detail |
---|
@BeanReference(type=DDLRecordLocalService.class) protected DDLRecordLocalService ddlRecordLocalService
@BeanReference(type=DDLRecordService.class) protected DDLRecordService ddlRecordService
@BeanReference(type=DDLRecordPersistence.class) protected DDLRecordPersistence ddlRecordPersistence
@BeanReference(type=DDLRecordFinder.class) protected DDLRecordFinder ddlRecordFinder
@BeanReference(type=DDLRecordSetLocalService.class) protected DDLRecordSetLocalService ddlRecordSetLocalService
@BeanReference(type=DDLRecordSetService.class) protected DDLRecordSetService ddlRecordSetService
@BeanReference(type=DDLRecordSetPersistence.class) protected DDLRecordSetPersistence ddlRecordSetPersistence
@BeanReference(type=DDLRecordSetFinder.class) protected DDLRecordSetFinder ddlRecordSetFinder
@BeanReference(type=DDLRecordVersionPersistence.class) protected DDLRecordVersionPersistence ddlRecordVersionPersistence
@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=WorkflowInstanceLinkLocalService.class) protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService
@BeanReference(type=WorkflowInstanceLinkPersistence.class) protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
@BeanReference(type=AssetEntryLocalService.class) protected AssetEntryLocalService assetEntryLocalService
@BeanReference(type=AssetEntryService.class) protected AssetEntryService assetEntryService
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetEntryFinder.class) protected AssetEntryFinder assetEntryFinder
@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=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail |
---|
public DDLRecordLocalServiceBaseImpl()
Method Detail |
---|
@Indexable(type=REINDEX) public DDLRecord addDDLRecord(DDLRecord ddlRecord) throws SystemException
addDDLRecord
in interface DDLRecordLocalService
ddlRecord
- the d d l record
SystemException
- if a system exception occurredpublic DDLRecord createDDLRecord(long recordId)
createDDLRecord
in interface DDLRecordLocalService
recordId
- the primary key for the new d d l record
@Indexable(type=DELETE) public DDLRecord deleteDDLRecord(long recordId) throws PortalException, SystemException
deleteDDLRecord
in interface DDLRecordLocalService
recordId
- the primary key of the d d l record
PortalException
- if a d d l record with the primary key could not be found
SystemException
- if a system exception occurred@Indexable(type=DELETE) public DDLRecord deleteDDLRecord(DDLRecord ddlRecord) throws SystemException
deleteDDLRecord
in interface DDLRecordLocalService
ddlRecord
- the d d l record
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface DDLRecordLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface DDLRecordLocalService
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 DDLRecordLocalService
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 DDLRecordLocalService
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 DDLRecordLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic DDLRecord fetchDDLRecord(long recordId) throws SystemException
fetchDDLRecord
in interface DDLRecordLocalService
SystemException
public DDLRecord getDDLRecord(long recordId) throws PortalException, SystemException
getDDLRecord
in interface DDLRecordLocalService
recordId
- the primary key of the d d l record
PortalException
- if a d d l record 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 DDLRecordLocalService
PortalException
SystemException
public DDLRecord getDDLRecordByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getDDLRecordByUuidAndGroupId
in interface DDLRecordLocalService
uuid
- the UUID of d d l recordgroupId
- the group id of the d d l record
PortalException
- if a d d l record with the UUID in the group could not be found
SystemException
- if a system exception occurredpublic List<DDLRecord> getDDLRecords(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.
getDDLRecords
in interface DDLRecordLocalService
start
- the lower bound of the range of d d l recordsend
- the upper bound of the range of d d l records (not inclusive)
SystemException
- if a system exception occurredpublic int getDDLRecordsCount() throws SystemException
getDDLRecordsCount
in interface DDLRecordLocalService
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public DDLRecord updateDDLRecord(DDLRecord ddlRecord) throws SystemException
updateDDLRecord
in interface DDLRecordLocalService
ddlRecord
- the d d l record
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public DDLRecord updateDDLRecord(DDLRecord ddlRecord, boolean merge) throws SystemException
updateDDLRecord
in interface DDLRecordLocalService
ddlRecord
- the d d l recordmerge
- whether to merge the d d l record 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 DDLRecordLocalService getDDLRecordLocalService()
public void setDDLRecordLocalService(DDLRecordLocalService ddlRecordLocalService)
ddlRecordLocalService
- the d d l record local servicepublic DDLRecordService getDDLRecordService()
public void setDDLRecordService(DDLRecordService ddlRecordService)
ddlRecordService
- the d d l record remote servicepublic DDLRecordPersistence getDDLRecordPersistence()
public void setDDLRecordPersistence(DDLRecordPersistence ddlRecordPersistence)
ddlRecordPersistence
- the d d l record persistencepublic DDLRecordFinder getDDLRecordFinder()
public void setDDLRecordFinder(DDLRecordFinder ddlRecordFinder)
ddlRecordFinder
- the d d l record finderpublic DDLRecordSetLocalService getDDLRecordSetLocalService()
public void setDDLRecordSetLocalService(DDLRecordSetLocalService ddlRecordSetLocalService)
ddlRecordSetLocalService
- the d d l record set local servicepublic DDLRecordSetService getDDLRecordSetService()
public void setDDLRecordSetService(DDLRecordSetService ddlRecordSetService)
ddlRecordSetService
- the d d l record set remote servicepublic DDLRecordSetPersistence getDDLRecordSetPersistence()
public void setDDLRecordSetPersistence(DDLRecordSetPersistence ddlRecordSetPersistence)
ddlRecordSetPersistence
- the d d l record set persistencepublic DDLRecordSetFinder getDDLRecordSetFinder()
public void setDDLRecordSetFinder(DDLRecordSetFinder ddlRecordSetFinder)
ddlRecordSetFinder
- the d d l record set finderpublic DDLRecordVersionPersistence getDDLRecordVersionPersistence()
public void setDDLRecordVersionPersistence(DDLRecordVersionPersistence ddlRecordVersionPersistence)
ddlRecordVersionPersistence
- the d d l record version persistencepublic 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 WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService()
public void setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
workflowInstanceLinkLocalService
- the workflow instance link local servicepublic WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence()
public void setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
workflowInstanceLinkPersistence
- the workflow instance link persistencepublic AssetEntryLocalService getAssetEntryLocalService()
public void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
assetEntryLocalService
- the asset entry local servicepublic AssetEntryService getAssetEntryService()
public void setAssetEntryService(AssetEntryService assetEntryService)
assetEntryService
- the asset entry remote servicepublic AssetEntryPersistence getAssetEntryPersistence()
public void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
assetEntryPersistence
- the asset entry persistencepublic AssetEntryFinder getAssetEntryFinder()
public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
assetEntryFinder
- the asset entry finderpublic 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 void afterPropertiesSet()
public void destroy()
public String getBeanIdentifier()
getBeanIdentifier
in interface IdentifiableBean
getBeanIdentifier
in interface DDLRecordLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface IdentifiableBean
setBeanIdentifier
in interface DDLRecordLocalService
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 |