|
Liferay 6.2-ce-ga2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.dynamicdatalists.service.base.DDLRecordLocalServiceBaseImpl
public abstract class DDLRecordLocalServiceBaseImpl
Provides the base implementation for 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| Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
|---|
layoutPersistence |
| 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. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
DDLRecord |
fetchDDLRecord(long recordId)
|
DDLRecord |
fetchDDLRecordByUuidAndCompanyId(String uuid,
long companyId)
Returns the d d l record with the matching UUID and company. |
DDLRecord |
fetchDDLRecordByUuidAndGroupId(String uuid,
long groupId)
Returns the d d l record matching the UUID and group. |
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 |
getDDLRecordByUuidAndCompanyId(String uuid,
long companyId)
Returns the d d l record with the matching UUID and company. |
DDLRecord |
getDDLRecordByUuidAndGroupId(String uuid,
long groupId)
Returns the d d l record matching the UUID and 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)
|
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. |
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 |
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. |
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. |
| 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.dynamicdatalists.service.DDLRecordLocalService |
|---|
addRecord, addRecord, deleteRecord, deleteRecord, deleteRecordLocale, deleteRecords, fetchRecord, getCompanyRecords, getCompanyRecords, getCompanyRecordsCount, getCompanyRecordsCount, getLatestRecordVersion, getMinAndMaxCompanyRecordIds, getMinAndMaxCompanyRecords, getRecord, getRecords, getRecords, getRecords, getRecordsCount, getRecordVersion, getRecordVersion, getRecordVersions, getRecordVersionsCount, revertRecordVersion, search, 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=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 DDLRecordLocalServiceddlRecord - the d d l record
SystemException - if a system exception occurredpublic DDLRecord createDDLRecord(long recordId)
createDDLRecord in interface DDLRecordLocalServicerecordId - the primary key for the new d d l record
@Indexable(type=DELETE)
public DDLRecord deleteDDLRecord(long recordId)
throws PortalException,
SystemException
deleteDDLRecord in interface DDLRecordLocalServicerecordId - 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 DDLRecordLocalServiceddlRecord - 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 DDLRecordLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public 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 DDLRecordModelImpl. 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 DDLRecordLocalServicedynamicQuery - 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 occurred
public 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 DDLRecordModelImpl. 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 DDLRecordLocalServicedynamicQuery - 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 occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface DDLRecordLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
throws SystemException
dynamicQueryCount in interface DDLRecordLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
SystemException - if a system exception occurred
public DDLRecord fetchDDLRecord(long recordId)
throws SystemException
fetchDDLRecord in interface DDLRecordLocalServiceSystemException
public DDLRecord fetchDDLRecordByUuidAndCompanyId(String uuid,
long companyId)
throws SystemException
fetchDDLRecordByUuidAndCompanyId in interface DDLRecordLocalServiceuuid - the d d l record's UUIDcompanyId - the primary key of the company
null if a matching d d l record could not be found
SystemException - if a system exception occurred
public DDLRecord fetchDDLRecordByUuidAndGroupId(String uuid,
long groupId)
throws SystemException
fetchDDLRecordByUuidAndGroupId in interface DDLRecordLocalServiceuuid - the d d l record's UUIDgroupId - the primary key of the group
null if a matching d d l record could not be found
SystemException - if a system exception occurred
public DDLRecord getDDLRecord(long recordId)
throws PortalException,
SystemException
getDDLRecord in interface DDLRecordLocalServicerecordId - 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
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface DDLRecordLocalServicePortalException
SystemException
public DDLRecord getDDLRecordByUuidAndCompanyId(String uuid,
long companyId)
throws PortalException,
SystemException
getDDLRecordByUuidAndCompanyId in interface DDLRecordLocalServiceuuid - the d d l record's UUIDcompanyId - the primary key of the company
PortalException - if a matching d d l record could not be found
SystemException - if a system exception occurred
public DDLRecord getDDLRecordByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
getDDLRecordByUuidAndGroupId in interface DDLRecordLocalServiceuuid - the d d l record's UUIDgroupId - the primary key of the group
PortalException - if a matching d d l record could not be found
SystemException - if a system exception occurred
public 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. 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 DDLRecordModelImpl. 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.
getDDLRecords in interface DDLRecordLocalServicestart - 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 occurred
public int getDDLRecordsCount()
throws SystemException
getDDLRecordsCount in interface DDLRecordLocalServiceSystemException - if a system exception occurred
@Indexable(type=REINDEX)
public DDLRecord updateDDLRecord(DDLRecord ddlRecord)
throws SystemException
updateDDLRecord in interface DDLRecordLocalServiceddlRecord - the d d l record
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 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 IdentifiableBeangetBeanIdentifier in interface DDLRecordLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface IdentifiableBeansetBeanIdentifier in interface DDLRecordLocalServicebeanIdentifier - 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-ga2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||