Create a transaction for a write when the current content channel is not writable.

Fixes a NullPointerException, AR-1129.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4509 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2006-12-04 15:37:48 +00:00
parent 07b18358ae
commit 66c95d5dce
2 changed files with 12 additions and 2 deletions

View File

@@ -467,6 +467,16 @@ public class AVMNetworkFile extends NetworkFile {
}
}
/**
* Return the writable state of the content channel
*
* @return boolean
*/
public final boolean isWritable()
{
return m_writable;
}
/**
* Return the network file details as a string
*