InterviewSolution
| 1. |
How To Create Custom Repository? |
|
Answer» we have to create component/properties file: $class=atg.adapter.gsa.GSARepository EXPLANANTION : have to tell all the properties in our component Class is GSARepository OOTB it will do all operations getitem, getiteforupdate XMLToolsFactory : for parsing xml definitionFiles : items info will keep here idGenerator : for GENERATING unique ids transactionManager : for transaction purpose either to commit or roll BACK i PARTICULAR transaction/task. we have to create component/properties file: $class=atg.adapter.gsa.GSARepository Explanantion : have to tell all the properties in our component Class is GSARepository OOTB it will do all operations getitem, getiteforupdate XMLToolsFactory : for parsing xml definitionFiles : items info will keep here idGenerator : for generating unique ids transactionManager : for transaction purpose either to commit or roll back i particular transaction/task. |
|