Examples of saveFileData()


Examples of org.jresearch.gossip.dao.file.IFileProcessor.saveFileData()

                st.setString(4, fd.getInfo().getDescription());
                st.setInt(5, fd.getInfo().getSize());
                st.setInt(6, fd.getInfo().getMessageId());
                st.execute();

                fProc.saveFileData(fd.getData(),
                        IFileProcConst.ATTACH_KEY_PREFIX + id);
            }
        } finally {
            st.close();
            connection.close();
View Full Code Here

Examples of org.jresearch.gossip.dao.file.IFileProcessor.saveFileData()

     * @param data
     * @throws SystemException
     */
    public void saveAvatar(User user, byte[] data) throws SystemException {
        IFileProcessor fProc = getFileProcessor(IFileProcConst.AVATAR_PROCESSOR);
        fProc.saveFileData(data, IFileProcConst.AVATAR_KEY_PREFIX
                + user.getName());
    }

    /**
     * @param uid
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.