}
public String getAssetFileName(DigitalAssetVO digitalAssetVO, Integer contentId, Integer languageId, Database db) throws Exception
{
VisualFormatter formatter = new VisualFormatter();
String fileName = digitalAssetVO.getDigitalAssetId() + "_" + formatter.replaceNiceURINonAsciiWithSpecifiedChars(digitalAssetVO.getAssetFileName(), CmsPropertyHandler.getNiceURIDefaultReplacementCharacter());
if(CmsPropertyHandler.getAssetFileNameForm().equals("contentId_languageId_assetKey"))
{
if(contentId == null || languageId == null)
{