text stringlengths 3 1.18M |
|---|
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without eve... |
package com.myproject;
import android.content.DialogInterface;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
public class PromptListener
implements android.content.DialogInterface.OnClickListener{
public String promptReply = "abc";
public View promptView = null; // set ... |
/*
* $3 Gesture Recognizer - Implementation for Android Java
*
* (c) 2009/2010 Sven Kratz
* Deutsche Telekom Laboratories, TU Berlin
*
*/
package com.myproject;
import java.math.*;
import java.util.*;
import java.util.Map.Entry;
import android.util.*;
public class gesturerec3d extends GestureRecogniz... |
package com.myproject;
public abstract class GestureRecognizer {
public abstract String recognize_gesture(Gesture G);
public abstract Gesture prepare_gesture_for_library(Gesture g);
}
|
/*
* $3 Gesture Recognizer -- Implementation for Android Java
*
* gestureLibrary.java -- manages gestures at runtime
*
* (c) 2010 Sven Kratz
* Deutsche Telekom Laboratories, TU Berlin
*
*
* Fundamental Data Structure:
* All gestures are stored in a HasMap<String, ArrayList<Gesture>>, so lists ... |
/*
* $3 Gesture Recognizer Android Implementation
*
* DBManagerUIActivity.java -- manages Gesture Database items
*
* (c) 2010 Sven Kratz
* Deutsche Telekom Laboratories, TU Berlin
*
*/
package com.myproject;
import android.os.Bundle;
import com.myproject.R;
import android.app.Activity;
import android.ap... |
package com.myproject;
import java.util.ArrayList;
public class Gesture {
public ArrayList<float[]> gestureTrace = null;
public String gestureID = null;
public long gestureAdded = -1;
public long databaseID = -1;
public Gesture()
{
}
public Gesture(String gestureID, ArrayList<float[]> gestureTrace)
... |
package com.myproject;
import java.util.ArrayList;
import com.myproject.R;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.hardware.*;
import android.util... |
/*
* $3 Gesture Recognizer -- Implementation for Android Java
*
* gestureLibraryAdapter.java -- manages gestures in SQLite Database
*
* (c) 2010 Sven Kratz
* Deutsche Telekom Laboratories, TU Berlin
*
*
*/
package com.myproject;
// import android.app.ListActivity;
import java.io.ByteArrayInputStrea... |
/*
* $3 Gesture Recognizer Android Implementation
*
* App.java -- Saves Global App Defaults
*
* (c) 2010 Sven Kratz
* Deutsche Telekom Laboratories, TU Berlin
*
*/
package com.myproject;
public class App {
// Menu items
public static enum MENUITEMS {ITEM_LEARN, ITEM_RECOGNIZE, ITEM_LIBRARY};
// State... |
package pl.zyggy.andydeliveryman;
import android.app.Activity;
import android.os.Bundle;
public class AndyDeliveryManActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
... |
package pl.hurtdroid;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org... |
/** Copyright (C) 2009 by Aleksey Surkov.
**
** Permission to use, copy, modify, and distribute this software and its
** documentation for any purpose and without fee is hereby granted, provided
** that the above copyright notice appear in all copies and that both that
** copyright notice and this permission ... |
/** Copyright (C) 2009 by Aleksey Surkov.
**
** Permission to use, copy, modify, and distribute this software and its
** documentation for any purpose and without fee is hereby granted, provided
** that the above copyright notice appear in all copies and that both that
** copyright notice and this permission notic... |
package com.example.AndroidTuner;
import java.util.Iterator;
import java.util.Map.Entry;
import com.example.AndroidTuner.PitchDetector.FreqResult;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
public class Histogram {
private final static int MIN_AMPLITUDE... |
package com.example.AndroidTuner;
import java.lang.Runnable;
import java.lang.Thread;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent... |
package com.example.AndroidTuner;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Paint.Align;
public class PitchDrawings {
public static void drawCurrentFrequency(Canvas canvas, int x, int y, double pitch) {
final int alpha = 255;
Paint paint = new Paint();
pai... |
package com.example.AndroidTuner;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
public class Music {
public final static String[] notes = {"a", "a#", "b", "c", "c#", "d", "d#", "e", "f", "f#", "g", "g#"};
// if (A=0, A#=1, B=2...) then these are the black notes.
public sta... |
package com.example.AndroidTuner;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.locks.ReentrantLock;
import com.example.AndroidTuner.PitchDetector.PitchListener;
import android.media.AudioFormat;
import android.media.AudioRecord;
import android.media.MediaRecorder.AudioSource;
impo... |
package com.example.AndroidTuner.test;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.ShortBuffer;
import android.media.AudioFormat;
import android.media.AudioManager;
import android.media.AudioTrack;
import android.util.Log;
... |
/**
*
*/
package group.anglers.bpmn.core.local.services;
import java.util.List;
import group.anglers.bpmn.core.local.model.mappings.ProcessInstance;
import group.anglers.bpmn.core.local.models.ProcessContent;
import group.anglers.bpmn.core.local.models.ProcessPK;
import group.anglers.om.core.exceptions.OmException... |
/**
*
*/
package group.anglers.bpmn.core.local.services;
import javax.ejb.Local;
/**
* @author an.pham
*
*/
@Local
public interface ProcessArchived {
public void put(long instanceId, String content);
public String poll(long instanceId);
}
|
/**
*
*/
package group.anglers.bpmn.core.local.services;
/**
* @author an.pham
*
*/
public interface Counter {
public long generate();
}
|
/**
*
*/
package group.anglers.bpmn.core.local.model.mappings;
import java.util.Date;
import group.anglers.om.core.annotations.Column;
import group.anglers.om.core.annotations.ColumnPK;
import group.anglers.om.core.annotations.Model;
/**
* @author an.pham
*
*/
@Model(mapping = "ProcessInstance")
public class ... |
/**
*
*/
package group.anglers.bpmn.core.local.model.mappings;
import java.util.Date;
import group.anglers.om.core.annotations.Column;
import group.anglers.om.core.annotations.ColumnPK;
import group.anglers.om.core.annotations.Model;
/**
* @author an.pham
*
*/
@Model(mapping = "Task")
public class Task {
@Co... |
/**
*
*/
package group.anglers.bpmn.core.local.model.mappings;
import group.anglers.om.core.annotations.Column;
import group.anglers.om.core.annotations.ColumnPK;
import group.anglers.om.core.annotations.Model;
/**
* @author an.pham
*
*/
@Model(mapping = "Workflow")
public class Workflow {
@ColumnPK
private ... |
package group.anglers.bpmn.core.local.enums;
/**
*
* @author an.pham
*
*/
public enum ProcessState {
LATEST("LATEST")
, AGED("AGED")
, DISABLED("DISABLED");
private ProcessState(String state) {
this.state = state;
}
private String state;
public String getState() {
return state;
}
}
|
/**
*
*/
package group.anglers.bpmn.core.local.models;
import group.anglers.om.core.annotations.Column;
import group.anglers.om.core.annotations.Model;
/**
* @author an.pham
*
*/
@Model
public class ProcessContent {
@Column
private Long instanceId;
@Column
private String content;
public Long getInstanceI... |
/**
*
*/
package group.anglers.bpmn.core.local.models;
import group.anglers.om.core.annotations.Column;
import group.anglers.om.core.annotations.Model;
/**
* @author an.pham
*
*/
@Model
public class ProcessPK {
@Column
private Long instanceId;
public Long getInstanceId() {
return instanceId;
}
public ... |
/**
*
*/
package group.anglers.bpmn.general.services;
import java.util.List;
import group.anglers.bpmn.general.context.ExecutionContext;
import group.anglers.bpmn.general.ei.EIProcess;
import group.anglers.bpmn.general.errors.ArgumentException;
import group.anglers.bpmn.general.errors.UnExpectedException;
import g... |
/**
*
*/
package group.anglers.bpmn.general.errors;
import group.anglers.bpmn.general.enums.ErrorCode;
/**
* @author an.pham
*
*/
public class WorkflowException extends Exception {
/**
*
*/
private static final long serialVersionUID = -1038715081003830589L;
private ErrorCode errorCode;
public Workfl... |
/**
*
*/
package group.anglers.bpmn.general.errors;
/**
* @author an.pham
*
*/
public class ArgumentException extends Exception {
/**
*
*/
private static final long serialVersionUID = -4844205626969803264L;
public ArgumentException() {
}
public ArgumentException(String message, Throwable cause) {
... |
/**
*
*/
package group.anglers.bpmn.general.errors;
/**
* @author an.pham
*
*/
public class UnExpectedException extends Exception {
/**
*
*/
private static final long serialVersionUID = -4844205626969803264L;
public UnExpectedException() {
}
public UnExpectedException(String message, Throwable caus... |
/**
*
*/
package group.anglers.bpmn.general.context;
import java.io.Serializable;
/**
* @author an.pham
*
*/
public class ExecutionContext implements Serializable {
/**
*
*/
private static final long serialVersionUID = 473584563569076349L;
private String actorId;
private String groupId;
public Stri... |
/**
*
*/
package group.anglers.bpmn.general.enums;
/**
* @author an.pham
*
*/
public enum ErrorCode {
PROCESS_NOT_FOUND("PROCESS_NOT_FOUND");
private String code;
private ErrorCode(String code) {
this.code = code;
}
public String getCode() {
return code;
}
}
|
/**
*
*/
package group.anglers.bpmn.general.ei;
import java.io.Serializable;
/**
* @author an.pham
*
*/
public class EIProcess implements Serializable {
/**
*
*/
private static final long serialVersionUID = 5342504022600268491L;
private String name;
private double version;
private String processId;
... |
/**
*
*/
package group.anglers.bpmn.core.service.impls;
import group.anglers.bpmn.core.local.enums.ProcessState;
import group.anglers.bpmn.core.local.model.mappings.ProcessInstance;
import group.anglers.bpmn.core.local.models.ProcessContent;
import group.anglers.bpmn.core.local.models.ProcessPK;
import group.angler... |
/**
*
*/
package group.anglers.bpmn.core.service.impls;
import group.anglers.bpmn.core.local.model.mappings.ProcessInstance;
import group.anglers.bpmn.core.local.models.ProcessPK;
import group.anglers.bpmn.core.local.services.ProcessArchived;
import group.anglers.bpmn.core.local.services.ProcessLocalService;
import... |
/**
*
*/
package group.anglers.bpmn.core.service.impls;
import group.anglers.bpmn.core.local.models.ProcessContent;
import group.anglers.bpmn.core.local.services.ProcessArchived;
import group.anglers.bpmn.core.local.services.ProcessLocalService;
import group.anglers.om.core.exceptions.OmException;
import java.util... |
/**
*
*/
package group.anglers.bpmn.core.service.impls;
import group.anglers.bpmn.core.local.services.Counter;
import javax.enterprise.inject.Default;
/**
* @author an.pham
*
*/
@Default
public class CounterImpl implements Counter {
@Override
public synchronized long generate() {
return System.currentTim... |
package group.anglers.bpmn.core.enums;
/**
*
* @author an.pham
*
*/
public enum NodeType {
START("startEvent")
, END("endEvent");
private NodeType(String type) {
this.type = type;
}
private String type;
public String getType() {
return type;
}
}
|
/**
*
*/
package group.anglers.bpmn.core.factories;
import group.anglers.om.core.exceptions.OmException;
import group.anglers.om.core.persistence.Persistence;
import group.anglers.om.core.persistence.impls.JTAPersistence;
import javax.enterprise.inject.Produces;
/**
* @author an.pham
*
*/
public class Persist... |
/**
*
*/
package group.anglers.bpmn.core.workflow.impls;
/**
* @author an.pham
*
*/
class WorkflowConstants {
public static final String DEFAULT_PROCESS_NODE_PATH = "/definitions/process/";
public static final String USER_TASK_NODE = "userTask";
public static final String START_EVENT_NODE = "startEvent";
p... |
/**
*
*/
package group.anglers.bpmn.core.workflow.impls;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathConstants;
import javax.xml.xpath.XPathExpression;
import javax.xml.xpath.XPathExpressionException;
import javax.xml.xpath.... |
/**
*
*/
package group.anglers.bpmn.core.workflow;
import java.util.List;
import group.anglers.bpmn.general.context.ExecutionContext;
/**
* @author an.pham
*
*/
public interface WorkflowProcess {
public List<WorkflowContext> next(String nodeId, ExecutionContext context) throws Exception;
}
|
/**
*
*/
package group.anglers.bpmn.core.workflow;
import java.util.Map;
/**
* @author an.pham
*
*/
public class WorkflowContext {
private String nodeId;
private String name;
private String actorId;
private String groupId;
private Map<String, String> userDefinedAttrs;
public String getNodeId() {
retu... |
/**
*
*/
package group.anglers.bpmn.core.runtime;
import group.anglers.om.core.persistence.Persistence;
import java.io.InputStream;
import java.util.logging.Logger;
import javax.annotation.PostConstruct;
import javax.ejb.Singleton;
import javax.ejb.Startup;
import javax.inject.Inject;
/**
* @author an.pham
*
... |
/*
* Copyright (C) 2009 Android Shuffle Open Source Project
*
* 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... |
/*
* Copyright (C) 2009 Android Shuffle Open Source Project
*
* 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... |
package org.dodgybits.shuffle.android.synchronisation.tracks.service;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.android.core.activity.flurry.Analytics;
import org.dodgybits.shuffle.android.preference.model.Preferences;
import org.dodgybits.shuffle.android.preference.view.Progress;
import org... |
package org.dodgybits.shuffle.android.synchronisation.tracks.ssl;
import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;
import java.security.KeyManagementException;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
... |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
... |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
... |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
import org.apache.http.StatusLine;
public class WebResult {
private String mContent;
private StatusLine mStatus;
public WebResult(StatusLine status, String content) {
mStatus = status;
mContent = content;
}
public String getCo... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
import java.io.IOException;
import java.io.StringReader;
import java.io.StringWriter;
import java.util.LinkedList;
import java.util.Map;
import org.apache.http.HttpStatus;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.android.core.ac... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
import org.dodgybits.shuffle.android.preference.view.Progress;
/**
* Items that can receive updates about synchronization progress
*
* @author Morten Nielsen
*/
public interface SyncProgressListener {
void progressUpdate(Progress progress);
}
|
package org.dodgybits.shuffle.android.synchronisation.tracks;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import org.apache.http.Header;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHos... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
import java.util.Map;
import org.dodgybits.shuffle.android.core.model.Id;
import org.dodgybits.shuffle.android.synchronisation.tracks.model.TracksEntity;
public class TracksEntities<E extends TracksEntity> {
private Map<Id, E> mEntities;
... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
import java.io.IOException;
import java.io.StringWriter;
import java.util.Map;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.android.core.activity.flurry.Analytics;
import org.dodgybits.shuffle.android.core.model.EntityBuilder;
impor... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
import java.io.IOException;
import java.io.StringWriter;
import java.util.Map;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.android.core.activity.flurry.Analytics;
import org.dodgybits.shuffle.android.core.model.Context;
import org.... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
@SuppressWarnings("serial")
public class ApiException extends Exception {
public ApiException(String reason) {
super(reason);
}
public ApiException(String reason, Exception e) {
super(reason, e);
}
}
|
package org.dodgybits.shuffle.android.synchronisation.tracks;
import static org.dodgybits.shuffle.android.core.util.Constants.cFlurryTracksSyncCompletedEvent;
import static org.dodgybits.shuffle.android.core.util.Constants.cFlurryTracksSyncError;
import static org.dodgybits.shuffle.android.core.util.Constants.cFlurryT... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.