Publishing:

- abstracted asset id and url into a parent aspect (PublishingModel.ASPECT_ASSET)
- Tidied Flickr service provider (coding standards)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29115 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Brian Remmington
2011-07-18 08:43:03 +00:00
parent d4406f7de7
commit 628df31d04
25 changed files with 489 additions and 489 deletions

View File

@@ -134,10 +134,10 @@ public class SlideShareTest extends BaseSpringTest
actionService.executeAction(publishAction, node);
Map<QName, Serializable> props = nodeService.getProperties(node);
Assert.assertTrue(nodeService.hasAspect(node, SlideSharePublishingModel.ASPECT_ASSET));
Assert.assertNotNull(props.get(SlideSharePublishingModel.PROP_ASSET_ID));
Assert.assertNotNull(props.get(PublishingModel.PROP_ASSET_ID));
// Assert.assertNotNull(props.get(SlideSharePublishingModel.PROP_ASSET_URL));
System.out.println("SlideShare id: " + props.get(SlideSharePublishingModel.PROP_ASSET_ID));
System.out.println("SlideShare id: " + props.get(PublishingModel.PROP_ASSET_ID));
// Action unpublishAction = actionService.createAction(SlideShareUnpublishAction.NAME);
// actionService.executeAction(unpublishAction, node);