code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/json/GenericJson.java | Java | asf20 | 1,369 |
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/json/Json.java | Java | asf20 | 18,534 |
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/json/CustomizeJsonParser.java | Java | asf20 | 1,828 |
<body>
JSON-RPC 2.0 as specified in
<a href="http://groups.google.com/group/json-rpc/web/json-rpc-2-0">JSON-RPC
2.0 Specification</a>
and
<a href="http://groups.google.com/group/json-rpc/web/json-rpc-over-http">JSON-RPC
over HTTP</a>
.
<p>This package depends on theses packages:</p>
<ul>
<li>{@link com.google.api.cl... | 11durong-mytest1 | google-api-client/src/com/google/api/client/json/rpc2/package.html | HTML | asf20 | 623 |
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/json/rpc2/JsonRpcHttpTransport.java | Java | asf20 | 5,191 |
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/json/rpc2/JsonRpcRequest.java | Java | asf20 | 1,497 |
<body>
HTTP Transport library for Google API's based on Apache HTTP Client version 4.
<p>This package depends on theses packages:</p>
<ul>
<li>{@link com.google.api.client.http}</li>
<li>{@code org.apache.http.*}</li>
</ul>
<p><b>Warning: this package is experimental, and its content may be
changed in incompatibl... | 11durong-mytest1 | google-api-client/src/com/google/api/client/apache/package.html | HTML | asf20 | 419 |
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/apache/PlainSocksSocketFactory.java | Java | asf20 | 4,345 |
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/apache/ContentEntity.java | Java | asf20 | 1,466 |
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/apache/ApacheHttpRequest.java | Java | asf20 | 1,847 |
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/apache/ApacheHttpResponse.java | Java | asf20 | 2,981 |
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/apache/HttpPatch.java | Java | asf20 | 921 |
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/apache/TrustManagerDecorator.java | Java | asf20 | 1,771 |
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/apache/SSLSocksSocketFactory.java | Java | asf20 | 9,104 |
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/apache/ApacheHttpTransport.java | Java | asf20 | 5,756 |
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/repackaged/com/google/common/base/Objects.java | Java | asf20 | 1,457 |
<body>
Copied from
<a href="http://code.google.com/p/guava-libraries">guava-libraries</a>
, but only keeping the stuff we actually need.
<p>Rather than having an explicit dependency on guava-libraries, we
repackage just the few classes we need from guava-libraries to better support
low-space environments like Android.... | 11durong-mytest1 | google-api-client/src/com/google/api/client/repackaged/com/google/common/base/package.html | HTML | asf20 | 641 |
/*
* 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 ... | 11durong-mytest1 | google-api-client/src/com/google/api/client/repackaged/com/google/common/base/Preconditions.java | Java | asf20 | 17,234 |
/*
* Copyright 2002 Damien Miller <djm@mindrot.org> All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... | 08beeumerk-flow | netflow5.c | C | bsd | 5,710 |
/*
* Copyright (c) 2007 Damien Miller. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | 08beeumerk-flow | freelist.c | C | bsd | 4,923 |
# $Id$
#
# Copyright (c) 2004 Damien Miller
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS... | 08beeumerk-flow | configure.ac | M4Sugar | bsd | 5,938 |
.\" $Id$
.\"
.\" Copyright (c) 2002 Damien Miller. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, thi... | 08beeumerk-flow | softflowctl.8 | Roff Manpage | bsd | 3,031 |
/*
* Copyright 2002 Damien Miller <djm@mindrot.org> All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... | 08beeumerk-flow | netflow1.c | C | bsd | 5,619 |
#!/usr/bin/perl -w
# This is a Cisco NetFlow datagram collector
# Netflow protocol reference:
# http://www.cisco.com/univercd/cc/td/doc/product/rtrmgmt/nfc/nfc_3_0/nfc_ug/nfcform.htm
# XXX Doesn't support NetFlow 9
my $af;
BEGIN {
use strict;
use warnings;
use IO qw(Socket);
use Socket;
use Carp;
use POSIX q... | 08beeumerk-flow | collector.pl | Perl | bsd | 6,726 |
/*
* Copyright 2004 Damien Miller <djm@mindrot.org> All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... | 08beeumerk-flow | log.h | C | bsd | 1,485 |
/*
* Copyright (c) 2001 Kevin Steves. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 08beeumerk-flow | convtime.h | C | bsd | 1,832 |
/*
* Copyright (c) 2002 Damien Miller. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | 08beeumerk-flow | common.h | C | bsd | 4,618 |
/* OPENBSD ORIGINAL: lib/libc/string/strlcat.c */
/* $OpenBSD: strlcat.c,v 1.11 2003/06/17 21:56:24 millert Exp $ */
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provide... | 08beeumerk-flow | strlcat.c | C | bsd | 2,012 |
/*
* Copyright 2002 Damien Miller <djm@mindrot.org> All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... | 08beeumerk-flow | netflow9.c | C | bsd | 12,460 |
# $Id$
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
datadir=@datadir@
mandir=@mandir@
sysconfdir=@sysconfdir@
srcdir=@srcdir@
top_srcdir=@top_srcdir@
VPATH=@srcdir@
CC=@CC@
LDFLAGS=@LDFLAGS@
CFLAGS=@CFLAGS@
CPPFLAGS=-I$(srcdir) @CPPFLAGS@
LIBS=@LIBS@
EXEEXT=@EXEEX... | 08beeumerk-flow | Makefile.in | Makefile | bsd | 1,614 |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | 08beeumerk-flow | install-sh | Shell | bsd | 5,586 |
/*
* Copyright 2002 Damien Miller <djm@mindrot.org> All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... | 08beeumerk-flow | softflowctl.c | C | bsd | 3,190 |
/*
* Copyright (c) 2007 Damien Miller. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | 08beeumerk-flow | freelist.h | C | bsd | 2,044 |
/*
* Copyright 2004 Damien Miller <djm@mindrot.org> All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... | 08beeumerk-flow | log.c | C | bsd | 1,798 |
/*
* Copyright 2002 Damien Miller <djm@mindrot.org> All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... | 08beeumerk-flow | softflowd.c | C | bsd | 54,302 |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id$
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
for d
do
pathcomp="$pathcomp$... | 08beeumerk-flow | mkinstalldirs | Shell | bsd | 641 |
/*
* Copyright (c) 2004 Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "A... | 08beeumerk-flow | closefrom.c | C | bsd | 2,690 |
/* OPENBSD ORIGINAL: lib/libc/string/strlcpy.c */
/* $OpenBSD: strlcpy.c,v 1.8 2003/06/17 21:56:24 millert Exp $ */
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided... | 08beeumerk-flow | strlcpy.c | C | bsd | 1,900 |
#!/bin/bash
#
# softflowd Starts softflowd NetFlow probe
# $Id$
#
# chkconfig: 2345 95 02
# description: Starts and stops the softflowd Netflow probe
# Source function library.
. /etc/init.d/functions
SOFTFLOW_CONF=/etc/sysconfig/softflowd
SOFTFLOW_LOCK=/var/lock/subsys/softflowd
SOFTFLOW_PROG=/usr/sbin/softflowd
SOF... | 08beeumerk-flow | softflowd.init | Shell | bsd | 1,111 |
/*
* Copyright 2002 Damien Miller <djm@mindrot.org> All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... | 08beeumerk-flow | treetype.h | C | bsd | 2,977 |
.\" $Id$
.\"
.\" Copyright (c) 2002 Damien Miller. All rights reserved.
.\" Portions Copyright (c) 2001 Kevin Steves. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributio... | 08beeumerk-flow | softflowd.8 | Roff Manpage | bsd | 11,910 |
/* OPENBSD ORIGINAL: lib/libc/gen/daemon.c */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistribu... | 08beeumerk-flow | daemon.c | C | bsd | 2,517 |
/*
* Copyright (c) 2002 Damien Miller. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | 08beeumerk-flow | softflowd.h | C | bsd | 7,777 |
/*
* Copyright (c) 2001 Kevin Steves. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 08beeumerk-flow | convtime.c | C | bsd | 2,233 |
/* $OpenBSD: tree.h,v 1.9 2004/11/24 18:10:42 tdeval Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions... | 08beeumerk-flow | sys-tree.h | C | bsd | 22,658 |
#include "Encrypt.h"
// if test
#if 0
#define SRC_FILE_PATH "test"
#define KEY_CODE "123485"
#define SHOW_FILE_CMD ""
#else
#define SRC_FILE_PATH argv[1]
#define DST_FILE_PATH argv[1]
#define KEY_CODE argv[2]
#define SHOW_FILE_CMD argv[3]
#endif
#define MY_DEBUG printf
int m... | 1001-data-encrypt | app/encrypt/src/my_mian.c | C | gpl3 | 1,743 |
/*
*Copyright (c) 2009,(>WangXi<)
*All rights reserved.
*File Name:XXByteStrm.h/XXByteStrm.c
*Description:This file define a SimClass for ByteStream Operation
*version:1.0
*Author:chaoswizard@163.com(>WX<)
*Create Date:Dec.14th.2009
*/
#ifndef __XBYTESTRM_H__
#define __XBYTESTRM_H__
#include "XXtypeDef.... | 1001-data-encrypt | app/encrypt/src/XXByteStrm.h | C | gpl3 | 2,105 |
#ifndef __XTYPEDEF_H__
#define __XTYPEDEF_H__
typedef unsigned char BYTE;//8 bit
typedef unsigned short WORD;//16 bit
typedef unsigned long DWORD;//32 bit
typedef unsigned int UINT;
typedef DWORD COLORREF;
typedef unsigned int HANDLE;
typedef void* HRGN;
#ifndef BOOL
#define BOO... | 1001-data-encrypt | app/encrypt/src/XXtypeDef.h | C | gpl3 | 484 |
#ifndef __MACRO_PUB_DEFINE_H__
#define __MACRO_PUB_DEFINE_H__
#include "malloc.h"
#define MALLOC(size) malloc(size)
#define FREE(ptr) free(ptr)
//==========================================================
#include "XXByteStrm.h"
#define FILE_READ(fp, buffer, len) ((fp)->Read(fp, buffer , 1, len))... | 1001-data-encrypt | app/encrypt/src/macro_pub_define.h | C | gpl3 | 814 |
#ifndef __MYENCRYPT_H__
#define __MYENCRYPT_H__
#include "macro_pub_define.h"
struct st_byte_stream *encrypt_open(const char *path, char **real_path);
int encrypt_close(struct st_byte_stream **src_stream);
int encrypt_stream(struct st_byte_stream *dest,
struct st_byte_stream *src, lon... | 1001-data-encrypt | app/encrypt/src/Encrypt.h | C | gpl3 | 405 |
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... | 101j | P6Extensions/src/insight/web/delegates/ReflectionDelegate.java | Java | gpl3 | 1,224 |
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 ... | 101j | P6Extensions/src/insight/web/delegates/AjaxJSONDelegate.java | Java | gpl3 | 2,505 |
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... | 101j | P6Extensions/src/insight/web/delegates/PrimaveraDelegate.java | Java | gpl3 | 38,494 |
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;
... | 101j | P6Extensions/src/insight/web/controllers/ProjectCodeController.java | Java | gpl3 | 3,537 |
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... | 101j | P6Extensions/src/insight/web/controllers/AddOpportunityController.java | Java | gpl3 | 24,643 |
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... | 101j | P6Extensions/src/insight/web/controllers/WorkflowController.java | Java | gpl3 | 10,799 |
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... | 101j | P6Extensions/src/insight/web/controllers/GenericController.java | Java | gpl3 | 1,243 |
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 ... | 101j | P6Extensions/src/insight/web/controllers/PrimaveraActionsController.java | Java | gpl3 | 4,702 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/Roles.java | Java | gpl3 | 2,047 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/PRCInput.java | Java | gpl3 | 1,484 |
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;
}
... | 101j | P6Extensions/src/insight/miescor/opp/domain/CodeValue.java | Java | gpl3 | 445 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/Review.java | Java | gpl3 | 10,457 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/Customer.java | Java | gpl3 | 1,295 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/WorkflowMaster.java | Java | gpl3 | 386 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/Opportunity.java | Java | gpl3 | 14,951 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/OppReport.java | Java | gpl3 | 3,737 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/Activity.java | Java | gpl3 | 1,597 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/NumberGenerator.java | Java | gpl3 | 1,215 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/WorkflowRole.java | Java | gpl3 | 1,898 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/Workflow.java | Java | gpl3 | 2,527 |
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 ... | 101j | P6Extensions/src/insight/miescor/opp/domain/ILocation.java | Java | gpl3 | 1,346 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/ICurrency.java | Java | gpl3 | 1,210 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/AssignmentGrid.java | Java | gpl3 | 1,659 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/Assignment.java | Java | gpl3 | 5,413 |
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... | 101j | P6Extensions/src/insight/miescor/opp/domain/Users.java | Java | gpl3 | 832 |
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... | 101j | P6Extensions/src/insight/miescor/annotations/Constants.java | Java | gpl3 | 3,789 |
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(... | 101j | P6Extensions/src/insight/miescor/annotations/Notebook.java | Java | gpl3 | 361 |
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... | 101j | P6Extensions/src/insight/miescor/annotations/UDF.java | Java | gpl3 | 335 |
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();
}
... | 101j | P6Extensions/src/insight/miescor/annotations/Code.java | Java | gpl3 | 321 |
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.... | 101j | P6Extensions/src/insight/miescor/db/DBManager.java | Java | gpl3 | 4,332 |
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... | 101j | P6Extensions/src/insight/miescor/db/AssignmentMapper.java | Java | gpl3 | 1,050 |
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... | 101j | P6Extensions/src/insight/p6/event/QueueReceive.java | Java | gpl3 | 8,756 |
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... | 101j | P6Extensions/src/insight/p6/event/QueueSend.java | Java | gpl3 | 3,835 |
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... | 101j | P6Extensions/src/insight/jsp/custom/taglib/CustomerSelTagHandler.java | Java | gpl3 | 1,045 |
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... | 101j | P6Extensions/src/insight/jsp/custom/taglib/ButtonTagHandler.java | Java | gpl3 | 1,325 |
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... | 101j | P6Extensions/src/insight/jsp/custom/taglib/FormTagHandler.java | Java | gpl3 | 1,468 |
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... | 101j | P6Extensions/src/insight/jsp/custom/taglib/LocationSelTagHandler.java | Java | gpl3 | 1,045 |
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... | 101j | P6Extensions/src/insight/jsp/custom/taglib/PageHeaderTagHandler.java | Java | gpl3 | 1,320 |
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... | 101j | P6Extensions/src/insight/jsp/custom/taglib/AttributeTagHandler.java | Java | gpl3 | 4,630 |
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... | 101j | P6Extensions/src/TestStub.java | Java | gpl3 | 10,718 |
<div id="locationSelDlg" class="easyui-dialog"
title="Select Location..."
style="width: 400px; height: 300px; padding: 10px"
data-options="toolbar: '#locationSel-toolbar',
buttons: '#locationSel-buttons',
closed: true">
<ul id="locationSelTree" class="easyui-tree" style="width: 200px;" data-optio... | 101j | P6Extensions/resources/locationsel.inc | HTML | gpl3 | 5,231 |
<input class="easyui-validatebox selector" type="text" name="{id}" id="{id}"
data-options="required:true" style="width: 340px; height: 20px"
readonly="true"></input>
<a id="{id}Sel" href="javascript:void(0)" class="easyui-linkbutton"
style="vertical-align: bottom"><img
src="includes/images/hierarchy.pn... | 101j | P6Extensions/resources/codetag.inc | HTML | gpl3 | 407 |
<script type="text/javascript" src="includes/js/tinymce/tinymce.min.js"></script>
<script type="text/javascript">
tinymce.init({
selector: "textarea",
plugins: [
"advlist autolink lists link image table anchor textcolor"
],
toolbar: "undo redo | bold italic | forecolor backcolor | alignle... | 101j | P6Extensions/resources/tinymce.inc | HTML | gpl3 | 489 |
<input class="easyui-numberbox"
data-options="precision:2,groupSeparator:','" name="{id}" id="{id}"
{reqStr} style="vertical-align: bottom; width: 200px;"/>
<input id="{id}Cur" class="easyui-combobox" style="width: 60px;"
data-options="valueField:'id',textField:'text',url:'loadCurrencies.htm', editable:false"/>
... | 101j | P6Extensions/resources/costtag.inc | HTML | gpl3 | 855 |
<div id="customerSelDlg" class="easyui-dialog"
title="Select Customer..."
style="width: 400px; height: 300px; padding: 10px"
data-options="toolbar: '#customerSel-toolbar',
buttons: '#customerSel-buttons',
closed: true">
<ul id="customerSelTree" class="easyui-tree"></ul>
</div>
<div id="addNew... | 101j | P6Extensions/resources/customersel.inc | HTML | gpl3 | 3,929 |
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css"
href="includes/js/jquery/themes/metro-orange/easyui.css">
<link rel="stylesheet" type="text/css"
href="includes/js/jquery/themes/icon.css">
<script type="text/javascript" src="includes/js/jquery/jquery.min.js"></script>
<script type="text/javascript"... | 101j | P6Extensions/resources/jquery.inc | HTML | gpl3 | 538 |
<%@taglib prefix="in" uri="/WEB-INF/TagDescriptor.tld"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Resource Details</title>
<in:pHeader incTiny="yes" />
<link rel="stylesheet" ... | 101j | P6Extensions/WebContent/WEB-INF/jsp/ResourceDetails.jsp | Java Server Pages | gpl3 | 1,457 |
<%@taglib prefix="in" uri="/WEB-INF/TagDescriptor.tld"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Opportunity Review</title>
<in:pHeader incTiny="yes" />
<link rel="stylesheet... | 101j | P6Extensions/WebContent/WEB-INF/jsp/LegalReview.jsp | Java Server Pages | gpl3 | 2,531 |
<%@taglib prefix="in" uri="/WEB-INF/TagDescriptor.tld"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Financial Review</title>
<in:pHeader incTiny="yes" />
<link rel="stylesheet" ... | 101j | P6Extensions/WebContent/WEB-INF/jsp/FinancialReview.jsp | Java Server Pages | gpl3 | 3,232 |
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</... | 101j | P6Extensions/WebContent/WEB-INF/jsp/pivotChart.jsp | Java Server Pages | gpl3 | 1,930 |