Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/ChosenGrouping.java =================================================================== diff -u -rb125be1bc92a6f11535ffa059b15a519c741b40e -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/ChosenGrouping.java (.../ChosenGrouping.java) (revision b125be1bc92a6f11535ffa059b15a519c741b40e) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/ChosenGrouping.java (.../ChosenGrouping.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,9 +1,25 @@ -/* - * ChosenGrouping.java - * - * Created on 14 January 2005, 11:30 +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ - package org.lamsfoundation.lams.learningdesign; import java.util.Set; Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/ComplexActivity.java =================================================================== diff -u -r35d5350252748108494c7cb4bfc2e7d5f2271cba -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/ComplexActivity.java (.../ComplexActivity.java) (revision 35d5350252748108494c7cb4bfc2e7d5f2271cba) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/ComplexActivity.java (.../ComplexActivity.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/GateActivity.java =================================================================== diff -u -r45627f71ab0bfc79d223df7abf6831deaca46a4a -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/GateActivity.java (.../GateActivity.java) (revision 45627f71ab0bfc79d223df7abf6831deaca46a4a) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/GateActivity.java (.../GateActivity.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/Group.java =================================================================== diff -u -rdfed139a7289e34015731c0b41b2435a0b902b6f -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/Group.java (.../Group.java) (revision dfed139a7289e34015731c0b41b2435a0b902b6f) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/Group.java (.../Group.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/Grouping.java =================================================================== diff -u -rfc77ed7c05214a99c9d9148a55e160d2d4a455ad -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/Grouping.java (.../Grouping.java) (revision fc77ed7c05214a99c9d9148a55e160d2d4a455ad) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/Grouping.java (.../Grouping.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/GroupingActivity.java =================================================================== diff -u -rff0c59d252d1cef65a10cad77374dfe72697ba58 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/GroupingActivity.java (.../GroupingActivity.java) (revision ff0c59d252d1cef65a10cad77374dfe72697ba58) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/GroupingActivity.java (.../GroupingActivity.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; @@ -10,6 +32,7 @@ * @hibernate.class * * A GroupingActivity creates Grouping. + * @author Manpreet Minhas */ public class GroupingActivity extends SimpleActivity implements Serializable { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/LearningDesign.java =================================================================== diff -u -rfc77ed7c05214a99c9d9148a55e160d2d4a455ad -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/LearningDesign.java (.../LearningDesign.java) (revision fc77ed7c05214a99c9d9148a55e160d2d4a455ad) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/LearningDesign.java (.../LearningDesign.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import org.lamsfoundation.lams.learningdesign.dto.DesignDetailDTO; @@ -20,6 +42,7 @@ /** + * @author Manpreet Minhas * @hibernate.class table="lams_learning_design" * */ Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/LearningLibrary.java =================================================================== diff -u -rfc77ed7c05214a99c9d9148a55e160d2d4a455ad -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/LearningLibrary.java (.../LearningLibrary.java) (revision fc77ed7c05214a99c9d9148a55e160d2d4a455ad) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/LearningLibrary.java (.../LearningLibrary.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; @@ -10,6 +32,7 @@ /** + * @author Manpreet Minhas * @hibernate.class * table="lams_learning_library" * Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/License.java =================================================================== diff -u -r7f203b0b0a2e56896f7eee5367b52d1ec4db483e -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/License.java (.../License.java) (revision 7f203b0b0a2e56896f7eee5367b52d1ec4db483e) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/License.java (.../License.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,18 +1,31 @@ -/* - * Created on Feb 15, 2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; /** - * @author Minhas - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public class License implements Serializable{ Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/NullActivity.java =================================================================== diff -u -r95aa4590e8f18e8323cd6efc196b2c3a851b5e2e -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/NullActivity.java (.../NullActivity.java) (revision 95aa4590e8f18e8323cd6efc196b2c3a851b5e2e) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/NullActivity.java (.../NullActivity.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,4 +1,25 @@ - +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/NullGroup.java =================================================================== diff -u -rd6e24451f694815d6138e6189fa8ba2294ee6944 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/NullGroup.java (.../NullGroup.java) (revision d6e24451f694815d6138e6189fa8ba2294ee6944) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/NullGroup.java (.../NullGroup.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,23 +1,25 @@ -/* - Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) - - 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 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - USA - - http://www.gnu.org/licenses/gpl.txt -*/ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; /** Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/OptionsActivity.java =================================================================== diff -u -r35d5350252748108494c7cb4bfc2e7d5f2271cba -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/OptionsActivity.java (.../OptionsActivity.java) (revision 35d5350252748108494c7cb4bfc2e7d5f2271cba) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/OptionsActivity.java (.../OptionsActivity.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; @@ -7,6 +29,7 @@ /** + * @author Manpreet Minhas * @hibernate.class */ public class OptionsActivity extends ComplexActivity implements Serializable { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/ParallelActivity.java =================================================================== diff -u -r35d5350252748108494c7cb4bfc2e7d5f2271cba -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/ParallelActivity.java (.../ParallelActivity.java) (revision 35d5350252748108494c7cb4bfc2e7d5f2271cba) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/ParallelActivity.java (.../ParallelActivity.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; @@ -7,6 +29,7 @@ import org.lamsfoundation.lams.learningdesign.strategy.ParallelActivityStrategy; /** + * @author Manpreet Minhas * @hibernate.class */ public class ParallelActivity extends ComplexActivity implements Serializable { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/PermissionGateActivity.java =================================================================== diff -u -r7cb804782140d348edd332845c498640088603a5 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/PermissionGateActivity.java (.../PermissionGateActivity.java) (revision 7cb804782140d348edd332845c498640088603a5) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/PermissionGateActivity.java (.../PermissionGateActivity.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; @@ -9,6 +31,7 @@ /** + * @author Manpreet Minhas * @hibernate.class */ public class PermissionGateActivity extends GateActivity implements Serializable Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/RandomGrouping.java =================================================================== diff -u -rdfed139a7289e34015731c0b41b2435a0b902b6f -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/RandomGrouping.java (.../RandomGrouping.java) (revision dfed139a7289e34015731c0b41b2435a0b902b6f) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/RandomGrouping.java (.../RandomGrouping.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,9 +1,25 @@ -/* - * RandomGrouping.java - * - * Created on 14 January 2005, 11:27 +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ - package org.lamsfoundation.lams.learningdesign; import java.util.Set; Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/ScheduleGateActivity.java =================================================================== diff -u -r478b2795849c855847b5fe6d84f6a8fb9250b742 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/ScheduleGateActivity.java (.../ScheduleGateActivity.java) (revision 478b2795849c855847b5fe6d84f6a8fb9250b742) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/ScheduleGateActivity.java (.../ScheduleGateActivity.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/SequenceActivity.java =================================================================== diff -u -r35d5350252748108494c7cb4bfc2e7d5f2271cba -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/SequenceActivity.java (.../SequenceActivity.java) (revision 35d5350252748108494c7cb4bfc2e7d5f2271cba) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/SequenceActivity.java (.../SequenceActivity.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; @@ -8,6 +30,7 @@ /** + * @author Manpreet Minhas * @hibernate.class */ public class SequenceActivity extends ComplexActivity implements Serializable { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/SimpleActivity.java =================================================================== diff -u -r35d5350252748108494c7cb4bfc2e7d5f2271cba -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/SimpleActivity.java (.../SimpleActivity.java) (revision 35d5350252748108494c7cb4bfc2e7d5f2271cba) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/SimpleActivity.java (.../SimpleActivity.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; @@ -7,6 +29,7 @@ /** + * @author Manpreet Minhas * @hibernate.class */ public abstract class SimpleActivity extends Activity implements Serializable Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/SynchGateActivity.java =================================================================== diff -u -r394bfc3611adc9d71b2549e4863db555bf32c6cd -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/SynchGateActivity.java (.../SynchGateActivity.java) (revision 394bfc3611adc9d71b2549e4863db555bf32c6cd) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/SynchGateActivity.java (.../SynchGateActivity.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; @@ -9,6 +31,7 @@ /** + * @author Manpreet Minhas * @hibernate.class */ public class SynchGateActivity extends GateActivity implements Serializable { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/ToolActivity.java =================================================================== diff -u -r950ffe777776ecffa7f99e02b9674f0c71d382ab -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/ToolActivity.java (.../ToolActivity.java) (revision 950ffe777776ecffa7f99e02b9674f0c71d382ab) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/ToolActivity.java (.../ToolActivity.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; @@ -14,6 +36,7 @@ import org.lamsfoundation.lams.usermanagement.User; /** + * @author Manpreet Minhas * @hibernate.class */ public class ToolActivity extends SimpleActivity implements Serializable @@ -121,13 +144,7 @@ ToolActivity newToolActivity = new ToolActivity(); newToolActivity.setTool(originalActivity.getTool()); - - - /* TODO Generate a new toolContentID for this new ToolActivity - * For now setting it to the contentID of the old activity - */ - newToolActivity.setToolContentId(originalActivity.getToolContentId()); - + newToolActivity.setToolContentId(originalActivity.getToolContentId()); newToolActivity.setActivityUIID(originalActivity.getActivityUIID()); newToolActivity.setDescription(originalActivity.getDescription()); newToolActivity.setTitle(originalActivity.getTitle()); Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/Transition.java =================================================================== diff -u -rfc77ed7c05214a99c9d9148a55e160d2d4a455ad -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/Transition.java (.../Transition.java) (revision fc77ed7c05214a99c9d9148a55e160d2d4a455ad) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/Transition.java (.../Transition.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,3 +1,25 @@ +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** + */ package org.lamsfoundation.lams.learningdesign; import java.io.Serializable; @@ -8,6 +30,7 @@ import org.lamsfoundation.lams.learningdesign.dto.TransitionDTO; /** + * @author Manpreet Minhas * @hibernate.class table="lams_learning_transition" * */ Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/IActivityDAO.java =================================================================== diff -u -r174fa126cd5cc9d88eb39d6596af0453a2b77e49 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/IActivityDAO.java (.../IActivityDAO.java) (revision 174fa126cd5cc9d88eb39d6596af0453a2b77e49) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/IActivityDAO.java (.../IActivityDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,5 +1,24 @@ -/* - * Created on Dec 3, 2004 +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao; @@ -9,7 +28,7 @@ import org.lamsfoundation.lams.learningdesign.LearningDesign; /** - * @author MMINHAS + * @author Manpreet Minhas * */ public interface IActivityDAO extends IBaseDAO{ Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/IBaseDAO.java =================================================================== diff -u -r19c9010eff6be2e29657beed94349a978088650f -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/IBaseDAO.java (.../IBaseDAO.java) (revision 19c9010eff6be2e29657beed94349a978088650f) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/IBaseDAO.java (.../IBaseDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,19 +1,32 @@ -/* - * Created on Dec 4, 2004 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao; import java.io.Serializable; import java.util.List; /** - * @author manpreet - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public interface IBaseDAO { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/IGroupDAO.java =================================================================== diff -u -r1325a33948e25b1b9f7a9c5623c5663a3555e629 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/IGroupDAO.java (.../IGroupDAO.java) (revision 1325a33948e25b1b9f7a9c5623c5663a3555e629) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/IGroupDAO.java (.../IGroupDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,12 +1,31 @@ -/* - * Created on Dec 6, 2004 +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao; import org.lamsfoundation.lams.learningdesign.Group; /** - * @author manpreet + * @author Manpreet Minhas */ public interface IGroupDAO extends IBaseDAO { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/IGroupingDAO.java =================================================================== diff -u -r174fa126cd5cc9d88eb39d6596af0453a2b77e49 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/IGroupingDAO.java (.../IGroupingDAO.java) (revision 174fa126cd5cc9d88eb39d6596af0453a2b77e49) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/IGroupingDAO.java (.../IGroupingDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,12 +1,31 @@ -/* - * Created on Dec 6, 2004 +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao; import org.lamsfoundation.lams.learningdesign.Grouping; /** - * @author manpreet + * @author Manpreet Minhas */ public interface IGroupingDAO extends IBaseDAO { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/ILearningDesignDAO.java =================================================================== diff -u -rb5e2e71d176c89c0685d090c662bc303fbc85ea7 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/ILearningDesignDAO.java (.../ILearningDesignDAO.java) (revision b5e2e71d176c89c0685d090c662bc303fbc85ea7) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/ILearningDesignDAO.java (.../ILearningDesignDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,5 +1,24 @@ -/* - * Created on Dec 4, 2004 +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao; @@ -8,7 +27,7 @@ import org.lamsfoundation.lams.learningdesign.LearningDesign; ; /** - * @author manpreet + * @author Manpreet Minhas */ public interface ILearningDesignDAO extends IBaseDAO{ Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/ILearningLibraryDAO.java =================================================================== diff -u -r19c9010eff6be2e29657beed94349a978088650f -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/ILearningLibraryDAO.java (.../ILearningLibraryDAO.java) (revision 19c9010eff6be2e29657beed94349a978088650f) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/ILearningLibraryDAO.java (.../ILearningLibraryDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,8 +1,24 @@ -/* - * Created on Dec 4, 2004 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao; @@ -11,10 +27,7 @@ import org.lamsfoundation.lams.learningdesign.LearningLibrary; /** - * @author manpreet - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public interface ILearningLibraryDAO extends IBaseDAO { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/ILicenseDAO.java =================================================================== diff -u -r174fa126cd5cc9d88eb39d6596af0453a2b77e49 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/ILicenseDAO.java (.../ILicenseDAO.java) (revision 174fa126cd5cc9d88eb39d6596af0453a2b77e49) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/ILicenseDAO.java (.../ILicenseDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,19 +1,32 @@ -/* - * Created on Feb 21, 2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao; import org.lamsfoundation.lams.learningdesign.License; import org.lamsfoundation.lams.learningdesign.dao.IBaseDAO; /** - * @author Minhas - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public interface ILicenseDAO extends IBaseDAO { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/ITransitionDAO.java =================================================================== diff -u -rcea596d200043c5589e5501fd9d65147091f8014 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/ITransitionDAO.java (.../ITransitionDAO.java) (revision cea596d200043c5589e5501fd9d65147091f8014) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/ITransitionDAO.java (.../ITransitionDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,5 +1,24 @@ -/* - * Created on Dec 6, 2004 +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao; @@ -11,17 +30,11 @@ import org.lamsfoundation.lams.learningdesign.Transition; /** - * @author MMINHAS + * @author Manpreet Minhas */ public interface ITransitionDAO extends IBaseDAO { /** - * @param ID The id of the required Transition - * @return Returns the list of Transition objects with id = ID - */ - public List getTransitionById(Integer ID); - - /** * @param transitionID The transitionID of the required Transition * @return Returns the Transition object corresponding to the transitionID */ Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/ActivityDAO.java =================================================================== diff -u -rfc77ed7c05214a99c9d9148a55e160d2d4a455ad -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/ActivityDAO.java (.../ActivityDAO.java) (revision fc77ed7c05214a99c9d9148a55e160d2d4a455ad) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/ActivityDAO.java (.../ActivityDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,5 +1,24 @@ -/* - * Created on Dec 3, 2004 +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao.hibernate; @@ -14,7 +33,7 @@ import org.lamsfoundation.lams.learningdesign.dao.IActivityDAO; /** - * @author MMINHAS + * @author Manpreet Minhas */ public class ActivityDAO extends BaseDAO implements IActivityDAO { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/BaseDAO.java =================================================================== diff -u -r19c9010eff6be2e29657beed94349a978088650f -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/BaseDAO.java (.../BaseDAO.java) (revision 19c9010eff6be2e29657beed94349a978088650f) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/BaseDAO.java (.../BaseDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,8 +1,24 @@ -/* - * Created on Dec 4, 2004 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao.hibernate; @@ -14,42 +30,39 @@ import org.lamsfoundation.lams.learningdesign.dao.IBaseDAO; /** - * @author manpreet - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public class BaseDAO extends HibernateDaoSupport implements IBaseDAO { - /* + /** * @see org.lamsfoundation.lams.learningdesign.dao.interfaces.IBaseDAO#insert(java.lang.Object) */ public void insert(Object object) { this.getHibernateTemplate().save(object); } - /* + /** * @see org.lamsfoundation.lams.learningdesign.dao.interfaces.IBaseDAO#update(java.lang.Object) */ public void update(Object object) { this.getHibernateTemplate().update(object); } - /* + /** * @see org.lamsfoundation.lams.learningdesign.dao.interfaces.IBaseDAO#delete(java.lang.Object) */ public void delete(Object object) { this.getHibernateTemplate().delete(object); } - /* + /** * @see org.lamsfoundation.lams.learningdesign.dao.interfaces.IBaseDAO#find(java.lang.Class, java.lang.Long) */ public Object find(Class objClass, Serializable id) { return this.getHibernateTemplate().load(objClass,id); } - /* + /** * @see org.lamsfoundation.lams.learningdesign.dao.interfaces.IBaseDAO#findAll(java.lang.Class) */ public List findAll(Class objClass) { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/GroupDAO.java =================================================================== diff -u -r1325a33948e25b1b9f7a9c5623c5663a3555e629 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/GroupDAO.java (.../GroupDAO.java) (revision 1325a33948e25b1b9f7a9c5623c5663a3555e629) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/GroupDAO.java (.../GroupDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,19 +1,32 @@ -/* - * Created on Dec 6, 2004 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao.hibernate; import org.lamsfoundation.lams.learningdesign.Group; import org.lamsfoundation.lams.learningdesign.dao.IGroupDAO; /** - * @author MMINHAS - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public class GroupDAO extends BaseDAO implements IGroupDAO { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/GroupingDAO.java =================================================================== diff -u -r174fa126cd5cc9d88eb39d6596af0453a2b77e49 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/GroupingDAO.java (.../GroupingDAO.java) (revision 174fa126cd5cc9d88eb39d6596af0453a2b77e49) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/GroupingDAO.java (.../GroupingDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,8 +1,24 @@ -/* - * Created on Dec 6, 2004 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao.hibernate; @@ -12,10 +28,7 @@ import org.lamsfoundation.lams.learningdesign.dao.IGroupingDAO; /** - * @author MMINHAS - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public class GroupingDAO extends BaseDAO implements IGroupingDAO { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/LearningDesignDAO.java =================================================================== diff -u -rb5e2e71d176c89c0685d090c662bc303fbc85ea7 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/LearningDesignDAO.java (.../LearningDesignDAO.java) (revision b5e2e71d176c89c0685d090c662bc303fbc85ea7) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/LearningDesignDAO.java (.../LearningDesignDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,8 +1,24 @@ -/* - * Created on Dec 4, 2004 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao.hibernate; @@ -16,7 +32,7 @@ import org.lamsfoundation.lams.learningdesign.dao.ILearningDesignDAO; /** - * @author manpreet + * @author Manpreet Minhas */ public class LearningDesignDAO extends BaseDAO implements ILearningDesignDAO { @@ -57,8 +73,7 @@ try{ return this.getSession().find(FIND_BY_USERID,new Object[]{userID}, new Type[]{Hibernate.LONG}); }catch(HibernateException he){ - return null; - /*TODO Exception Handling*/ + return null; } } Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/LearningLibraryDAO.java =================================================================== diff -u -r19c9010eff6be2e29657beed94349a978088650f -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/LearningLibraryDAO.java (.../LearningLibraryDAO.java) (revision 19c9010eff6be2e29657beed94349a978088650f) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/LearningLibraryDAO.java (.../LearningLibraryDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,8 +1,24 @@ -/* - * Created on Dec 4, 2004 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao.hibernate; @@ -12,28 +28,28 @@ import org.lamsfoundation.lams.learningdesign.dao.ILearningLibraryDAO; /** - * @author manpreet - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public class LearningLibraryDAO extends BaseDAO implements ILearningLibraryDAO { - /* (non-Javadoc) + /** + * (non-Javadoc) * @see org.lamsfoundation.lams.learningdesign.dao.interfaces.ILearningLibraryDAO#getLearningLibraryById(java.lang.Long) */ public LearningLibrary getLearningLibraryById(Long learningLibraryId) { return (LearningLibrary)super.find(LearningLibrary.class,learningLibraryId); } - /* (non-Javadoc) + /** + * (non-Javadoc) * @see org.lamsfoundation.lams.learningdesign.dao.interfaces.ILearningLibraryDAO#getLearningLibraryByTitle(java.lang.String) */ public LearningLibrary getLearningLibraryByTitle(String title) { return (LearningLibrary)super.find(LearningLibrary.class,title); } - /* (non-Javadoc) + /** + * (non-Javadoc) * @see org.lamsfoundation.lams.learningdesign.dao.interfaces.ILearningLibraryDAO#getAllLearningLibraries() */ public List getAllLearningLibraries() { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/LicenseDAO.java =================================================================== diff -u -r174fa126cd5cc9d88eb39d6596af0453a2b77e49 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/LicenseDAO.java (.../LicenseDAO.java) (revision 174fa126cd5cc9d88eb39d6596af0453a2b77e49) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/LicenseDAO.java (.../LicenseDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,19 +1,32 @@ -/* - * Created on Feb 21, 2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao.hibernate; import org.lamsfoundation.lams.learningdesign.License; import org.lamsfoundation.lams.learningdesign.dao.ILicenseDAO; /** - * @author Minhas - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public class LicenseDAO extends BaseDAO implements ILicenseDAO{ Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/TransitionDAO.java =================================================================== diff -u -rcea596d200043c5589e5501fd9d65147091f8014 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/TransitionDAO.java (.../TransitionDAO.java) (revision cea596d200043c5589e5501fd9d65147091f8014) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/dao/hibernate/TransitionDAO.java (.../TransitionDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,8 +1,24 @@ -/* - * Created on Dec 6, 2004 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.dao.hibernate; @@ -16,10 +32,7 @@ import org.lamsfoundation.lams.learningdesign.dao.ITransitionDAO; /** - * @author MMINHAS - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public class TransitionDAO extends BaseDAO implements ITransitionDAO { @@ -29,30 +42,25 @@ private static final String FIND_BY_LEARNING_DESIGN_ID = "from " + TABLENAME +" in class " + Transition.class.getName()+ " where learning_design_id=?"; - /* (non-Javadoc) - * @see org.lamsfoundation.lams.learningdesign.dao.ITransitionDAO#getTransitionById(java.lang.Integer) - */ - public List getTransitionById(Integer ID) { - // TODO Auto-generated method stub - return null; - } - - /* (non-Javadoc) + /** + * (non-Javadoc) * @see org.lamsfoundation.lams.learningdesign.dao.ITransitionDAO#getTransitionByTransitionID(java.lang.Long) */ public Transition getTransitionByTransitionID(Long transitionID) { return (Transition)this.getHibernateTemplate().get(Transition.class,transitionID); } - /* (non-Javadoc) + /** + * (non-Javadoc) * @see org.lamsfoundation.lams.learningdesign.dao.ITransitionDAO#getTransitionByToActivityID(java.lang.Long) */ public Transition getTransitionByToActivityID(Long toActivityID) { List list = this.getHibernateTemplate().find(FIND_BY_TO_ACTIVITY,new Object[]{toActivityID}, new Type[]{Hibernate.LONG}); return (Transition)list.get(0); } - /* (non-Javadoc) + /** + * (non-Javadoc) * @see org.lamsfoundation.lams.learningdesign.dao.ITransitionDAO#getTransitionByfromActivityID(java.lang.Long) */ public Transition getTransitionByfromActivityID(Long fromActivityID) { Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/exception/LearningDesignException.java =================================================================== diff -u -rfc77ed7c05214a99c9d9148a55e160d2d4a455ad -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/exception/LearningDesignException.java (.../LearningDesignException.java) (revision fc77ed7c05214a99c9d9148a55e160d2d4a455ad) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/exception/LearningDesignException.java (.../LearningDesignException.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,16 +1,29 @@ -/* - * Created on Apr 12, 2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.exception; /** - * @author Minhas - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public class LearningDesignException extends Exception { @@ -20,5 +33,24 @@ public LearningDesignException(String message){ super(message); } + /** + * Constructor for wrapping the throwable object + * @param cause + */ + public LearningDesignException(Throwable cause) + { + super(cause); + } + /** + * Constructor for wrapping both the customized error message and + * throwable exception object. + * @param message + * @param cause + */ + public LearningDesignException(String message, Throwable cause) + { + super(message, cause); + } + } Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/ComplextActivityStrategy.java =================================================================== diff -u -r8d2dabc317bc680cb4fc2fff6c598a9a453bec69 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/ComplextActivityStrategy.java (.../ComplextActivityStrategy.java) (revision 8d2dabc317bc680cb4fc2fff6c598a9a453bec69) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/ComplextActivityStrategy.java (.../ComplextActivityStrategy.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,22 +1,24 @@ -/* - *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) - * - *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 2 of the License, or - *(at your option) any later version. - * - *This program is distributed in the hope that it will be useful, - *but WITHOUT ANY WARRANTY; without even the implied warranty of - *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - *GNU General Public License for more details. - * - *You should have received a copy of the GNU General Public License - *along with this program; if not, write to the Free Software - *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - *USA - * - *http://www.gnu.org/licenses/gpl.txt +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.strategy; Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/OptionsActivityStrategy.java =================================================================== diff -u -r8d2dabc317bc680cb4fc2fff6c598a9a453bec69 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/OptionsActivityStrategy.java (.../OptionsActivityStrategy.java) (revision 8d2dabc317bc680cb4fc2fff6c598a9a453bec69) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/OptionsActivityStrategy.java (.../OptionsActivityStrategy.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,22 +1,24 @@ -/* - *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) - * - *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 2 of the License, or - *(at your option) any later version. - * - *This program is distributed in the hope that it will be useful, - *but WITHOUT ANY WARRANTY; without even the implied warranty of - *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - *GNU General Public License for more details. - * - *You should have received a copy of the GNU General Public License - *along with this program; if not, write to the Free Software - *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - *USA - * - *http://www.gnu.org/licenses/gpl.txt +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.strategy; Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/ParallelActivityStrategy.java =================================================================== diff -u -r8d2dabc317bc680cb4fc2fff6c598a9a453bec69 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/ParallelActivityStrategy.java (.../ParallelActivityStrategy.java) (revision 8d2dabc317bc680cb4fc2fff6c598a9a453bec69) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/ParallelActivityStrategy.java (.../ParallelActivityStrategy.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,22 +1,24 @@ -/* - *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) - * - *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 2 of the License, or - *(at your option) any later version. - * - *This program is distributed in the hope that it will be useful, - *but WITHOUT ANY WARRANTY; without even the implied warranty of - *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - *GNU General Public License for more details. - * - *You should have received a copy of the GNU General Public License - *along with this program; if not, write to the Free Software - *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - *USA - * - *http://www.gnu.org/licenses/gpl.txt +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.strategy; Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/PermissionGateActivityStrategy.java =================================================================== diff -u -r394bfc3611adc9d71b2549e4863db555bf32c6cd -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/PermissionGateActivityStrategy.java (.../PermissionGateActivityStrategy.java) (revision 394bfc3611adc9d71b2549e4863db555bf32c6cd) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/PermissionGateActivityStrategy.java (.../PermissionGateActivityStrategy.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,22 +1,24 @@ -/* - *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) - * - *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 2 of the License, or - *(at your option) any later version. - * - *This program is distributed in the hope that it will be useful, - *but WITHOUT ANY WARRANTY; without even the implied warranty of - *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - *GNU General Public License for more details. - * - *You should have received a copy of the GNU General Public License - *along with this program; if not, write to the Free Software - *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - *USA - * - *http://www.gnu.org/licenses/gpl.txt +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.strategy; Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/SequenceActivityStrategy.java =================================================================== diff -u -r8d2dabc317bc680cb4fc2fff6c598a9a453bec69 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/SequenceActivityStrategy.java (.../SequenceActivityStrategy.java) (revision 8d2dabc317bc680cb4fc2fff6c598a9a453bec69) +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/strategy/SequenceActivityStrategy.java (.../SequenceActivityStrategy.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,22 +1,24 @@ -/* - *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) - * - *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 2 of the License, or - *(at your option) any later version. - * - *This program is distributed in the hope that it will be useful, - *but WITHOUT ANY WARRANTY; without even the implied warranty of - *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - *GNU General Public License for more details. - * - *You should have received a copy of the GNU General Public License - *along with this program; if not, write to the Free Software - *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - *USA - * - *http://www.gnu.org/licenses/gpl.txt +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.learningdesign.strategy; Index: lams_common/src/java/org/lamsfoundation/lams/lesson/LessonCompleteActivity.java =================================================================== diff -u -r95aa4590e8f18e8323cd6efc196b2c3a851b5e2e -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/lesson/LessonCompleteActivity.java (.../LessonCompleteActivity.java) (revision 95aa4590e8f18e8323cd6efc196b2c3a851b5e2e) +++ lams_common/src/java/org/lamsfoundation/lams/lesson/LessonCompleteActivity.java (.../LessonCompleteActivity.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,18 +1,31 @@ -/* - * Created on 16/02/2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.lesson; import org.lamsfoundation.lams.learningdesign.NullActivity; /** * @author dgarth - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates */ public class LessonCompleteActivity extends NullActivity { Index: lams_common/src/java/org/lamsfoundation/lams/lesson/dto/LessonDetailsDTO.java =================================================================== diff -u -rfc77ed7c05214a99c9d9148a55e160d2d4a455ad -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/lesson/dto/LessonDetailsDTO.java (.../LessonDetailsDTO.java) (revision fc77ed7c05214a99c9d9148a55e160d2d4a455ad) +++ lams_common/src/java/org/lamsfoundation/lams/lesson/dto/LessonDetailsDTO.java (.../LessonDetailsDTO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,8 +1,24 @@ -/* - * Created on Mar 15, 2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.lesson.dto; @@ -11,10 +27,7 @@ import org.lamsfoundation.lams.util.wddx.WDDXTAGS; /** - * @author Minhas - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public class LessonDetailsDTO { Index: lams_common/src/java/org/lamsfoundation/lams/security/AuthenticationMethodConfigurer.java =================================================================== diff -u -r19c9010eff6be2e29657beed94349a978088650f -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/security/AuthenticationMethodConfigurer.java (.../AuthenticationMethodConfigurer.java) (revision 19c9010eff6be2e29657beed94349a978088650f) +++ lams_common/src/java/org/lamsfoundation/lams/security/AuthenticationMethodConfigurer.java (.../AuthenticationMethodConfigurer.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,7 +1,24 @@ -/* - * Created on 2004-12-16 - * - * Last modified on 2004-12-16 +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.security; @@ -23,8 +40,6 @@ import org.lamsfoundation.lams.util.XmlFileLoader; /** - * TODO Add description here - * *
* View Source *
Index: lams_common/src/java/org/lamsfoundation/lams/tool/NonGroupedToolSession.java =================================================================== diff -u -raf2133eea2be056c211a5c29d6f68a3d8595a513 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/tool/NonGroupedToolSession.java (.../NonGroupedToolSession.java) (revision af2133eea2be056c211a5c29d6f68a3d8595a513) +++ lams_common/src/java/org/lamsfoundation/lams/tool/NonGroupedToolSession.java (.../NonGroupedToolSession.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,8 +1,24 @@ -/* - * Created on 1/02/2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.tool; @@ -14,9 +30,6 @@ /** * @author daveg - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates */ public class NonGroupedToolSession extends ToolSession { Index: lams_common/src/java/org/lamsfoundation/lams/usermanagement/WorkspaceFolder.java =================================================================== diff -u -r5ef30da5c8c3f97d81d42ac4abed7430f8261ef3 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/usermanagement/WorkspaceFolder.java (.../WorkspaceFolder.java) (revision 5ef30da5c8c3f97d81d42ac4abed7430f8261ef3) +++ lams_common/src/java/org/lamsfoundation/lams/usermanagement/WorkspaceFolder.java (.../WorkspaceFolder.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -329,17 +329,12 @@ /** * This is a utility function which checks whether the given * workspace Folder is empty or not. - * - * TODO As of now it is being assumed that a workspace folder - * can contain only subFolders and Learning designs as its contents. - * For now, other kinds of contents like flat files, zip files, - * documents etc. have not been taken into consideration. * * @return boolean A boolean value indicating whether this - * folder is empty orit contains Learning Designs + * folder is empty or it contains Learning Designs */ public boolean isEmpty(){ - if(!hasSubFolders()){ + if(!hasSubFolders()&& !hasFiles()){ if(this.learningDesigns==null || this.learningDesigns.size()==0) return true; else @@ -348,6 +343,19 @@ return false; } /** + * This is a utility function which checks if the given + * workspaceFolder has files inside it. + * + * @return boolean A boolean value indicating whether this + * folder is empty or it contains Files + */ + public boolean hasFiles(){ + if(this.folderContent!=null && this.folderContent.size()!=0) + return true; + else + return false; + } + /** * @return Returns the folderContents. */ public Set getFolderContent() { Index: lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/IUserOrganisationRoleDAO.java =================================================================== diff -u -r19c9010eff6be2e29657beed94349a978088650f -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/IUserOrganisationRoleDAO.java (.../IUserOrganisationRoleDAO.java) (revision 19c9010eff6be2e29657beed94349a978088650f) +++ lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/IUserOrganisationRoleDAO.java (.../IUserOrganisationRoleDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,16 +1,31 @@ -/* - * Created on 2005-1-12 - * - * Last modified on 2005-1-12 +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.usermanagement.dao; import java.util.List; import org.lamsfoundation.lams.usermanagement.UserOrganisationRole; /** - * TODO Add description here - * ** View Source *
Index: lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/IWorkspaceFolderDAO.java =================================================================== diff -u -rfc77ed7c05214a99c9d9148a55e160d2d4a455ad -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/IWorkspaceFolderDAO.java (.../IWorkspaceFolderDAO.java) (revision fc77ed7c05214a99c9d9148a55e160d2d4a455ad) +++ lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/IWorkspaceFolderDAO.java (.../IWorkspaceFolderDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,8 +1,24 @@ -/* - * Created on Feb 2, 2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.usermanagement.dao; @@ -13,9 +29,6 @@ /** * @author Manpreet Minhas - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates */ public interface IWorkspaceFolderDAO extends IBaseDAO{ public WorkspaceFolder getWorkspaceFolderByID(Integer workspaceFolderID); Index: lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/hibernate/RoleDAO.java =================================================================== diff -u -r19c9010eff6be2e29657beed94349a978088650f -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/hibernate/RoleDAO.java (.../RoleDAO.java) (revision 19c9010eff6be2e29657beed94349a978088650f) +++ lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/hibernate/RoleDAO.java (.../RoleDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,7 +1,24 @@ -/* - * Created on Nov 22, 2004 - * - * Last modified on Nov 22, 2004 +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.usermanagement.dao.hibernate; @@ -13,8 +30,6 @@ import org.lamsfoundation.lams.usermanagement.Role; /** - * TODO Add description here - * ** View Source *
Index: lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/hibernate/UserOrganisationRoleDAO.java =================================================================== diff -u -r19c9010eff6be2e29657beed94349a978088650f -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/hibernate/UserOrganisationRoleDAO.java (.../UserOrganisationRoleDAO.java) (revision 19c9010eff6be2e29657beed94349a978088650f) +++ lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/hibernate/UserOrganisationRoleDAO.java (.../UserOrganisationRoleDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,7 +1,24 @@ -/* - * Created on 2005-1-12 - * - * Last modified on 2005-1-12 +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.usermanagement.dao.hibernate; @@ -13,8 +30,6 @@ import org.lamsfoundation.lams.usermanagement.dao.IUserOrganisationRoleDAO; /** - * TODO Add description here - * ** View Source *
Index: lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/hibernate/WorkspaceDAO.java =================================================================== diff -u -re584edf69cf772af93c4bc9444088abecb6f5520 -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/hibernate/WorkspaceDAO.java (.../WorkspaceDAO.java) (revision e584edf69cf772af93c4bc9444088abecb6f5520) +++ lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/hibernate/WorkspaceDAO.java (.../WorkspaceDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,8 +1,24 @@ -/* - * Created on Mar 22, 2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.usermanagement.dao.hibernate; @@ -12,10 +28,7 @@ import org.lamsfoundation.lams.usermanagement.dao.IWorkspaceDAO; /** - * @author Minhas - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public class WorkspaceDAO extends BaseDAO implements IWorkspaceDAO{ Index: lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/hibernate/WorkspaceFolderDAO.java =================================================================== diff -u -re8dae3d7178a12d09282f26c1c2257728f2fc65a -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/hibernate/WorkspaceFolderDAO.java (.../WorkspaceFolderDAO.java) (revision e8dae3d7178a12d09282f26c1c2257728f2fc65a) +++ lams_common/src/java/org/lamsfoundation/lams/usermanagement/dao/hibernate/WorkspaceFolderDAO.java (.../WorkspaceFolderDAO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,8 +1,24 @@ -/* - * Created on Feb 2, 2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.usermanagement.dao.hibernate; Index: lams_common/src/java/org/lamsfoundation/lams/usermanagement/dto/OrganisationDTO.java =================================================================== diff -u -r79758294f0dfdfd6f805b9232fe3886b1a5b84ae -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/usermanagement/dto/OrganisationDTO.java (.../OrganisationDTO.java) (revision 79758294f0dfdfd6f805b9232fe3886b1a5b84ae) +++ lams_common/src/java/org/lamsfoundation/lams/usermanagement/dto/OrganisationDTO.java (.../OrganisationDTO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,19 +1,32 @@ -/* - * Created on Apr 5, 2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.usermanagement.dto; import org.lamsfoundation.lams.usermanagement.Organisation; import org.lamsfoundation.lams.util.wddx.WDDXTAGS; /** - * @author Minhas - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public class OrganisationDTO { Index: lams_common/src/java/org/lamsfoundation/lams/usermanagement/dto/UserAccessFoldersDTO.java =================================================================== diff -u -re8dae3d7178a12d09282f26c1c2257728f2fc65a -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/usermanagement/dto/UserAccessFoldersDTO.java (.../UserAccessFoldersDTO.java) (revision e8dae3d7178a12d09282f26c1c2257728f2fc65a) +++ lams_common/src/java/org/lamsfoundation/lams/usermanagement/dto/UserAccessFoldersDTO.java (.../UserAccessFoldersDTO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,8 +1,24 @@ -/* - * Created on Mar 24, 2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.usermanagement.dto; Index: lams_common/src/java/org/lamsfoundation/lams/usermanagement/dto/UserDTO.java =================================================================== diff -u -r79758294f0dfdfd6f805b9232fe3886b1a5b84ae -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/usermanagement/dto/UserDTO.java (.../UserDTO.java) (revision 79758294f0dfdfd6f805b9232fe3886b1a5b84ae) +++ lams_common/src/java/org/lamsfoundation/lams/usermanagement/dto/UserDTO.java (.../UserDTO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,18 +1,31 @@ -/* - * Created on Mar 15, 2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.usermanagement.dto; import org.lamsfoundation.lams.util.wddx.WDDXTAGS; /** - * @author Minhas - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public class UserDTO { Index: lams_common/src/java/org/lamsfoundation/lams/usermanagement/dto/WorkspaceDTO.java =================================================================== diff -u -r79758294f0dfdfd6f805b9232fe3886b1a5b84ae -r55901923afea1cbd769d8daa05051aa050bb99b6 --- lams_common/src/java/org/lamsfoundation/lams/usermanagement/dto/WorkspaceDTO.java (.../WorkspaceDTO.java) (revision 79758294f0dfdfd6f805b9232fe3886b1a5b84ae) +++ lams_common/src/java/org/lamsfoundation/lams/usermanagement/dto/WorkspaceDTO.java (.../WorkspaceDTO.java) (revision 55901923afea1cbd769d8daa05051aa050bb99b6) @@ -1,16 +1,29 @@ -/* - * Created on Mar 24, 2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates +/**************************************************************** + * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * ============================================================= + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + * + * http://www.gnu.org/licenses/gpl.txt + * **************************************************************** */ package org.lamsfoundation.lams.usermanagement.dto; /** - * @author Minhas - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates + * @author Manpreet Minhas */ public class WorkspaceDTO {