code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
package spellpad.eventhandlers;
import java.io.File;
import javax.swing.filechooser.FileNameExtensionFilter;
/**
*
* @author Jesse
*/
public class FileChooserDetails {
private File file;
private FileNameExtensionFilter extensionFilter;
public FileChooserDetails(File file, FileNameExtens... | Java |
package spellpad.eventhandlers;
import java.awt.Toolkit;
import java.awt.datatransfer.*;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author Jesse Allen
*/
public class ClipboardHandler implements ClipboardOwner {
public ClipboardHandler()... | Java |
package spellpad.eventhandlers;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JFrame;
import javax.swing.JTextPane;
import spellpad.eventhandlers.textmodifying.dictionary.DictionaryController;
import spellpad.swing.autocomplete.WordCountCache;
/**
*
* @author... | Java |
package spellpad.eventhandlers;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JMenuItem;
/**
*
* @author Jesse Allen
*/
public class SpellCheckChoiceActionListener implements ActionListener {
private JMenuItem item;
private boolean useDictionary;
... | Java |
package spellpad.filetype.parsing;
import org.apache.commons.lang3.StringEscapeUtils;
import org.jsoup.Jsoup;
/**
* @author Jesse
*/
public class SpellpadParser {
static final String MAGICSTRING = "madsfkjdlkiadflejkaldicislaldkfdleoqopa";
SpellpadParser() {
}
public stat... | Java |
/*
* Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | Java |
/*
* Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | Java |
/*
* Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | Java |
/*
* Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | Java |
/*
* Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | Java |
/*
* Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | Java |
package com.virtium.vpc;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.cfg.Configuration;
/**
* Configures and provides access to Hibernate sessions, tied to the current
* thread of execution. Follows the Thread Local Session pattern, see
* {@link http://hibernate.org/... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcSpeed entity provides the base persistence definition of the
* VpcSpeed entity. @author NguyenTuanAnh
*/
public class VpcSpeed implements java.io.Serializable,VpcPrototype {
// Fields
private Integer id;
private String text;
// Constructors
/** def... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcHeight entity provides the base persistence definition of the
* VpcHeight entity. @author TuanAnh
*/
public class VpcHeight implements java.io.Serializable,VpcPrototype {
// Fields
private Integer id;
private String text;
// Constructors
/** defaul... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcSsdramdensity entity provides the base persistence definition of
* the VpcSsdramdensity entity. @author NguyenTuanAnh
*/
public class VpcSsdramdensity implements java.io.Serializable, VpcPrototype {
// Fields
private Integer id;
private String text;
... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcProductstatus entity provides the base persistence definition of
* the VpcProductstatus entity.
*/
public class VpcProductstatus implements java.io.Serializable,VpcPrototype {
// Fields
private Integer id;
private String text;
// Constructors
/** d... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcPackage entity provides the base persistence definition of the
* VpcPackage entity.
*/
public class VpcPackage implements java.io.Serializable,VpcPrototype {
// Fields
private Integer id;
private String text;
// Constructors
/** default constructor... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcRevisiontype entity provides the base persistence definition of
* the VpcRevisiontype entity.
*/
public class VpcRevisiontype implements java.io.Serializable {
// Fields
private Integer id;
private String text;
// Constructors
/** default construct... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcThickness entity provides the base persistence definition of the
* VpcThickness entity. @author TuanAnh
*/
public class VpcThickness implements java.io.Serializable,VpcPrototype {
// Fields
private Integer id;
private String text;
private String text2... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcRamdensity entity provides the base persistence definition of the
* VpcRamdensity entity. @author NguyenTuanAnh
*/
public class VpcRamdensity implements java.io.Serializable,VpcPrototype {
// Fields
private Integer id;
private String text;
// Constru... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcModulerank entity provides the base persistence definition of the
* VpcModulerank entity.
*/
public class VpcModulerank implements java.io.Serializable,VpcPrototype {
// Fields
private Integer id;
private String text;
// Constructors
/** default co... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcFormfactor entity provides the base persistence definition of the
* VpcFormfactor entity. @author NguyenTuanAnh
*/
public class VpcFormfactor implements java.io.Serializable,VpcPrototype {
// Fields
private Integer id;
private String text;
// Constr... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcCongiguration entity provides the base persistence definition of
* the VpcCongiguration entity.
*/
public class VpcCongiguration implements java.io.Serializable,VpcPrototype {
// Fields
private Integer id;
private String text;
// Constructors
/** d... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcSpecstatus entity provides the base persistence definition of the
* VpcSpecstatus entity. @author MyEclipse Persistence Tools
*/
public class VpcSpecstatus implements java.io.Serializable {
// Fields
private Integer id;
private String text;
// Constr... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcDensity entity provides the base persistence definition of the
* VpcDensity entity.
*/
public class VpcDensity implements java.io.Serializable,VpcPrototype {
// Fields
private Integer id;
private String text;
// Constructors
/** default constructor... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcProduct entity provides the base persistence definition of the
* VpcProduct entity. @author NguyenTuanAnh
*/
public class VpcProduct implements java.io.Serializable {
// Fields
private Integer id;
private String pn;
private Integer congigurationId;
... | Java |
package com.virtium.vpc.hibernate.model;
/**
* AbstractVpcTechnology entity provides the base persistence definition of the
* VpcTechnology entity.
*/
public class VpcTechnology implements java.io.Serializable,VpcPrototype {
// Fields
private Integer id;
private String text;
// Constructors
/** default co... | Java |
package com.virtium.vpc.hibernate.model;
public interface VpcPrototype {
/**
* @return the id
*/
public Integer getId();
/**
* @param id the id to set
*/
public void setId(Integer id);
/**
* @return the text
*/
public String getText();
/**
* @param text the text to set
*/
p... | Java |
/*
* Copyright (c) 2010 Virtium Technology,
* All Rights Reserved.
* This work contains trade secrets and confidential material of
* Virtium Technology.
*
* Warning: Any unauthorised dissemination, disclosure or use of the content
* in whole or in part without the explicit consent of Virtium technology
... | Java |
/*
*
*
* Project : VPC
* Name : MailUtil.java
*
*
*/
package com.virtium.vpc.utils;
import java.io.File;
import java.util.Properties;
import javax.activation.DataHandler;
import javax.activation.FileDataSource;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.... | Java |
/*
* Project : VPC
* Name : ApplicationConstant.java
*
*/
package com.virtium.vpc.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public clas... | Java |
/*
* Copyright (c) 2010 Virtium Technology,
* All Rights Reserved.
* This work contains trade secrets and confidential material of
* Virtium Technology.
*
* Warning: Any unauthorised dissemination, disclosure or use of the content
* in whole or in part without the explicit consent of Virtium technology
... | Java |
package com.virtium.vpc.utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
/**
* Provides Hibernate utility methods th... | Java |
package com.virtium.vpc.json;
/**
* The JSONException is thrown by the JSON.org classes when things are amiss.
*
* @author JSON.org
* @version 2008-09-18
*/
public class JSONException extends Exception {
private Throwable cause;
/**
* Constructs a JSONException with an explanatory message.
*
* @param m... | Java |
package com.virtium.vpc.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify... | Java |
package com.virtium.vpc.json;
/*
Copyright (c) 2008 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify... | Java |
package com.virtium.vpc.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify... | Java |
package com.virtium.vpc.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify... | Java |
package com.virtium.vpc.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify... | Java |
package com.virtium.vpc.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify... | Java |
package com.virtium.vpc.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify... | Java |
package com.virtium.vpc.json;
/*
Copyright (c) 2006 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify... | Java |
package com.virtium.vpc.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify... | Java |
package com.virtium.vpc.json;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Softwar... | Java |
package com.virtium.vpc.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify... | Java |
package com.virtium.vpc.json;
/**
* The <code>JSONString</code> interface allows a <code>toJSONString()</code>
* method so that a class can change the behavior of
* <code>JSONObject.toString()</code>, <code>JSONArray.toString()</code>, and
* <code>JSONWriter.value(</code>Object<code>)</code>. The
* <code>toJSONSt... | Java |
package com.virtium.vpc.json;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.io.StringWriter;
/**
* Test class. This file is not formally a member of the org.json library. It is
* just a casual test tool.
*/
public class Test {
/**
* Entry point.
*
* @param args
... | Java |
package com.virtium.vpc.json;
import java.io.IOException;
import java.io.Writer;
/*
Copyright (c) 2006 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including... | Java |
package com.virtium.vpc.json;
/*
Copyright (c) 2002 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import com.virtium.vpc.hibernate.model.VpcTechnology;
/**
* A data access object (DAO) providing persistence and search support for
* VpcTechnology entities. Transaction control of the save(), update() and
* delete() operations can directly support Spring contain... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import org.hibernate.Session;
public interface GenericDAO {
public void closeSession();
public Session currentSession(boolean enableFilter);
public List executeQuery(boolean enableFilter, String query)
throws Exception;
}
| Java |
package com.virtium.vpc.dao;
import java.util.List;
import com.virtium.vpc.hibernate.model.VpcModulerank;
/**
* A data access object (DAO) providing persistence and search support for
* VpcModulerank entities. Transaction control of the save(), update() and
* delete() operations can directly support Spring contain... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.criterion.Example;
import com.virtium.vpc.hibernate.model.VpcRamdensity;
/**
* A data access object... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.criterion.Example;
import com.virtium.vpc.hibernate.model.VpcSpeed;
/**
* A data access object (DAO... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import com.virtium.vpc.hibernate.model.VpcSpecstatus;
/**
* A data access object (DAO) providing persistence and search support for
* VpcSpecstatus entities. Transaction control of the save(), update() and
* delete() operations can directly support Spring contain... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.criterion.Example;
import com.virtium.vpc.hibernate.model.VpcFormfactor;
/**
* A data access object... | Java |
package com.virtium.vpc.dao;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.cfg.Configuration;
/**
* Configures and provides access to Hibernate sessions, tied to the current
* thread of execution. Follows the Thread Local Session pattern, see
* {@link http://hibernate.... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import com.virtium.vpc.dao.VpcThicknes... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.Criteria;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import o... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import com.virtium.vpc.dao.VpcHeightDA... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import com.virtium.vpc.dao.VpcSpeedDAO... | Java |
package com.virtium.vpc.dao.hibernate;
import org.hibernate.Session;
/**
* Data access interface for domain model
*
* @author MyEclipse Persistence Tools
*/
public interface IBaseHibernateDAO {
public Session getSession();
} | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import com.virtium.vpc.dao.VpcTechnolo... | Java |
package com.virtium.vpc.dao.hibernate;
import com.virtium.vpc.dao.DAOFactory;
import com.virtium.vpc.dao.VpcCongigurationDAO;
import com.virtium.vpc.dao.VpcDensityDAO;
import com.virtium.vpc.dao.VpcFormfactorDAO;
import com.virtium.vpc.dao.VpcHeightDAO;
import com.virtium.vpc.dao.VpcModulerankDAO;
import com.v... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import com.virtium.vpc.dao.VpcDensityD... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import com.virtium.vpc.dao.VpcModulera... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import com.virtium.vpc.dao.VpcSsdramde... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import com.virtium.vpc.dao.VpcProducts... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.hibernate.Session;
import com.virtium.vpc.dao.GenericDAO;
import com.virtium.vpc.dao.HibernateSessionFactory;
import com.virtium.vpc.utils.HibernateUtil;
/**
* Data access object (DAO) for domain model
*
* @author NguyenTuanAnh
... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.criterion.Example;
import com.virtium.vpc.dao.VpcRevisiontypeDAO;
import com.virtium.vpc.hi... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import com.virtium.vpc.dao.VpcRamdensi... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import com.virtium.vpc.dao.VpcPackageD... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import com.virtium.vpc.dao.VpcFormfact... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import com.virtium.vpc.dao.VpcCongigur... | Java |
package com.virtium.vpc.dao.hibernate;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.criterion.Example;
import com.virtium.vpc.dao.VpcSpecstatusDAO;
import com.virtium.vpc.hibe... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.criterion.Example;
import com.virtium.vpc.hibernate.model.VpcProduct;
/**
* A data access object (D... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import com.virtium.vpc.hibernate.model.VpcDensity;
/**
* A data access object (DAO) providing persistence and search support for
* VpcDensity entities. Transaction control of the save(), update() and delete()
* operations can directly support Spring container-man... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.criterion.Example;
import com.virtium.vpc.hibernate.model.VpcThickness;
/**
* A data access object ... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import com.virtium.vpc.hibernate.model.VpcDensity;
public class TestHibernate {
/**
* @param args
*/
public static void main(String[] args) {
VpcProductDAO objectDAO = DAOFactory.getInstance()
.getVpcProductDAO();
try {
List ls = ... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import com.virtium.vpc.hibernate.model.VpcSsdramdensity;
/**
* A data access object (DAO) providing persistence and search support for
* VpcSsdramdensity entities. Transaction control of the save(), update() and
* delete() operations can directly support Spring c... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import com.virtium.vpc.hibernate.model.VpcCongiguration;
/**
* A data access object (DAO) providing persistence and search support for
* VpcCongiguration entities. Transaction control of the save(), update() and
* delete() operations can directly support Spring c... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.criterion.Example;
import com.virtium.vpc.hibernate.model.VpcHeight;
/**
* A data access object (DA... | Java |
package com.virtium.vpc.dao;
import javax.servlet.ServletContext;
public abstract class DAOFactory {
public abstract VpcCongigurationDAO getVpcCongigurationDAO();
public abstract VpcDensityDAO getVpcDensityDAO();
public abstract VpcModulerankDAO getVpcModulerankDAO();
public abstract VpcPacka... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import com.virtium.vpc.hibernate.model.VpcProductstatus;
/**
* A data access object (DAO) providing persistence and search support for
* VpcProductstatus entities. Transaction control of the save(), update() and
* delete() operations can directly support Spring c... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import com.virtium.vpc.hibernate.model.VpcRevisiontype;
/**
* A data access object (DAO) providing persistence and search support for
* VpcRevisiontype entities. Transaction control of the save(), update() and
* delete() operations can directly support Spring con... | Java |
package com.virtium.vpc.dao;
import java.util.List;
import com.virtium.vpc.hibernate.model.VpcPackage;
/**
* A data access object (DAO) providing persistence and search support for
* VpcPackage entities. Transaction control of the save(), update() and delete()
* operations can directly support Spring container-man... | Java |
package com.virtium.vpc.form;
import java.util.ArrayList;
import org.apache.struts.action.ActionForm;
import org.apache.struts.upload.FormFile;
import com.virtium.vpc.action.controller.VpcConfigurationManager;
import com.virtium.vpc.action.controller.VpcDensityManager;
import com.virtium.vpc.action.controller... | Java |
/*
* Copyright (c) 2010 Virtium Technology,
* All Rights Reserved.
* This work contains trade secrets and confidential material of
* Virtium Technology.
*
* Warning: Any unauthorised dissemination, disclosure or use of the content
* in whole or in part without the explicit consent of Virtium technology
... | Java |
/*
*
* Project : VPC
* Name : InitServlet.java
*
*/
package com.virtium.vpc.action;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFacto... | Java |
package com.virtium.vpc.action.controller;
import java.util.ArrayList;
import java.util.Iterator;
import com.virtium.vpc.dao.DAOFactory;
import com.virtium.vpc.dao.VpcPackageDAO;
import com.virtium.vpc.hibernate.model.VpcPackage;
public class VpcPackageManager {
private static ArrayList<VpcPackage> arrVpc... | Java |
package com.virtium.vpc.action.controller;
import java.util.ArrayList;
import java.util.Iterator;
import com.virtium.vpc.dao.DAOFactory;
import com.virtium.vpc.dao.VpcThicknessDAO;
import com.virtium.vpc.hibernate.model.VpcThickness;
public class VpcThicknessManager {
private static ArrayList<VpcThickne... | Java |
package com.virtium.vpc.action.controller;
import java.util.List;
import com.virtium.vpc.dao.DAOFactory;
import com.virtium.vpc.dao.VpcProductDAO;
import com.virtium.vpc.hibernate.model.VpcProduct;
public class VpcProductManager {
public static boolean addNew(VpcProduct product) {
try {
VpcProd... | Java |
package com.virtium.vpc.action.controller;
import java.util.ArrayList;
import java.util.Iterator;
import com.virtium.vpc.dao.DAOFactory;
import com.virtium.vpc.dao.VpcDensityDAO;
import com.virtium.vpc.hibernate.model.VpcDensity;
public class VpcDensityManager {
private static ArrayList<VpcDensity> arrVpc... | Java |
package com.virtium.vpc.action.controller;
import java.util.ArrayList;
import java.util.Iterator;
import com.virtium.vpc.dao.DAOFactory;
import com.virtium.vpc.dao.VpcProductstatusDAO;
import com.virtium.vpc.hibernate.model.VpcProductstatus;
public class VpcProductstatusManager {
private static ArrayList<... | Java |
package com.virtium.vpc.action.controller;
import java.util.ArrayList;
import java.util.Iterator;
import com.virtium.vpc.dao.DAOFactory;
import com.virtium.vpc.dao.VpcHeightDAO;
import com.virtium.vpc.hibernate.model.VpcHeight;
public class VpcHeightManager {
private static ArrayList<VpcHeight> arrVpcHe... | Java |
package com.virtium.vpc.action.controller;
import java.util.ArrayList;
import java.util.Iterator;
import com.virtium.vpc.dao.DAOFactory;
import com.virtium.vpc.dao.VpcSpeedDAO;
import com.virtium.vpc.hibernate.model.VpcSpeed;
public class VpcSpeedManager {
private static ArrayList<VpcSpeed> arrVpcSpeed = ... | Java |
package com.virtium.vpc.action.controller;
import java.util.ArrayList;
import java.util.Iterator;
import com.virtium.vpc.dao.DAOFactory;
import com.virtium.vpc.dao.VpcRamdensityDAO;
import com.virtium.vpc.hibernate.model.VpcRamdensity;
public class VpcRamdensityManager {
private static ArrayList<VpcRamden... | Java |
package com.virtium.vpc.action.controller;
import java.util.ArrayList;
import java.util.Iterator;
import com.virtium.vpc.dao.DAOFactory;
import com.virtium.vpc.dao.VpcRevisiontypeDAO;
import com.virtium.vpc.hibernate.model.VpcRevisiontype;
public class VpcRevisiontypeManager {
private static ArrayList<Vpc... | Java |
package com.virtium.vpc.action.controller;
import java.util.ArrayList;
import java.util.Iterator;
import com.virtium.vpc.dao.DAOFactory;
import com.virtium.vpc.dao.VpcTechnologyDAO;
import com.virtium.vpc.hibernate.model.VpcTechnology;
public class VpcTechnologyManager {
private static ArrayList<VpcTechno... | Java |
package com.virtium.vpc.action.controller;
import java.util.ArrayList;
import java.util.Iterator;
import com.virtium.vpc.dao.DAOFactory;
import com.virtium.vpc.dao.VpcCongigurationDAO;
import com.virtium.vpc.hibernate.model.VpcCongiguration;
public class VpcConfigurationManager {
private static ArrayList<... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.