I am doing content migration activity. in that i am able to migrate actual content from one repository to other. but i also want to migrate meta-date for same.
I have some aspect's associated with my content and every aspect is having some properties. So i want to get those aspect specific properties from old repository. but i am not finding any useful code to get aspect properties. I am able to add aspect and properties in new repository.
    AlfrescoDocument alfDoc = (AlfrescoDocument) dc;
    alfDoc.addAspect("P:test:publishDate");
    if (alfDoc.hasAspect("P:test:publishDate")) {
        Map<String, GregorianCalendar> properties1 = new HashMap<String, GregorianCalendar>();
        properties1.put("test:pubDate", dc.getCreationDate());
        alfDoc.updateProperties(properties1);
    }
But in same way i want to fetch aspect specific properties from old repository. Can anyone please help me.
Thanks in Advance.
 
    