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 |
|---|---|---|---|---|---|
package org.dodgybits.shuffle.android.list.view;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.LinearLayout... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/view/ButtonBar.java | Java | asf20 | 2,685 |
/*
* 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... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/view/TaskView.java | Java | asf20 | 6,816 |
/*
* 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... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/view/ItemView.java | Java | asf20 | 1,028 |
/*
* 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... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/view/ExpandableContextView.java | Java | asf20 | 979 |
/*
* 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... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/view/ExpandableProjectView.java | Java | asf20 | 979 |
/*
* 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... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/view/SwipeListItemListener.java | Java | asf20 | 764 |
/*
* 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... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/config/DrilldownListConfig.java | Java | asf20 | 1,029 |
package org.dodgybits.shuffle.android.list.config;
import android.content.ContextWrapper;
import com.google.inject.Inject;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.android.core.model.Context;
import org.dodgybits.shuffle.android.core.model.Id;
import org.dodgybits.shuffle.android.core.model... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/config/ContextTasksListConfig.java | Java | asf20 | 1,955 |
package org.dodgybits.shuffle.android.list.config;
import android.content.ContextWrapper;
import com.google.inject.Inject;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.android.core.model.Context;
import org.dodgybits.shuffle.android.core.model.Id;
import org.dodgybits.shuffle.android.core.model... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/config/ProjectTasksListConfig.java | Java | asf20 | 2,155 |
/*
* 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... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/config/ExpandableListConfig.java | Java | asf20 | 1,821 |
package org.dodgybits.shuffle.android.list.config;
import static org.dodgybits.shuffle.android.core.model.persistence.selector.Flag.yes;
import java.util.HashMap;
import org.dodgybits.shuffle.android.core.model.persistence.selector.TaskSelector;
import org.dodgybits.shuffle.android.core.model.persistence.selector.Ta... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/config/StandardTaskQueries.java | Java | asf20 | 4,096 |
/*
* 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... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/config/ListConfig.java | Java | asf20 | 1,566 |
package org.dodgybits.shuffle.android.list.config;
import android.content.ContextWrapper;
import com.google.inject.Inject;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.android.core.model.persistence.TaskPersister;
import org.dodgybits.shuffle.android.core.model.persistence.selector.Flag;
import... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/config/DueActionsListConfig.java | Java | asf20 | 2,276 |
/*
* 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... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/config/ContextListConfig.java | Java | asf20 | 3,961 |
/*
* 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... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/config/AbstractTaskListConfig.java | Java | asf20 | 3,373 |
/*
* 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... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/config/ContextExpandableListConfig.java | Java | asf20 | 3,542 |
package org.dodgybits.shuffle.android.list.config;
import org.dodgybits.shuffle.android.core.model.Task;
import org.dodgybits.shuffle.android.core.model.persistence.TaskPersister;
import org.dodgybits.shuffle.android.core.model.persistence.selector.TaskSelector;
import org.dodgybits.shuffle.android.preference.model.Li... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/config/TaskListConfig.java | Java | asf20 | 595 |
/*
* 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... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/config/ProjectListConfig.java | Java | asf20 | 3,821 |
/*
* 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... | 115371172-shuffle | client/src/org/dodgybits/shuffle/android/list/config/ProjectExpandableListConfig.java | Java | asf20 | 3,679 |
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff31507\deff0\stshfdbch31505\stshfloch31506\stshfhich31506\stshfbi31507\deflang1053\deflangfe1053\themelang1053\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02... | 115371172-shuffle | client/docs/manual.rtf | Rich Text Format | asf20 | 59,942 |
package org.dodgybits.shuffle.web.client.formatter;
import java.util.Date;
import org.dodgybits.shuffle.web.client.model.TaskValue;
import com.google.gwt.i18n.client.DateTimeFormat;
public class ActionDateFormatter {
private DateTimeFormat dateFormat;
public ActionDateFormatter() {
dateFormat = DateTimeForma... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/formatter/ActionDateFormatter.java | Java | asf20 | 930 |
package org.dodgybits.shuffle.web.client;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.resources.client.CssResource;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.uibinder.client.Ui... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/Navigation.java | Java | asf20 | 1,342 |
package org.dodgybits.shuffle.web.client.gin;
import org.dodgybits.shuffle.web.client.formatter.ActionDateFormatter;
import org.dodgybits.shuffle.web.client.model.LoginInfo;
import com.google.gwt.event.shared.HandlerManager;
import com.google.gwt.inject.client.AbstractGinModule;
import com.google.inject.Singleton;
p... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/gin/ShuffleGinModule.java | Java | asf20 | 626 |
package org.dodgybits.shuffle.web.client.gin;
import org.dodgybits.shuffle.web.client.Main;
import com.google.gwt.inject.client.Ginjector;
public interface ShuffleGinjector extends Ginjector {
Main getMain();
}
| 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/gin/ShuffleGinjector.java | Java | asf20 | 215 |
package org.dodgybits.shuffle.web.client;
import com.google.gwt.user.client.ui.ResizeComposite;
import com.google.inject.Inject;
public class CentrePanel extends ResizeComposite {
TaskList taskList;
@Inject
public CentrePanel(TaskList taskList) {
this.taskList = taskList;
initWidget(taskList);... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/CentrePanel.java | Java | asf20 | 328 |
/*
* 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 writing, software
* distributed... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/TopPanel.java | Java | asf20 | 2,640 |
package org.dodgybits.shuffle.web.client;
import com.google.gwt.i18n.client.Constants;
import com.google.gwt.i18n.client.LocalizableResource.DefaultLocale;
@DefaultLocale("en") // not required since this is the default
public interface ShuffleConstants extends Constants {
@DefaultStringValue("Sign In")
String... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/ShuffleConstants.java | Java | asf20 | 389 |
body, table {
font-size: small;
}
body {
font-family: Helvetica, Arial, sans-serif;
color: #000;
background: #fff;
}
a:link, a:visited, a:hover, a:active {
color: #000;
}
/* Dialog boxes */
.dialogTopLeftInner, .dialogMiddleLeftInner, .dialogBottomLeftInner,
.dialogTopRightInner, .dialogMiddleRightInner, .di... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/global.css | CSS | asf20 | 1,427 |
package org.dodgybits.shuffle.web.client.service;
import java.io.Serializable;
public class NotLoggedInException extends Exception implements Serializable {
public NotLoggedInException() {
super();
}
public NotLoggedInException(String message) {
super(message);
}
}
| 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/service/NotLoggedInException.java | Java | asf20 | 287 |
package org.dodgybits.shuffle.web.client.service;
import org.dodgybits.shuffle.web.client.model.LoginInfo;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
@RemoteServiceRelativePath("login")
public interface LoginService extends RemoteService {
... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/service/LoginService.java | Java | asf20 | 365 |
package org.dodgybits.shuffle.web.client.service;
import org.dodgybits.shuffle.web.client.model.LoginInfo;
import com.google.gwt.user.client.rpc.AsyncCallback;
public interface LoginServiceAsync {
public void login(String requestUri, AsyncCallback<LoginInfo> async);
}
| 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/service/LoginServiceAsync.java | Java | asf20 | 274 |
package org.dodgybits.shuffle.web.client.service;
import java.util.ArrayList;
import org.dodgybits.shuffle.web.client.model.TaskFilter;
import org.dodgybits.shuffle.web.client.model.TaskOrdering;
import org.dodgybits.shuffle.web.client.model.TaskValue;
import com.google.gwt.user.client.rpc.RemoteService;
import com.... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/service/TaskService.java | Java | asf20 | 712 |
package org.dodgybits.shuffle.web.client.service;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.rpc.AsyncCallback;
public abstract class ErrorHandlingAsyncCallback<T>
implements AsyncCallback<T> {
@Override
public void onFailure(Throwable caught) {
Window.alert(caught.getMessage()... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/service/ErrorHandlingAsyncCallback.java | Java | asf20 | 329 |
package org.dodgybits.shuffle.web.client.service;
import java.util.ArrayList;
import org.dodgybits.shuffle.web.client.model.TaskFilter;
import org.dodgybits.shuffle.web.client.model.TaskOrdering;
import org.dodgybits.shuffle.web.client.model.TaskValue;
import com.google.gwt.user.client.rpc.AsyncCallback;
public int... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/service/TaskServiceAsync.java | Java | asf20 | 599 |
package org.dodgybits.shuffle.web.client;
import java.util.ArrayList;
import java.util.Date;
import org.dodgybits.shuffle.web.client.command.GetTasksCommand;
import org.dodgybits.shuffle.web.client.command.SaveTaskCommand;
import org.dodgybits.shuffle.web.client.formatter.ActionDateFormatter;
import org.dodgybits.shu... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/TaskList.java | Java | asf20 | 4,611 |
package org.dodgybits.shuffle.web.client;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.DockLayoutPanel;
import com.google.gwt.user.client.ui.ResizeComposite;
import com.google.inject.Inject;
p... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/Main.java | Java | asf20 | 966 |
package org.dodgybits.shuffle.web.client.model;
import java.io.Serializable;
public class LoginInfo implements Serializable {
private boolean loggedIn = false;
private String loginUrl;
private String logoutUrl;
private String emailAddress;
private String nickname;
public boolean isLoggedIn() {
retur... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/model/LoginInfo.java | Java | asf20 | 1,222 |
package org.dodgybits.shuffle.web.client.model;
import java.io.Serializable;
@SuppressWarnings("serial")
public class ProjectValue implements Serializable {
private KeyValue<ProjectValue> mKeyValue;
private String mName;
private KeyValue<ContextValue> mDefaultContextId;
@SuppressWarnings("unused")
private Proj... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/model/ProjectValue.java | Java | asf20 | 1,482 |
package org.dodgybits.shuffle.web.client.model;
import java.io.Serializable;
@SuppressWarnings("serial")
public class TaskOrdering implements Serializable {
}
| 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/model/TaskOrdering.java | Java | asf20 | 162 |
package org.dodgybits.shuffle.web.client.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
@SuppressWarnings("serial")
public class TaskValue implements Serializable {
private KeyValue<TaskValue> mKeyValue;
private String mTitle;
private String mDetails;
private KeyValue<Proje... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/model/TaskValue.java | Java | asf20 | 2,681 |
package org.dodgybits.shuffle.web.client.model;
import java.io.Serializable;
@SuppressWarnings("serial")
public class KeyValue<T> implements Serializable {
private String mKey;
@SuppressWarnings("unused")
private KeyValue() {
// required for GWT serialization
}
public KeyValue(String key) {
mKey = key;
}... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/model/KeyValue.java | Java | asf20 | 376 |
package org.dodgybits.shuffle.web.client.model;
import java.io.Serializable;
import java.util.ArrayList;
@SuppressWarnings("serial")
public class ValueSelection<T> implements Serializable {
static enum SelectionType {
All, Some, None
}
private SelectionType mType;
private ArrayList<KeyVal... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/model/ValueSelection.java | Java | asf20 | 1,717 |
package org.dodgybits.shuffle.web.client.model;
public enum BooleanSelection {
IncludeIfTrue, IncludeIfFalse, IncludeAll
}
| 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/model/BooleanSelection.java | Java | asf20 | 128 |
package org.dodgybits.shuffle.web.client.model;
import java.io.Serializable;
@SuppressWarnings("serial")
public class TaskFilter implements Serializable {
public ValueSelection<ContextValue> contexts;
public ValueSelection<ProjectValue> projects;
public BooleanSelection isComplete;
public boolean only... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/model/TaskFilter.java | Java | asf20 | 343 |
package org.dodgybits.shuffle.web.client.model;
import java.io.Serializable;
@SuppressWarnings("serial")
public class ContextValue implements Serializable {
private KeyValue<ContextValue> mKeyValue;
private String mName;
@SuppressWarnings("unused")
private ContextValue() {
// required for GWT serialization
}... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/model/ContextValue.java | Java | asf20 | 1,003 |
package org.dodgybits.shuffle.web.client;
import gwtupload.client.IUploader;
import gwtupload.client.SingleUploader;
import org.dodgybits.shuffle.web.client.gin.ShuffleGinjector;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ClientBundle;
... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/Shuffle.java | Java | asf20 | 6,365 |
package org.dodgybits.shuffle.web.client.command;
import java.util.ArrayList;
import org.dodgybits.shuffle.web.client.model.TaskValue;
import org.dodgybits.shuffle.web.client.service.TaskServiceAsync;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.in... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/command/GetTasksCommand.java | Java | asf20 | 1,060 |
package org.dodgybits.shuffle.web.client.command;
import org.dodgybits.shuffle.web.client.model.TaskValue;
import org.dodgybits.shuffle.web.client.service.TaskServiceAsync;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.inject.Inject;
public class Sa... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/client/command/SaveTaskCommand.java | Java | asf20 | 1,226 |
package org.dodgybits.shuffle.web.server.service;
import org.dodgybits.shuffle.web.client.model.LoginInfo;
import org.dodgybits.shuffle.web.client.service.LoginService;
import com.google.appengine.api.users.User;
import com.google.appengine.api.users.UserService;
import com.google.appengine.api.users.UserServiceFacto... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/server/service/LoginServiceImpl.java | Java | asf20 | 1,088 |
package org.dodgybits.shuffle.web.server.service;
import gwtupload.server.UploadAction;
import gwtupload.server.exceptions.UploadActionException;
import java.util.List;
import java.util.logging.Logger;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.fileupload.FileItem;
import org.dodgybits.... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/server/service/RestoreServlet.java | Java | asf20 | 1,726 |
package org.dodgybits.shuffle.web.server.service;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Random;
import javax.jdo.PersistenceManager;
import javax.jdo.Query;
import org.dodgybits.shuffle.web.client.model.TaskFilter;
import org.dodgybits.shuffle.web.client.model.Tas... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/server/service/TaskServiceImpl.java | Java | asf20 | 5,361 |
package org.dodgybits.shuffle.web.server.model;
import static org.dodgybits.shuffle.web.server.persistence.JdoUtils.toKey;
import static org.dodgybits.shuffle.web.server.persistence.JdoUtils.toKeyValue;
import java.io.Serializable;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.Identi... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/server/model/Project.java | Java | asf20 | 2,210 |
package org.dodgybits.shuffle.web.server.model;
import static org.dodgybits.shuffle.web.server.persistence.JdoUtils.toKey;
import static org.dodgybits.shuffle.web.server.persistence.JdoUtils.toKeys;
import static org.dodgybits.shuffle.web.server.persistence.JdoUtils.toKeyValue;
import static org.dodgybits.shuffle.web.... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/server/model/Task.java | Java | asf20 | 3,093 |
package org.dodgybits.shuffle.web.server.model;
import static org.dodgybits.shuffle.web.server.persistence.JdoUtils.toKey;
import static org.dodgybits.shuffle.web.server.persistence.JdoUtils.toKeyValue;
import java.io.Serializable;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.Identi... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/server/model/Context.java | Java | asf20 | 1,746 |
package org.dodgybits.shuffle.web.server.persistence;
import java.util.ArrayList;
import java.util.List;
import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;
import org.dodgybits.shuffle.web.client.model.KeyValue;
import com.google.appengine.api.datastore.Key;... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/server/persistence/JdoUtils.java | Java | asf20 | 2,158 |
package org.dodgybits.shuffle.web.server.persistence;
import javax.servlet.*;
import java.io.IOException;
/**
* Ensures we properly release persistence resources even in
* the face of exceptions.
*/
public class PersistenceFilter implements javax.servlet.Filter {
public void destroy() {
}
publi... | 115371172-shuffle | server/src/org/dodgybits/shuffle/web/server/persistence/PersistenceFilter.java | Java | asf20 | 622 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set -->
<!-- the browser's rendering engine into -->
<!-- "Quirks Mode". Replacing this declaration -->
<!-- with a "Standards Mode" doctype... | 115371172-shuffle | server/war/Shuffle.html | HTML | asf20 | 1,267 |
//
// iCarousel.h
//
// Version 1.6.3 beta
//
// Created by Nick Lockwood on 01/04/2011.
// Copyright 2010 Charcoal Design
//
// Distributed under the permissive zlib License
// Get the latest version from either of these locations:
//
// http://charcoaldesign.co.uk/source/cocoa#icarousel
// https://github.com/... | 009-20120511-z | trunk/Zinipad/Zinipad/iCarousel.h | Objective-C | gpl3 | 9,459 |
//
// AppDelegate.h
// Zinipad
//
// Created by Kamain on 12. 5. 17..
// Copyright (c) 2012년 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
{
UINavigationController* _aNavigationContoller;
}
@property (strong, nonatomic) UIWind... | 009-20120511-z | trunk/Zinipad/Zinipad/AppDelegate.h | Objective-C | gpl3 | 418 |
//
// iCarousel.m
//
// Version 1.6.3 beta
//
// Created by Nick Lockwood on 01/04/2011.
// Copyright 2010 Charcoal Design
//
// Distributed under the permissive zlib License
// Get the latest version from either of these locations:
//
// http://charcoaldesign.co.uk/source/cocoa#icarousel
// https://github.com/... | 009-20120511-z | trunk/Zinipad/Zinipad/iCarousel.m | Objective-C | gpl3 | 63,643 |
//
// main.m
// Zinipad
//
// Created by ZeLkOvA on 12. 5. 17..
// Copyright (c) 2012년 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDeleg... | 009-20120511-z | trunk/Zinipad/Zinipad/main.m | Objective-C | gpl3 | 344 |
//
// SampleBookMainView.m
// Zinipad
//
// Created by ZeLkOvA on 12. 5. 17..
// Copyright (c) 2012년 __MyCompanyName__. All rights reserved.
//
#import "SampleBookMainView.h"
#import "MyTreeViewCell.h"
#import "TreeView.h"
@implementation SampleBookMainView
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(... | 009-20120511-z | trunk/Zinipad/Zinipad/SampleBookMainView.m | Objective-C | gpl3 | 1,534 |
//
// SampleBookMainView.h
// Zinipad
//
// Created by ZeLkOvA on 12. 5. 17..
// Copyright (c) 2012년 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SampleBookMainView : UIViewController
{
}
@end
| 009-20120511-z | trunk/Zinipad/Zinipad/SampleBookMainView.h | Objective-C | gpl3 | 240 |
//
// AppDelegate.m
// Zinipad
//
// Created by ZeLkOvA on 12. 5. 17..
// Copyright (c) 2012년 __MyCompanyName__. All rights reserved.
//
#import "AppDelegate.h"
#import "SampleBookMainView.h"
@implementation AppDelegate
@synthesize window = _window;
@synthesize _aNavigationController;
- (BOOL)application:(UIApp... | 009-20120511-z | trunk/Zinipad/Zinipad/AppDelegate.m | Objective-C | gpl3 | 2,779 |
<?php
/**
* classe que represento o cronometro do leilao:
* de 30seg, 20seg, 10eg...
* @access public
* @author Magno Leal
* @package model
*/
class CronometroBean {
private $cronometroID;
/**
* @NotEmptyValidator
*/
private $valor;
function __construct($cronometroID = 0, $valor = "")... | 0a1b2c3d4e5 | trunk/leilao/model/CronometroBean.class.php | PHP | asf20 | 1,027 |
<?php
/**
* classe que representa as informações que o cliente envia ao site:
* Sugestão, Reclamação ou Indicação de produto para Leilao
* @access public
* @author Magno Leal
* @package model
*/
class InformacaoBean {
private $informacaoID;
/**
* @NotEmptyValidator
*/
private $descricao;
... | 0a1b2c3d4e5 | trunk/leilao/model/InformacaoBean.class.php | PHP | asf20 | 2,246 |
<?php
/**
* Classe que representa a cidade do Endereço
* @access public
* @author Magno Leal
* @package model
*/
class CidadeBean {
/**
* @AttributeType long
*/
private $cidadeID;
/**
* @AttributeType String
*/
private $nome;
/**
* @AssociationType mode... | 0a1b2c3d4e5 | trunk/leilao/model/CidadeBean.class.php | PHP | asf20 | 1,401 |
<?php
/**
* classe que representa os usuarios clientes do site
* @access public
* @author Magno Leal
* @package model
*/
class ClienteBean extends UsuarioBean{
private $numLances;
private $avisosPorEmail;
/**
* @AssociationType model.Pessoa
* @AssociationMultiplicity 1
*/
private $... | 0a1b2c3d4e5 | trunk/leilao/model/ClienteBean.class.php | PHP | asf20 | 4,396 |
<?php
/**
* classe que represento as media dos Produtos dos leiloes (imagem ou video)
* @access public
* @author Magno Leal
* @package model
*/
class MediaProdutoBean {
private $mediaProdutoID;
/**
* @NotEmptyValidator
*/
private $caminho;
private $produto;
function __construct($me... | 0a1b2c3d4e5 | trunk/leilao/model/MediaProdutoBean.class.php | PHP | asf20 | 1,386 |
<?php
/**
* classe que representa os usuarios administradores do site
* @access public
* @author Magno Leal
* @package model
*/
class AdminBean extends UsuarioBean{
public function __construct($usuarioID = 0, $login = "", $senha = "", $email = "", $ip = "", $dataCriacao = "", $media = null, $status = null) {
... | 0a1b2c3d4e5 | trunk/leilao/model/AdminBean.class.php | PHP | asf20 | 970 |
<?php
/**
* classe que represento os logins de cada usuario
* @access public
* @author Magno Leal
* @package model
*/
class LoginBean {
private $loginID;
private $data;
private $ip;
private $usuario;
function __construct($loginID = 0, $data = "", $ip = "", $usuario = null) {
$this->lo... | 0a1b2c3d4e5 | trunk/leilao/model/LoginBean.class.php | PHP | asf20 | 1,371 |
<?php
/**
* classe que represento os pacotes de venda de lances:
* pacote de 25, 50, 100, 300, 500 lances
* @access public
* @author Magno Leal
* @package model
*/
class PacoteLanceBean {
private $pacoteLanceID;
/**
* @NotEmptyValidator
*/
private $quantidade;
/**
* @NotEmptyValid... | 0a1b2c3d4e5 | trunk/leilao/model/PacoteLanceBean.class.php | PHP | asf20 | 1,423 |
<?php
/**
* classe que represento as medias do sistema (imagem ou video)
* @access public
* @author Magno Leal
* @package model
*/
class MediaBean {
private $mediaID;
/**
* @NotEmptyValidator
*/
private $caminho;
function __construct($mediaID = 0, $caminho = "") {
$this->mediaI... | 0a1b2c3d4e5 | trunk/leilao/model/MediaBean.class.php | PHP | asf20 | 1,058 |
<?php
/**
* Classe que representa a Pessoa do Cliente
* @access public
* @author Magno Leal
* @package model
*/
class PessoaBean {
private $cliente;
/**
* @NotEmptyValidator
*/
private $nome;
/**
* @MaskValidator(mask = "999.999.999-99")
*/
private $cpf;
/**
* @Not... | 0a1b2c3d4e5 | trunk/leilao/model/PessoaBean.class.php | PHP | asf20 | 2,844 |
<?php
/**
* classe que represento os tipo de leiloes do sistema:
* Leiloes de Frete Gratis, Leiloes Gratis, etc
* @access public
* @author Magno Leal
* @package model
*/
class TipoLeilaoBean {
private $tipoLeilaoID;
/**
* @NotEmptyValidator
*/
private $descricao;
function __construct(... | 0a1b2c3d4e5 | trunk/leilao/model/TipoLeilaoBean.class.php | PHP | asf20 | 1,102 |
<?php
/**
* classe que represento os status do sistema
* @access public
* @author Magno Leal
* @package model
*/
class StatusBean {
private $statusID;
/**
* @NotEmptyValidator
*/
private $descricao;
/**
* @NotEmptyValidator
*/
private $tipo;
function __construct($stat... | 0a1b2c3d4e5 | trunk/leilao/model/StatusBean.class.php | PHP | asf20 | 1,257 |
<?php
/**
* classe que representa as enquetes do sistema
* @access public
* @author Magno Leal
* @package model
*/
class EnqueteBean {
private $enqueteID;
/**
* @NotEmptyValidator
*/
private $descricao;
private $inicio;
/**
* @NotEmptyValidator
*/
private $fim;
priv... | 0a1b2c3d4e5 | trunk/leilao/model/EnqueteBean.class.php | PHP | asf20 | 1,853 |
<?php
/**
* Classe que representa o Estado da Cidade
* @access public
* @author Magno Leal
* @package model
*/
class EstadoBean {
/**
* @AttributeType long
*/
private $estadoID;
/**
* @AttributeType String
*/
private $nome;
/**
* @AttributeType String... | 0a1b2c3d4e5 | trunk/leilao/model/EstadoBean.class.php | PHP | asf20 | 1,321 |
<?php
/**
* classe que representa os bonus comprados pelo cliente
* @access public
* @author Magno Leal
* @package model
*/
class ClienteBonusBean {
private $cliente;
private $bonus;
/**
* @NotEmptyValidator
*/
private $valor;
private $inicio;
/**
* @NotEmptyValidator
*... | 0a1b2c3d4e5 | trunk/leilao/model/ClienteBonusBean.class.php | PHP | asf20 | 1,808 |
<?php
/**
* Classe que representa o Endereco da Pessoa
* @access public
* @author Magno Leal
* @package model
*/
class EnderecoBean {
private $pessoa;
/**
* @NotEmptyValidator
*/
private $logradouro;
/**
* @NotEmptyValidator
*/
private $numero;
private $complemento;
... | 0a1b2c3d4e5 | trunk/leilao/model/EnderecoBean.class.php | PHP | asf20 | 2,506 |
<?php
/**
* classe que representa os convites que os cliente enviam
* @access public
* @author Magno Leal
* @package model
*/
class ConviteBean {
private $conviteID;
/**
* @EmailValidator
*/
private $email;
/**
* @NotEmptyValidator
*/
private $mensagem;
private $cli... | 0a1b2c3d4e5 | trunk/leilao/model/ConviteBean.class.php | PHP | asf20 | 2,302 |
<?php
/**
* classe que representa as compras de lances feitas pelo cliente
* @access public
* @author Magno Leal
* @package model
*/
class CompraBean {
private $compraID;
private $data;
private $ip;
/**
* @NotEmptyValidator
*/
private $valor;
private $pacoteLance;
private $cl... | 0a1b2c3d4e5 | trunk/leilao/model/CompraBean.class.php | PHP | asf20 | 2,325 |
<?php
/**
* classe que represento os bonus que o cliente pode adiquirir: <br/>
* 1 - Nao pagar pelo valor do produto no fim dos leiloes;<br/>
* 2 - Nao pagar pelo frete;<br/>
* 3 - Retirar informações dos usuarios durante o leilão;<br/>
* 4 - etc...<br/>
*
* @access public
* @author Magno Leal
* @package mode... | 0a1b2c3d4e5 | trunk/leilao/model/BonusBean.class.php | PHP | asf20 | 1,468 |
<?php
/**
* classe que represento os votos das enquete em determinada resposta
* @access public
* @author Magno Leal
* @package model
*/
class VotoBean {
private $enquete;
private $cliente;
private $resposta;
private $data;
function __construct($enquete = null, $cliente = null, $resposta ... | 0a1b2c3d4e5 | trunk/leilao/model/VotoBean.class.php | PHP | asf20 | 1,499 |
<?php
/**
* Classe que representa a resposta da enquete
* @access public
* @author Magno Leal
* @package model
*/
class RespostaBean {
/**
* /@AttributeType long
*/
private $respostaID;
/**
* @NotEmptyValidator
*/
private $descricao;
/**
* /@AssociationType model.Enquet... | 0a1b2c3d4e5 | trunk/leilao/model/RespostaBean.class.php | PHP | asf20 | 1,457 |
<?php
/**
* classe que representa os produtos dos leiloes
* @access public
* @author Magno Leal
* @package model
*/
class ProdutoBean {
private $produtoID;
/**
* @NotEmptyValidator
*/
private $descricao;
/**
* @NotEmptyValidator
*/
private $peso;
/**
* @NotEmptyVal... | 0a1b2c3d4e5 | trunk/leilao/model/ProdutoBean.class.php | PHP | asf20 | 2,809 |
<?php
/**
* classe que represento as categorias dos produtos:
* Informatica, Eletrodomesticos, Games, etc.
* @access public
* @author Magno Leal
* @package model
*/
class CategoriaProdutoBean {
private $categoriaProdutoID;
/**
* @NotEmptyValidator
*/
private $descricao;
function __con... | 0a1b2c3d4e5 | trunk/leilao/model/CategoriaProdutoBean.class.php | PHP | asf20 | 1,199 |
<?php
/**
* classe que representa as mensagens trocadas no chat do leilao
* @access public
* @author Magno Leal
* @package model
*/
class ChatBean {
private $chatID;
private $data;
private $mensagem;
private $usuario;
private $leilao;
function __construct($chatID = 0, $data = "", $mensage... | 0a1b2c3d4e5 | trunk/leilao/model/ChatBean.class.php | PHP | asf20 | 1,716 |
<?php
/**
* classe que representa os lances dos clientes no leilao
* @access public
* @author Magno Leal
* @package model
*/
class LanceBean {
private $lanceID;
private $data;
private $usuario;
private $leilao;
function __construct($lanceID = 0, $data = "", $usuario = null, $leilao = null) {
... | 0a1b2c3d4e5 | trunk/leilao/model/LanceBean.class.php | PHP | asf20 | 1,455 |
<?php
/**
* classe que represento o usuario do site
* @access public
* @author Magno Leal
* @package model
*/
class UsuarioBean {
/**
* /@AttributeType long
*/
private $usuarioID;
/**
* @MinLengthValidator(min = 5)
*/
private $login;
/**
* @MinLeng... | 0a1b2c3d4e5 | trunk/leilao/model/UsuarioBean.class.php | PHP | asf20 | 2,929 |
<?php
/**
* classe que representa os depoimentos dos cliente que arremataram o leilao
* @access public
* @author Magno Leal
* @package model
*/
class DepoimentoBean {
private $depoimentoID;
/**
* @NotEmptyValidator
*/
private $descricao;
private $data;
private $media;
private $cl... | 0a1b2c3d4e5 | trunk/leilao/model/DepoimentoBean.class.php | PHP | asf20 | 2,175 |
<?php
/**
* classe que representa o Admin
* @access public
* @author Magno Leal
* @package model
*/
class LeilaoBean {
private $leilaoID;
/**
* @NotEmptyValidator
*/
private $inicio;
private $cronometro;
private $media;
private $tipoLeilao;
private $admin;
private $status... | 0a1b2c3d4e5 | trunk/leilao/model/LeilaoBean.class.php | PHP | asf20 | 2,740 |
<?php
/**
* Description of LanceService
*
* @author Magno
*/
class LanceService {
private $lanceDAO;
function __construct() {
$this->lanceDAO = new LanceDAO();
}
public function salvar($lance) {
try {
return $this->lanceDAO->salvar($lance);
}catch(Exception $... | 0a1b2c3d4e5 | trunk/leilao/service/LanceService.class.php | PHP | asf20 | 2,333 |
<?php
/**
* Description of ProdutoService
*
* @author Magno
*/
class ProdutoService {
private $produtoDAO;
function __construct() {
$this->produtoDAO = new ProdutoDAO();
}
public function salvar($produto) {
try {
return $this->produtoDAO->salvar($produto);
}c... | 0a1b2c3d4e5 | trunk/leilao/service/ProdutoService.class.php | PHP | asf20 | 2,257 |
<?php
/**
* Description of TipoLeilaoService
*
* @author Magno
*/
class TipoLeilaoService {
private $tipoLeilaoDAO;
public function __construct() {
$this->tipoLeilaoDAO = new TipoLeilaoDAO();
}
public function salvar($tipoLeilao) {
try {
return $this->tipoLeilaoDAO->sal... | 0a1b2c3d4e5 | trunk/leilao/service/TipoLeilaoService.class.php | PHP | asf20 | 1,640 |
<?php
/**
* Description of ConviteService
*
* @author Magno
*/
class ConviteService {
private $conviteDAO;
function __construct() {
$this->conviteDAO = new ConviteDAO();
}
public function salvar($convite) {
try {
return $this->conviteDAO->salvar($convite);
}c... | 0a1b2c3d4e5 | trunk/leilao/service/ConviteService.class.php | PHP | asf20 | 3,162 |
<?php
/**
* Description of EnqueteService
*
* @author Magno
*/
class EnqueteService {
private $enqueteDAO;
function __construct() {
$this->enqueteDAO = new EnqueteDAO();
}
public function salvar($enquete) {
try {
return $this->enqueteDAO->salvar($enquete);
}c... | 0a1b2c3d4e5 | trunk/leilao/service/EnqueteService.class.php | PHP | asf20 | 1,993 |
<?php
class ClienteService {
private $clienteDAO;
public function __construct() {
$this->clienteDAO = new ClienteDAO();
}
public function salvar($cliente) {
$conexao = Conexao::getConexao();
$conexao->beginTransaction();
try {
$cliente->... | 0a1b2c3d4e5 | trunk/leilao/service/ClienteService.class.php | PHP | asf20 | 3,674 |
<?php
/**
* Description of LeilaoService
*
* @author Magno
*/
class LeilaoService {
private $leilaoDAO;
function __construct() {
$this->leilaoDAO = new LeilaoDAO();
}
public function salvar($leilao) {
try {
return $this->leilaoDAO->salvar($leilao);
}catch(Exc... | 0a1b2c3d4e5 | trunk/leilao/service/LeilaoService.class.php | PHP | asf20 | 2,271 |
<?php
/**
* Description of LoginService
*
* @author Magno
*/
class LoginService {
private $loginDAO;
function __construct() {
$this->loginDAO = new LoginDAO();
}
public function salvar($login) {
try {
return $this->loginDAO->salvar($login);
}catch(Exception $... | 0a1b2c3d4e5 | trunk/leilao/service/LoginService.class.php | PHP | asf20 | 1,533 |