public AttachedFile updateAttachedFile(AttachedFile attachedFile, boolean merge) throws SystemException { attachedFile.setNew(false); return attachedFilePersistence.update(attachedFile, merge); }
public AttachedFile addAttachedFile(AttachedFile attachedFile) throws SystemException { attachedFile.setNew(true); return attachedFilePersistence.update(attachedFile, false); }