mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Changed signature of AVMRepository.getAVMStoreByName() to get rid of
unused and misleading parameter. Fixed PlainFileNodeImpl copy from LayeredFileNode constructor so that properties will be correctly copied. Switched out the GPL mysql driver that I had been inadvertantly using. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3378 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -86,11 +86,12 @@ class PlainFileNodeImpl extends FileNodeImpl implements PlainFileNode
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor that takes a FileContent to share.
|
||||
* Constructor that takes a FileContent to share. Called by LayeredFileNodeImpl.copy().
|
||||
* @param content The FileContent to share.
|
||||
* @param store The AVMStore.
|
||||
*/
|
||||
public PlainFileNodeImpl(FileContent content,
|
||||
public PlainFileNodeImpl(LayeredFileNode other,
|
||||
FileContent content,
|
||||
AVMStore store,
|
||||
BasicAttributes oAttrs)
|
||||
{
|
||||
@@ -100,6 +101,7 @@ class PlainFileNodeImpl extends FileNodeImpl implements PlainFileNode
|
||||
AVMContext.fgInstance.fAVMNodeDAO.save(this);
|
||||
AVMContext.fgInstance.fAVMNodeDAO.flush();
|
||||
AVMContext.fgInstance.fNewInAVMStoreDAO.save(new NewInAVMStoreImpl(store, this));
|
||||
copyProperties(other);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user