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 |
|---|---|---|---|---|---|
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_CFLAGS := -O3
LOCAL_ARM_MODE := arm
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../mupdf $(LOCAL_PATH)/../fitz
LOCAL_MODULE := fitzdraw
LOCAL_SRC_FILES := \
draw_device.c \
arch_port.c \
arch_arm.c \
draw_blend.c \
draw_glyph.c \
draw_affine... | zzyangming-szyangming | pdfview/jni/mupdf/draw/Android.mk | Makefile | gpl3 | 478 |
font_files: font_misc.c font_mono.c font_serif.c font_sans.c font_cjk.c cmap_tounicode.c cmap_cns.c cmap_gb.c cmap_japan.c cmap_korea.c
clean:
@rm -v font_misc.c font_mono.c font_serif.c font_sans.c font_cjk.c cmap_tounicode.c cmap_cns.c cmap_gb.c cmap_japan.c cmap_korea.c \
fontdump cmapdump
cmapdump: cmapdump... | zzyangming-szyangming | pdfview/jni/mupdf/pdf/APV.mk | Makefile | gpl3 | 4,661 |
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../fitz $(LOCAL_PATH)/../../freetype-overtlay/include $(LOCAL_PATH)/../../freetype/include $(LOCAL_PATH)/..
LOCAL_MODULE := pdf
LOCAL_CFLAGS := -DNOCJK -O3
LOCAL_SRC_FILES := \
apv_pdf_debug.c \
pdf_lex.c \... | zzyangming-szyangming | pdfview/jni/mupdf/pdf/Android.mk | Makefile | gpl3 | 930 |
/*
* This is a modified version of pdf_debug.c file which is part of MuPDF
* by Artifex Software, Inc.
*/
#include "fitz.h"
#include "mupdf.h"
static void (*pdf_loghandler)(const char *s) = NULL;
static int reinit_pdflog = 0;
/*
* Enable logging by setting environment variable MULOG to:
* (a)ll or a combin... | zzyangming-szyangming | pdfview/jni/mupdf/pdf/apv_pdf_debug.c | C | gpl3 | 2,748 |
#include "fitz.h"
#include <libgen.h>
#include "android/log.h"
char fz_errorbuf[150*20] = {0};
static int fz_errorlen = 0;
static int fz_errorclear = 1;
static void
fz_printerror(int type, const char *file, int line, const char *func, char *msg)
{
char buf[150];
int len;
char *s;
s = strrchr(file, '\\');
if (s... | zzyangming-szyangming | pdfview/jni/mupdf/fitz/apv_base_error.c | C | gpl3 | 1,899 |
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_CFLAGS := -O3
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
LOCAL_CFLAGS += -DJDCT_FASTEST=JDCT_FLOAT
endif
LOCAL_ARM_MODE := arm
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../mupdf $(LOCAL_PATH)/../../jpeg \
$(LOCAL_PATH)/../../freetype-overlay/include $(LOCAL_PATH)/../.... | zzyangming-szyangming | pdfview/jni/mupdf/fitz/Android.mk | Makefile | gpl3 | 1,028 |
include $(call all-subdir-makefiles)
| zzyangming-szyangming | pdfview/jni/mupdf/Android.mk | Makefile | gpl3 | 37 |
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
LOCAL_MODULE := jbig2dec
LOCAL_CFLAGS := -O3 -DHAVE_CONFIG_H
LOCAL_SRC_FILES := \
jbig2.c \
jbig2_arith.c \
jbig2_arith_iaid.c \
jbig2_arith_int.c \
jbig2_generic.c \
jbig2_halftone.c \
jbig2_huffman.c \
jbig2_image.c \
jbig2_image_pbm.... | zzyangming-szyangming | pdfview/jni/jbig2dec/Android.mk | Makefile | gpl3 | 582 |
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H
/* Define if the local libc includes getopt_long() */
#define HAVE_GETOPT_LONG
/* D... | zzyangming-szyangming | pdfview/jni/jbig2dec/config.h | C | gpl3 | 3,143 |
#
# Makefile
#
# Author: Lasse Collin <lasse.collin@tukaani.org>
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
CC = gcc -std=gnu89
BCJ_CPPFLAGS = -DXZ_DEC_X86 -DXZ_DEC_POWERPC -DXZ_DEC_IA64 \
-DXZ_DEC_ARM -DXZ_DEC_ARMTHUMB -DXZ_DEC_SPARC
CFLAGS = -ggdb3 -O2 -peda... | zzyangming-szyangming | pdfview/jni/xzx/Makefile | Makefile | gpl3 | 1,286 |
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_LDLIBS := -llog
LOCAL_MODULE := xzx
LOCAL_SRC_FILES := jnixz.c xz_crc32.c xz_dec_stream.c xz_dec_lzma2.c xz_dec_bcj.c
LOCAL_CFLAGS := -DXZ_DEC_X86 -DXZ_DEC_POWERPC -DXZ_DEC_IA64 -DXZ_DEC_ARM -DXZ_DEC_ARMTHUMB -DXZ_DEC_SPARC
include $(BUILD_SHARED_LIBRARY)
| zzyangming-szyangming | pdfview/jni/xzx/Android.mk | Makefile | gpl3 | 317 |
APP_MODULES := pdf fitz fitzdraw jpeg pdfview2 jbig2dec openjpeg
APP_OPTIM := release
APP_ABI := armeabi-v7a armeabi
| zzyangming-szyangming | pdfview/jni/Application.mk | Makefile | gpl3 | 117 |
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
LOCAL_MODULE := freetype
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../freetype-overlay/include $(LOCAL_PATH)/include
LOCAL_LDLIBS := -lz
LOCAL_CFLAGS := -DFT2_BUILD_LIBRARY -O3
LOCAL_SRC_FILES := \
src/base/ftsystem.c \
src/base/ftini... | zzyangming-szyangming | pdfview/jni/freetype/Android.mk | Makefile | gpl3 | 1,268 |
/*
* jconfig.txt
*
* Copyright (C) 1991-1994, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file documents the configuration options that are required to
* customize the JPEG software for a parti... | zzyangming-szyangming | pdfview/jni/jpeg/jconfig.h | C | gpl3 | 5,372 |
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
LOCAL_CFLAGS := -DJDCT_DEFAULT=JDCT_FLOAT
else
LOCAL_CFLAGS:= -DJDCT_DEFAULT=JDCT_IFAST
endif
LOCAL_MODULE := jpeg
LOCAL_SRC_FILES := jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
... | zzyangming-szyangming | pdfview/jni/jpeg/Android.mk | Makefile | gpl3 | 844 |
include $(call all-subdir-makefiles)
| zzyangming-szyangming | pdfview/jni/Android.mk | Makefile | gpl3 | 38 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>GNU General Public License v3.0 - GNU Project - Free Software Foundation (FSF)</title>
<link rel="alternate" type="application/rdf+xml"
href="http:/... | zzyangming-szyangming | license.html | HTML | gpl3 | 38,296 |
#!/bin/bash
set -e # fail early
VERS="$1"
[ -n "$VERS" ] && VERS="${VERS}_"
function die() {
echo "Error: " $*
echo
echo "USage: $0 <version>"
echo "Automatically sign [A-Z].apk"
exit 1
}
[ -z "$1" ] && die
shopt -s extglob # extended glob pattern
function process() {
SRC="$1"
BASE="${SRC/.apk/}"
... | zzacharjasz-asd | distrib/_sign.sh | Shell | gpl3 | 1,533 |
<!--
* Project: Timeriffic
* Copyright (C) 2009 ralfoide gmail com,
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any... | zzacharjasz-asd | 24ClockWidget/assets/intro.html | HTML | gpl3 | 3,250 |
/*
* Project: Timeriffic
* Copyright (C) 2009 ralfoide gmail com,
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any l... | zzacharjasz-asd | 24ClockWidget/src/com/alfray/a24clock/stats/AgentWrapper.java | Java | gpl3 | 3,646 |
/*
* Project: 24ClockWidget
* Copyright (C) 2009 ralfoide gmail com,
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) an... | zzacharjasz-asd | 24ClockWidget/src/com/alfray/a24clock/prefs/PrefsValues.java | Java | gpl3 | 5,312 |
/*
* Project: 24ClockWidget
* Copyright (C) 2009 ralfoide gmail com,
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) an... | zzacharjasz-asd | 24ClockWidget/src/com/alfray/a24clock/prefs/ClockPrefsUI.java | Java | gpl3 | 23,930 |
/*
* Project: Timeriffic
* Copyright (C) 2008 ralfoide gmail com,
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any l... | zzacharjasz-asd | 24ClockWidget/src/com/alfray/a24clock/IntroActivity.java | Java | gpl3 | 8,813 |
/*
* Project: 24ClockWidget
* Copyright (C) 2009 ralfoide gmail com,
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) an... | zzacharjasz-asd | 24ClockWidget/src/com/alfray/a24clock/ClockApp.java | Java | gpl3 | 18,804 |
/*
* Project: 24ClockWidget
* Copyright (C) 2009 ralfoide gmail com,
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) an... | zzacharjasz-asd | 24ClockWidget/src/com/alfray/a24clock/BaseThread.java | Java | gpl3 | 3,347 |
/*
* Project: 24ClockWidget
* Copyright (C) 2009 ralfoide gmail com,
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) an... | zzacharjasz-asd | 24ClockWidget/src/com/alfray/a24clock/ClockWidgetReceiver.java | Java | gpl3 | 3,822 |
/*
* Project: 24ClockWidget
* Copyright (C) 2009 ralfoide gmail com,
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) an... | zzacharjasz-asd | 24ClockWidget/src/com/alfray/a24clock/ClockService.java | Java | gpl3 | 5,691 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code m... | zzg0078426-betterperformance-v8 | poly2tri/poly2tri.h | C | bsd | 1,721 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code mu... | zzg0078426-betterperformance-v8 | poly2tri/sweep/advancing_front.h | C++ | bsd | 2,928 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code mu... | zzg0078426-betterperformance-v8 | poly2tri/sweep/sweep_context.cc | C++ | bsd | 5,241 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of sourc... | zzg0078426-betterperformance-v8 | poly2tri/sweep/sweep.cc | C++ | bsd | 22,841 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code mu... | zzg0078426-betterperformance-v8 | poly2tri/sweep/advancing_front.cc | C++ | bsd | 3,182 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of sour... | zzg0078426-betterperformance-v8 | poly2tri/sweep/cdt.h | C++ | bsd | 2,709 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of sourc... | zzg0078426-betterperformance-v8 | poly2tri/sweep/sweep_context.h | C++ | bsd | 4,255 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of sour... | zzg0078426-betterperformance-v8 | poly2tri/sweep/cdt.cc | C++ | bsd | 2,310 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code mu... | zzg0078426-betterperformance-v8 | poly2tri/common/shapes.h | C++ | bsd | 7,456 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code m... | zzg0078426-betterperformance-v8 | poly2tri/common/shapes.cc | C++ | bsd | 9,126 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of sour... | zzg0078426-betterperformance-v8 | poly2tri/common/utils.h | C++ | bsd | 3,174 |
/*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of sourc... | zzg0078426-betterperformance-v8 | testbed/main.cc | C++ | bsd | 11,710 |
#! /usr/bin/env python
# encoding: utf-8
# waf 1.6.2
VERSION='0.3.3'
import sys
APPNAME='p2t'
top = '.'
out = 'build'
CPP_SOURCES = ['poly2tri/common/shapes.cc',
'poly2tri/sweep/cdt.cc',
'poly2tri/sweep/advancing_front.cc',
'poly2tri/sweep/sweep_context.cc',
... | zzg0078426-betterperformance-v8 | wscript | Python | bsd | 1,162 |
package com.zyeeda.framework.tomcat;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.ServletException;
import org.apache.catalina.connector.Request;
import org.apache.catalina.connector.Response;
import org.apache.catalina.valves.ValveBase;
... | zyeeda-framework | tomcat/src/main/java/com/zyeeda/framework/tomcat/UrlSessionTrackingValve.java | Java | asf20 | 1,316 |
package com.zyeeda.framework.unittest.services;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import javax.servlet.RequestDispatcher;
import javax.servlet.Servlet;
... | zyeeda-framework | core/src/test/java/com/zyeeda/framework/unittest/services/ServletContextMock.java | Java | asf20 | 2,810 |
package com.zyeeda.framework.nosql;
import com.mongodb.DB;
import com.mongodb.Mongo;
import com.zyeeda.framework.service.Service;
public interface MongoDbService extends Service {
public Mongo getMongo();
public DB getDefaultDatabase();
public DB getDatabase(String name);
}
| zyeeda-framework | core/src/main/java/com/zyeeda/framework/nosql/MongoDbService.java | Java | asf20 | 302 |
package com.zyeeda.framework.nosql.internal;
import org.apache.commons.configuration.Configuration;
import org.apache.tapestry5.ioc.annotations.Marker;
import org.apache.tapestry5.ioc.annotations.Primary;
import org.apache.tapestry5.ioc.annotations.ServiceId;
import org.apache.tapestry5.ioc.services.RegistryShut... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/nosql/internal/DefaultMongoDbServiceProvider.java | Java | asf20 | 3,249 |
package com.zyeeda.framework.ioc;
import org.apache.tapestry5.ioc.ServiceBinder;
import org.apache.tapestry5.ioc.annotations.Primary;
import org.apache.tapestry5.ioc.annotations.Startup;
import com.zyeeda.framework.account.AccountService;
import com.zyeeda.framework.account.internal.SystemAccountServicePro... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/ioc/FrameworkModule.java | Java | asf20 | 5,306 |
package com.zyeeda.framework.ioc;
import java.util.HashSet;
import java.util.Set;
import org.apache.shiro.util.CollectionUtils;
import org.apache.tapestry5.ioc.def.ContributionDef;
import org.apache.tapestry5.ioc.def.DecoratorDef;
import org.apache.tapestry5.ioc.def.ModuleDef;
import org.apache.tapestry5.ioc.def.Serv... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/ioc/CustomModuleDef.java | Java | asf20 | 1,044 |
// Copyright 2011, Zyeeda, Inc. All Rights Reserved.
// Confidential and Proprietary Information of Zyeeda, Inc.
package com.zyeeda.framework.account;
import java.util.Map;
import com.zyeeda.framework.service.Service;
/**
* account support service
*
* @author Qi Zhao
* @date 2011-06-15
*
* @LastChanged
* @L... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/account/AccountService.java | Java | asf20 | 566 |
// Copyright 2011, Zyeeda, Inc. All Rights Reserved.
// Confidential and Proprietary Information of Zyeeda, Inc.
package com.zyeeda.framework.account.internal;
import java.util.Iterator;
import java.util.Map;
import java.util.HashMap;
import org.apache.commons.configuration.Configuration;
import org.apache.tapestry5... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/account/internal/SystemAccountServiceProvider.java | Java | asf20 | 1,725 |
package com.zyeeda.framework.persistence;
import java.util.Date;
import org.hibernate.event.PreInsertEvent;
import org.hibernate.event.PreInsertEventListener;
import org.hibernate.event.PreUpdateEvent;
import org.hibernate.event.PreUpdateEventListener;
import com.zyeeda.framework.entities.base.RevisionDomai... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/persistence/AutoRevisionEventListener.java | Java | asf20 | 1,480 |
package com.zyeeda.framework.persistence.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
import java.lang.annotation.RetentionPolicy;
@Target({ElementType.PARAMETER, ElementType.FIELD})
@Retention(... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/persistence/annotations/DroolsTask.java | Java | asf20 | 391 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* 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... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/persistence/internal/DefaultPersistenceServiceProvider.java | Java | asf20 | 3,801 |
package com.zyeeda.framework.persistence.internal;
import org.apache.tapestry5.ioc.annotations.Marker;
import org.apache.tapestry5.ioc.annotations.ServiceId;
import org.apache.tapestry5.ioc.services.RegistryShutdownHub;
import org.hibernate.ejb.Ejb3Configuration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/persistence/internal/DroolsTaskPersistenceServiceProvider.java | Java | asf20 | 1,405 |
package com.zyeeda.framework.persistence.internal;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import org.apache.tapestry5.ioc.services.RegistryShutdownHub;
import org.slf4j.Logger;
import com.zyeeda.framework.persistence.PersistenceService;
import com.zyeeda.framework.serv... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/persistence/internal/AbstractPersistenceServiceProvider.java | Java | asf20 | 4,244 |
package com.zyeeda.framework.persistence;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import com.zyeeda.framework.service.Service;
public interface PersistenceService extends Service {
public EntityManagerFactory getSessionFactory();
public EntityManager openSession();... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/persistence/PersistenceService.java | Java | asf20 | 401 |
package com.zyeeda.framework.ws;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import ... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/ws/UserService.java | Java | asf20 | 21,311 |
package com.zyeeda.framework.ws;
import javax.servlet.ServletContext;
import javax.ws.rs.Path;
import javax.ws.rs.core.Context;
import com.zyeeda.framework.ws.base.ResourceService;
@Path("/permission")
public class PermissionService extends ResourceService{
public PermissionService(@Context ServletContext... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/ws/PermissionService.java | Java | asf20 | 352 |
package com.zyeeda.framework.ws;
import java.util.Collections;
import java.util.List;
import javax.servlet.ServletContext;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/ws/DictionaryService.java | Java | asf20 | 2,130 |
package com.zyeeda.framework.ws;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.DELETE;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import jav... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/ws/DepartmentService.java | Java | asf20 | 25,297 |
package com.zyeeda.framework.ws;
import java.util.ArrayList;
import java.util.List;
import com.zyeeda.framework.entities.Document;
import com.zyeeda.framework.utils.DatetimeUtils;
import com.zyeeda.framework.viewmodels.DocumentVo;
import com.zyeeda.framework.viewmodels.DocumentsVo;
public class DocumentSer... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/ws/DocumentServiceHelper.java | Java | asf20 | 1,331 |
package com.zyeeda.framework.ws;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.servlet.ServletContext;
import javax.ws.rs.DELETE;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
im... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/ws/RoleService.java | Java | asf20 | 15,783 |
package com.zyeeda.framework.ws;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletContext;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
import com.zyeeda.framework.entities.T... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/ws/TestService.java | Java | asf20 | 1,213 |
package com.zyeeda.framework.ws;
import javax.servlet.ServletContext;
import javax.ws.rs.FormParam;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.Context;
import co... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/ws/DefaultUserService.java | Java | asf20 | 3,113 |
package com.zyeeda.framework.ws.base;
import javax.servlet.ServletContext;
import org.apache.tapestry5.ioc.Registry;
import com.zyeeda.framework.FrameworkConstants;
import com.zyeeda.framework.ftp.FtpService;
import com.zyeeda.framework.ftp.internal.CommonsFtpServiceProvider;
import com.zyeeda.framework.kno... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/ws/base/ResourceService.java | Java | asf20 | 3,031 |
package com.zyeeda.framework.ws;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletContext;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.xml... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/ws/AuthService.java | Java | asf20 | 5,150 |
package com.zyeeda.framework.ws;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import javax.servlet.ServletContext;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.xml.xpath.X... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/ws/MenuService.java | Java | asf20 | 3,280 |
package com.zyeeda.framework.ws;
import static com.zyeeda.framework.ws.DocumentServiceHelper.document2Vo;
import static com.zyeeda.framework.ws.DocumentServiceHelper.documentList2Vo;
import java.io.IOException;
import java.io.InputStream;
import java.net.URLConnection;
import java.util.ArrayList;
import ja... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/ws/DocumentService.java | Java | asf20 | 13,560 |
package com.zyeeda.framework.aop;
import javax.servlet.ServletContext;
import javax.transaction.Status;
import javax.transaction.UserTransaction;
import org.apache.tapestry5.ioc.Registry;
import org.aspectj.lang.annotation.SuppressAjWarnings;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.zyeeda... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/aop/TransactionManagementAspect.aj | AspectJ | asf20 | 1,855 |
package com.zyeeda.framework.aop;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Transactional {
}
| zyeeda-framework | core/src/main/java/com/zyeeda/framework/aop/Transactional.java | Java | asf20 | 310 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* 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... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/service/Service.java | Java | asf20 | 953 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* 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... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/service/ServiceState.java | Java | asf20 | 1,091 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* 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... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/service/AbstractService.java | Java | asf20 | 2,576 |
package com.zyeeda.framework.managers;
import com.googlecode.genericdao.dao.jpa.GenericDAO;
import com.zyeeda.framework.entities.Dictionary;
public interface DictionaryManager extends GenericDAO<Dictionary, String> {
public Dictionary getDictionaryByTypeAndName(String name);
}
| zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/DictionaryManager.java | Java | asf20 | 295 |
package com.zyeeda.framework.managers;
public class DocumentException extends Exception {
private static final long serialVersionUID = -7159687624749433311L;
public DocumentException(String message) {
super(message);
}
public DocumentException(Throwable t) {
super(t);
}
}
| zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/DocumentException.java | Java | asf20 | 304 |
package com.zyeeda.framework.managers;
import java.util.List;
import com.zyeeda.framework.entities.Department;
public interface DepartmentManager {
public void persist(Department dept) throws UserPersistException;
public Department findById(String id) throws UserPersistException;
public void remo... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/DepartmentManager.java | Java | asf20 | 878 |
package com.zyeeda.framework.managers;
public class UserPersistException extends Exception {
private static final long serialVersionUID = 8402227533625324307L;
public UserPersistException() {}
public UserPersistException(String message) {
super(message);
}
public UserPersistException(Throwabl... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/UserPersistException.java | Java | asf20 | 351 |
package com.zyeeda.framework.managers;
import java.util.List;
import com.googlecode.genericdao.dao.jpa.GenericDAO;
import com.zyeeda.framework.entities.ActionHistory;
public interface ActionHistoryManager extends GenericDAO<ActionHistory, String> {
public ActionHistory findAlive(Long processInsId);
p... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/ActionHistoryManager.java | Java | asf20 | 537 |
package com.zyeeda.framework.managers;
import com.googlecode.genericdao.dao.jpa.GenericDAO;
import com.zyeeda.framework.entities.ProcessHistory;
public interface ProcessHistoryManager extends GenericDAO<ProcessHistory, String> {
public ProcessHistory findByProcessInstanceId(Long processInstanceId);
}
| zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/ProcessHistoryManager.java | Java | asf20 | 318 |
package com.zyeeda.framework.managers;
import java.io.IOException;
import java.util.List;
import javax.xml.xpath.XPathExpressionException;
import com.zyeeda.framework.viewmodels.PermissionVo;
public interface PermissionManager {
public List<PermissionVo> findSubPermissionById(String id, String authXml) ... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/PermissionManager.java | Java | asf20 | 1,089 |
package com.zyeeda.framework.managers.internal;
import com.googlecode.genericdao.search.Search;
import com.zyeeda.framework.entities.ProcessHistory;
import com.zyeeda.framework.managers.ProcessHistoryManager;
import com.zyeeda.framework.managers.base.DomainEntityManager;
import com.zyeeda.framework.persistence.P... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/internal/DefaultProcessHistoryManager.java | Java | asf20 | 804 |
// Copyright 2011, Zyeeda, Inc. All Rights Reserved.
// Confidential and Proprietary Information of Zyeeda, Inc.
package com.zyeeda.framework.managers.internal;
import java.util.ArrayList;
import java.util.List;
import javax.naming.NamingEnumeration;
import javax.naming.NamingException;
import javax.naming.directory... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/internal/SystemAccountManager.java | Java | asf20 | 4,700 |
package com.zyeeda.framework.managers.internal;
import com.googlecode.genericdao.search.Search;
import com.zyeeda.framework.managers.DictionaryManager;
import com.zyeeda.framework.entities.Dictionary;
import com.zyeeda.framework.managers.base.DomainEntityManager;
import com.zyeeda.framework.persistence.Persi... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/internal/DefaultDictionaryManager.java | Java | asf20 | 886 |
package com.zyeeda.framework.managers.internal;
import java.io.UnsupportedEncodingException;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import javax.naming.NamingException;
import javax.naming.directory.Attributes;
import javax.naming.directory.BasicAttribute;
import... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/internal/LdapUserManager.java | Java | asf20 | 13,601 |
package com.zyeeda.framework.managers.internal;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import javax.naming.NamingException;
import javax.naming.directory.Attributes;
import javax.naming.directory.BasicAttributes;
import javax.naming.directory.SearchControls;
im... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/internal/LdapDepartmentManager.java | Java | asf20 | 8,965 |
package com.zyeeda.framework.managers.internal;
import java.util.Date;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.mongodb.gridfs.GridFS;
import com.mongodb.gridfs.GridFSDBFile;
import com.mongodb.gridfs.GridFSFile;
import com.zyeeda.framework.entities.Document;
public class Mong... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/internal/MongoDbDocumentManagerHelper.java | Java | asf20 | 3,813 |
package com.zyeeda.framework.managers.internal;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Query;
import javax.persistence.TypedQuery;
import com.googlecode.genericdao.search.Search;
import com.zyeeda.framework.entities.ActionHistory;
import ... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/internal/DefaultActionHistoryManager.java | Java | asf20 | 2,168 |
package com.zyeeda.framework.managers.internal;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import javax.xml.xpath.XPathExpressionException;
import com.zyeeda.framework.managers.MenuManag... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/internal/DefaultMenuManager.java | Java | asf20 | 3,457 |
package com.zyeeda.framework.managers.internal;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.persistence.TypedQuery;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.zyeeda.framework.entities.Role;
import com.zyeeda... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/internal/DefaultRoleManager.java | Java | asf20 | 4,421 |
package com.zyeeda.framework.managers.internal;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.xml.xpath.XPath;
import javax.xm... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/internal/DefaultPermissionManager.java | Java | asf20 | 10,291 |
package com.zyeeda.framework.managers.internal;
import java.util.List;
import javax.naming.directory.SearchControls;
import com.zyeeda.framework.entities.User;
import com.zyeeda.framework.managers.UserManager;
import com.zyeeda.framework.managers.UserPersistException;
import com.zyeeda.framework.managers.ba... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/internal/DefaultUserManager.java | Java | asf20 | 2,521 |
package com.zyeeda.framework.managers.internal;
import static com.zyeeda.framework.managers.internal.MongoDbDocumentManagerHelper.document2GridFSFile;
import static com.zyeeda.framework.managers.internal.MongoDbDocumentManagerHelper.gridFSDBFile2Document;
import java.io.InputStream;
import java.util.ArrayList;
... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/internal/MongoDbDocumentManager.java | Java | asf20 | 15,844 |
package com.zyeeda.framework.managers;
import java.util.List;
import com.googlecode.genericdao.dao.jpa.GenericDAO;
import com.zyeeda.framework.entities.Role;
import com.zyeeda.framework.viewmodels.RoleVo;
import com.zyeeda.framework.viewmodels.UserVo;
public interface RoleManager extends GenericDAO<Role, St... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/RoleManager.java | Java | asf20 | 619 |
package com.zyeeda.framework.managers.base;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.lang.reflect.ParameterizedType;
import java.util.LinkedHashMap;
import javax.persistence.EmbeddedId;
import javax.persistence.Enti... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/base/DomainEntityManager.java | Java | asf20 | 3,507 |
package com.zyeeda.framework.managers;
import java.io.IOException;
import java.util.List;
import javax.xml.xpath.XPathExpressionException;
import com.zyeeda.framework.viewmodels.MenuVo;
public interface MenuManager {
public List<MenuVo> getMenuListByPermissionAuth(List<String> authList) throws XPathEx... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/MenuManager.java | Java | asf20 | 361 |
package com.zyeeda.framework.managers;
import java.util.List;
import com.zyeeda.framework.entities.Document;
public interface DocumentManager {
public void persist(Document doc);
public Document findById(String id, boolean includeContent);
public Document findByIdAndFileName(String id, String ... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/DocumentManager.java | Java | asf20 | 1,753 |
// Copyright 2011, Zyeeda, Inc. All Rights Reserved.
// Confidential and Proprietary Information of Zyeeda, Inc.
package com.zyeeda.framework.managers;
import java.util.List;
import com.zyeeda.framework.entities.Account;
/**
* account manager
*
* @author Qi Zhao
* @date 2011-06-15
*
* @LastChanged
* @LastC... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/AccountManager.java | Java | asf20 | 820 |
package com.zyeeda.framework.managers;
import java.util.List;
import javax.naming.directory.SearchControls;
import com.zyeeda.framework.entities.User;
public interface UserManager {
public void persist(User user) throws UserPersistException;
public void remove(String id) throws UserPersistException... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/managers/UserManager.java | Java | asf20 | 1,112 |
/*
* Copyright 2010 Zyeeda Co. Ltd.
*
* 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... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/helpers/TemplateHelper.java | Java | asf20 | 2,054 |
// Copyright 2011, Zyeeda, Inc. All Rights Reserved.
// Confidential and Proprietary Information of Zyeeda, Inc.
package com.zyeeda.framework.helpers;
import java.util.ArrayList;
import java.util.List;
import javax.naming.NamingEnumeration;
import javax.naming.NamingException;
import javax.naming.directory.Attribute... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/helpers/AccountHelper.java | Java | asf20 | 2,915 |
package com.zyeeda.framework.knowledge;
import org.drools.runtime.StatefulKnowledgeSession;
public interface StatefulSessionCommand<T> {
public T execute(StatefulKnowledgeSession ksession);
public int getSessionId();
}
| zyeeda-framework | core/src/main/java/com/zyeeda/framework/knowledge/StatefulSessionCommand.java | Java | asf20 | 231 |
package com.zyeeda.framework.knowledge;
import org.drools.KnowledgeBase;
import org.drools.task.service.TaskService;
import com.zyeeda.framework.service.Service;
public interface KnowledgeService extends Service {
public KnowledgeBase getKnowledgeBase();
public TaskService getTaskService();
publ... | zyeeda-framework | core/src/main/java/com/zyeeda/framework/knowledge/KnowledgeService.java | Java | asf20 | 397 |