Javadoc improvements and private variable renaming in the rendition service.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20622 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Neil McErlean
2010-06-14 10:41:13 +00:00
parent 85d7a903e5
commit cafa116c74
5 changed files with 98 additions and 15 deletions

View File

@@ -62,6 +62,13 @@ public class RenditionNodeManager
this.nodeService = nodeService;
}
/**
* This method returns the {@link ChildAssociationRef} for the rendition node. In doing this
* it may reuse an existing rendition node, move an existing rendition node or create a new rendition node
* as appropriate.
*
* @return the {@link ChildAssociationRef} of the rendition node.
*/
public ChildAssociationRef findOrCreateRenditionNode()
{
QName renditionName = renditionDefinition.getRenditionName();
@@ -79,7 +86,7 @@ public class RenditionNodeManager
}
// If the old rendition is in the wrong location and the 'orphan
// existing rendition' param is set to true or the RenditionLocation
// specifies a destination NodeRef then ldelete the old
// specifies a destination NodeRef then delete the old
// rendition association and create a new rendition node.
if (orphanExistingRendition())
{