code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
/*
* Copyright (c) 2010 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) 2010 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) 2010 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) 2010 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) 2010 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) 2010 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) 2010 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) 2010 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) 2010 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) 2010 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) 2010 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) 2010 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 ... | Java |
/*
* Copyright (c) 2010 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) 2010 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) 2010 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) 2010 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) 2010 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) 2010 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 ... | Java |
/*
* Copyright (c) 2010 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) 2007 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) 2007 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 insight.web.delegates;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
public class ReflectionDelegate {
public static <T extends Annotation> Field[] getAnnotatedFields(
Clas... | Java |
package insight.web.delegates;
import java.io.OutputStreamWriter;
import java.io.Writer;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONStringer;
/**
*
* AjaxJSONDelegate class set json object ... | Java |
package insight.web.delegates;
import insight.common.PropertyLoader;
import insight.miescor.annotations.Code;
import insight.miescor.annotations.Constants;
import insight.miescor.annotations.Notebook;
import insight.miescor.annotations.UDF;
import insight.miescor.opp.domain.CodeValue;
import insight.miescor.op... | Java |
package insight.web.controllers;
import insight.web.delegates.AjaxJSONDelegate;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONException;
import org.springframework.stereotype.Controller;
... | Java |
package insight.web.controllers;
import insight.miescor.annotations.Constants;
import insight.miescor.db.DBManager;
import insight.miescor.opp.domain.Assignment;
import insight.miescor.opp.domain.AssignmentGrid;
import insight.miescor.opp.domain.CodeValue;
import insight.miescor.opp.domain.OppReport;
import in... | Java |
package insight.web.controllers;
import insight.miescor.db.DBManager;
import insight.miescor.opp.domain.Assignment;
import insight.miescor.opp.domain.Opportunity;
import insight.miescor.opp.domain.PRCInput;
import insight.miescor.opp.domain.Roles;
import insight.miescor.opp.domain.Workflow;
import insight.mies... | Java |
package insight.web.controllers;
import insight.miescor.db.DBManager;
import insight.primavera.common.P6helper;
import java.io.BufferedReader;
import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import org.json.JSONException;
import org.json.JSONObject;
import org.springframework.b... | Java |
package insight.web.controllers;
import insight.common.PropertyLoader;
import insight.miescor.annotations.Constants;
import insight.miescor.opp.domain.ICurrency;
import insight.miescor.opp.domain.ILocation;
import insight.web.delegates.AjaxJSONDelegate;
import insight.web.delegates.PrimaveraDelegate;
import ... | Java |
package insight.miescor.opp.domain;
import java.util.List;
import org.json.JSONException;
import org.json.JSONObject;
import org.sormula.Database;
import org.sormula.SormulaException;
import org.sormula.Table;
import org.sormula.annotation.Where;
import org.sormula.annotation.Wheres;
import org.sormula.ann... | Java |
package insight.miescor.opp.domain;
import java.util.Date;
import org.sormula.Database;
import org.sormula.SormulaException;
import org.sormula.Table;
public class PRCInput implements Cloneable {
private int id;
private int assignmentid;
private String objectid;
private Date createdon;
publ... | Java |
package insight.miescor.opp.domain;
public class CodeValue {
private int id;
private String value;
public CodeValue() {
}
public CodeValue(int id, String value) {
this.id=id;
this.value=value;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
... | Java |
package insight.miescor.opp.domain;
import insight.miescor.annotations.Code;
import insight.miescor.annotations.Constants;
import insight.miescor.annotations.Notebook;
import insight.miescor.annotations.UDF;
import insight.web.delegates.PrimaveraDelegate;
import com.primavera.ServerException;
import com.prim... | Java |
package insight.miescor.opp.domain;
import java.util.List;
import org.json.JSONException;
import org.json.JSONObject;
import org.sormula.Database;
import org.sormula.SormulaException;
import org.sormula.Table;
public class Customer {
private String id;
private String name;
private String sapId;
p... | Java |
package insight.miescor.opp.domain;
public class WorkflowMaster {
private int id;
private String workflowName;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getWorkflowName() {
return workflowName;
}
public void setWorkflowName(Strin... | Java |
package insight.miescor.opp.domain;
import insight.miescor.annotations.Code;
import insight.miescor.annotations.Constants;
import insight.miescor.annotations.Notebook;
import insight.miescor.annotations.UDF;
import insight.web.delegates.PrimaveraDelegate;
import java.lang.reflect.InvocationTargetException;
i... | Java |
package insight.miescor.opp.domain;
import insight.miescor.annotations.Code;
import insight.miescor.annotations.Constants;
import insight.miescor.annotations.UDF;
import insight.web.delegates.PrimaveraDelegate;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.apache.axis.utils.BeanUtils... | Java |
package insight.miescor.opp.domain;
import java.util.Date;
import org.sormula.Database;
import org.sormula.SormulaException;
import org.sormula.Table;
public class Activity {
private int id;
private Date completedon;
private String completedby;
private String status;
private String itemid;
publ... | Java |
package insight.miescor.opp.domain;
import org.sormula.Database;
import org.sormula.SormulaException;
import org.sormula.Table;
public class NumberGenerator {
private String seriesKey;
private Integer seriesCurrentNum;
public NumberGenerator() {
}
public NumberGenerator(String key) {
seriesKey... | Java |
package insight.miescor.opp.domain;
import java.util.List;
import org.sormula.Database;
import org.sormula.SormulaException;
import org.sormula.Table;
import org.sormula.annotation.Where;
import org.sormula.annotation.WhereField;
import org.sormula.annotation.Wheres;
@Wheres({
@Where(name="step", w... | Java |
package insight.miescor.opp.domain;
import org.sormula.Database;
import org.sormula.SormulaException;
import org.sormula.Table;
import org.sormula.annotation.Where;
import org.sormula.annotation.WhereField;
import org.sormula.annotation.Wheres;
@Wheres({
@Where(name="stage", whereFields=@WhereField(name... | Java |
package insight.miescor.opp.domain;
import java.util.Comparator;
import com.primavera.integration.client.bo.BusinessObjectException;
import com.primavera.integration.client.bo.object.Location;
public class ILocation {
public static final String[] Fields = { "Name", "Country", "CountryCode" };
private int ... | Java |
package insight.miescor.opp.domain;
import com.google.gson.annotations.SerializedName;
import com.primavera.integration.client.bo.BusinessObjectException;
import com.primavera.integration.client.bo.object.Currency;
public class ICurrency {
public static final String[] Fields = { "Id", "IsBaseCurrency",
"E... | Java |
package insight.miescor.opp.domain;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.json.JSONException;
import org.json.JSONObject;
public class AssignmentGrid extends Assignment {
private String title;
private String projectType;
private String initiator;
private Date createdO... | Java |
package insight.miescor.opp.domain;
import java.util.Date;
import java.util.List;
import org.json.JSONException;
import org.json.JSONObject;
import org.sormula.Database;
import org.sormula.SormulaException;
import org.sormula.Table;
import org.sormula.annotation.Transient;
public class Assignment impleme... | Java |
package insight.miescor.opp.domain;
import org.json.JSONException;
import org.json.JSONObject;
public class Users {
private String id;
private String name;
private String emailid;
public Users() {
}
public Users(JSONObject userObj) throws JSONException {
id = userObj.has("id") ? userObj.getS... | Java |
package insight.miescor.annotations;
public class Constants {
public static class UDFDataType{
public static final int TEXT = 0;
public static final int START_DATE = 1;
public static final int FINISH_DATE = 2;
public static final int COST = 3;
public static final int DOUBLE = 4;
public static... | Java |
package insight.miescor.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Notebook {
String topicName(... | Java |
package insight.miescor.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface UDF {
String name();
int d... | Java |
package insight.miescor.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Code {
String name();
}
... | Java |
package insight.miescor.db;
import insight.common.Encrypter;
import insight.common.logging.JLogger;
import insight.miescor.opp.domain.AssignmentGrid;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.... | Java |
package insight.miescor.db;
import insight.miescor.opp.domain.AssignmentGrid;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;
public class AssignmentMapper implements RowMapper {
public AssignmentGrid mapRow(ResultSet res, int arg1) throws SQLExcep... | Java |
package insight.p6.event;
import insight.common.PropertyLoader;
import insight.common.logging.JLogger;
import insight.primavera.common.P6helper;
import insight.primavera.common.Utils;
import java.io.StringReader;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.jms.JMSExceptio... | Java |
package insight.p6.event;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Hashtable;
import javax.jms.*;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
/**
* This example shows how to esta... | Java |
package insight.jsp.custom.taglib;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringWriter;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;
import org.apache.commons.io.IOUtils;
public class CustomerSelTag... | Java |
package insight.jsp.custom.taglib;
import java.io.IOException;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;
public class ButtonTagHandler extends TagSupport {
private static final long serialVersionUID = 1L;
private String id;
pr... | Java |
package insight.jsp.custom.taglib;
import java.io.IOException;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;
public class FormTagHandler extends TagSupport {
private static final long serialVersionUID = 1L;
private String id;
priv... | Java |
package insight.jsp.custom.taglib;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringWriter;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;
import org.apache.commons.io.IOUtils;
public class LocationSelTag... | Java |
package insight.jsp.custom.taglib;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringWriter;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;
import org.apache.commons.io.IOUtils;
public class PageHeaderTagH... | Java |
package insight.jsp.custom.taglib;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSuppo... | Java |
import insight.miescor.annotations.Code;
import insight.miescor.db.DBManager;
import insight.miescor.opp.domain.Assignment;
import insight.miescor.opp.domain.CodeValue;
import insight.primavera.common.P6helper;
import insight.web.delegates.AjaxJSONDelegate;
import insight.web.delegates.PrimaveraDelegate;
impor... | Java |
package insight.web.delegates;
import java.io.OutputStreamWriter;
import java.io.Writer;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONArray;
import org.json.JSONObject;
import org.json.JSONStringer;
/**
*
* AjaxJSONDelegate class set json object in HttpServletResponse and send ... | Java |
package insight.app.config.mvc;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.con... | Java |
package insight.app.config.mvc;
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;
public class WebApplicationInitializer extends
AbstractAnnotationConfigDispatcherServletInitializer {
@Override
protected Class<?>[] getRootConfigClasses() {
return null;
//ret... | Java |
package insight.app.config;
import insight.sm.dao.AssignmentsDAOImpl;
import insight.sm.dao.IAssignmentsDAO;
import insight.sm.dao.IEquipmentDAO;
import insight.sm.dao.EquipmentDAOImpl;
import insight.sm.dao.ILabourResourcesDAO;
import insight.sm.dao.IMaterialDAO;
import insight.sm.dao.IProjectDAO;
import ins... | Java |
package insight.app.config;
import java.util.Properties;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configur... | Java |
package insight.app.config;
import org.springframework.context.annotation.Configuration;
@Configuration
public class ControllerConfig {
}
| Java |
package insight.app.config.security;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authenticatio... | Java |
package insight.app.config.security;
import org.springframework.security.web.context.*;
public class SecurityWebApplicationInitializer extends
AbstractSecurityWebApplicationInitializer {
public SecurityWebApplicationInitializer() {
super(SecurityConfig.class);
}
}
| Java |
package insight.sm.constants;
public class Constants {
public static class Session {
public static final String CURRENT_USER_NAME = null;
public static final String CURRENT_USER_ID = null;
}
public enum ProjectStatusConstants {
PENDING("P"), ACTIVE("A"), INACTIVE("I"), DELETED("D");
private String status... | Java |
package insight.sm.dao;
import insight.sm.pojo.MaterialIssue;
public interface IMaterialIssueDAO extends IGenericDAO<MaterialIssue> {
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.Task;
public class TaskDAOImpl extends GenericDAOImpl<Task> implements ITaskDAO{
} | Java |
package insight.sm.dao;
import insight.sm.db.EntityRowMapper;
import java.lang.reflect.Field;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import j... | Java |
package insight.sm.dao;
import insight.sm.pojo.MCRDetail;
public class MCRDetailDAOImpl extends GenericDAOImpl<MCRDetail> implements IMCRDetailDAO{
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.ReceiptDetails;
public class ReceiptDetailsDAOImpl extends GenericDAOImpl<ReceiptDetails> implements IReceiptDetailsDAO{
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.Assignments;
public class AssignmentsDAOImpl extends GenericDAOImpl<Assignments> implements IAssignmentsDAO{
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.Equipment;
public interface IEquipmentDAO extends IGenericDAO<Equipment> {
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.MaterialRequirement;
public class MaterialRequirementDAOImpl extends GenericDAOImpl<MaterialRequirement> implements IMaterialRequirementDAO{
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.MaterialReceipts;
public class MaterialReceiptsDAOImpl extends GenericDAOImpl<MaterialReceipts> implements IMaterialReceiptsDAO{
}
| Java |
package insight.sm.dao;
import java.util.List;
public interface IGenericDAO<T> {
public T findById(Class<T> T, int id);
public void update(T object);
public int delete(Class<T> T,int id);
public int deleteAll(Class<T> T);
public void save(T instance);
public List<T> getList(Class<T> enti... | Java |
package insight.sm.dao;
import insight.sm.pojo.MaterialIssue;
public class MaterialIssueDAOImpl extends GenericDAOImpl<MaterialIssue> implements IMaterialIssueDAO{
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.Assignments;
public interface IAssignmentsDAO extends IGenericDAO<Assignments> {
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.MCRMaster;
public interface IMCRMasterDAO extends IGenericDAO<MCRMaster> {
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.MCRDetail;
public interface IMCRDetailDAO extends IGenericDAO<MCRDetail> {
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.MaterialReceipts;
public interface IMaterialReceiptsDAO extends IGenericDAO<MaterialReceipts> {
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.Task;
public interface ITaskDAO extends IGenericDAO<Task>{
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.Project;
public class ProjectDAOImpl extends GenericDAOImpl<Project> implements IProjectDAO{
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.Material;
public class MaterialDAOImpl extends GenericDAOImpl<Material> implements IMaterialDAO{
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.Project;
public interface IProjectDAO extends IGenericDAO<Project> {
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.MaterialRequirement;
public interface IMaterialRequirementDAO extends IGenericDAO<MaterialRequirement> {
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.Equipment;
public class EquipmentDAOImpl extends GenericDAOImpl<Equipment> implements IEquipmentDAO{
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.MCRMaster;
public class MCRMasterDAOImpl extends GenericDAOImpl<MCRMaster> implements IMCRMasterDAO{
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.ReceiptDetails;
public interface IReceiptDetailsDAO extends IGenericDAO<ReceiptDetails>{
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.Material;
public interface IMaterialDAO extends IGenericDAO<Material> {
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.LabourResources;
public interface ILabourResourcesDAO extends IGenericDAO<LabourResources> {
}
| Java |
package insight.sm.dao;
import insight.sm.pojo.LabourResources;
public class LabourResourcesDAOImpl extends GenericDAOImpl<LabourResources> implements ILabourResourcesDAO{
}
| Java |
package insight.sm.delegates;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
public class ReflectionDelegate {
public static <T extends Annotation> Field[] getAnnotatedFields(
Class... | Java |
package insight.sm.delegates;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStreamWriter;
import java.io.Writer;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.io.IOUtils;
import org.json.JSONArray;
import org.json.JSONObject;
import org.json.JSONStringer;
/*... | Java |
package insight.sm.controllers;
import java.io.BufferedReader;
import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import org.json.JSONException;
import org.json.JSONObject;
public class GenericController {
public static JSONObject readJSON(HttpServletRequest request) throws IOException {
... | Java |
package insight.sm.controllers;
import insight.sm.delegates.AjaxDelegate;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONArray;
import org.json.JSONException;
imp... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.