Changeset 15055
- Timestamp:
- 03/05/10 21:41:57 (2 years ago)
- Location:
- trunk/Jav_Src/src/com/scenari/src/feature/history
- Files:
-
- 2 edited
-
IHistoryAspect.java (modified) (1 diff)
-
SrcFeatureHistory.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Jav_Src/src/com/scenari/src/feature/history/IHistoryAspect.java
r14956 r15055 45 45 import com.scenari.src.aspect.SrcAspectDef; 46 46 47 /** 48 * Aspect pour obtenir l'historique des modifications d'un item. 49 */ 47 50 public interface IHistoryAspect { 48 51 49 public static final ISrcAspectDef<IHistoryAspect> TYPE = new SrcAspectDef<IHistoryAspect>( 50 IHistoryAspect.class); 52 public static final ISrcAspectDef<IHistoryAspect> TYPE = new SrcAspectDef<IHistoryAspect>(IHistoryAspect.class); 51 53 52 54 /** 53 * @return Une liste vide si pas d'entrée d'hi torique.55 * @return Une liste vide si pas d'entrée d'historique. 54 56 */ 55 57 List<ISrcNode> getHistory() throws Exception; -
trunk/Jav_Src/src/com/scenari/src/feature/history/SrcFeatureHistory.java
r14956 r15055 1 /* 2 * LICENCE[[ 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1/CeCILL 2.O 4 * 5 * The contents of this file are subject to the Mozilla Public License Version 6 * 1.1 (the "License"); you may not use this file except in compliance with 7 * the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ 8 * 9 * Software distributed under the License is distributed on an "AS IS" basis, 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 * for the specific language governing rights and limitations under the 12 * License. 13 * 14 * The Original Code is kelis.fr code. 15 * 16 * The Initial Developer of the Original Code is 17 * sylvain.spinelli@kelis.fr 18 * 19 * Portions created by the Initial Developer are Copyright (C) 2010 20 * the Initial Developer. All Rights Reserved. 21 * 22 * Contributor(s): 23 * 24 * 25 * Alternatively, the contents of this file may be used under the terms of 26 * either of the GNU General Public License Version 2 or later (the "GPL"), 27 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 * or the CeCILL Licence Version 2.0 (http://www.cecill.info/licences.en.html), 29 * in which case the provisions of the GPL, the LGPL or the CeCILL are applicable 30 * instead of those above. If you wish to allow use of your version of this file 31 * only under the terms of either the GPL or the LGPL, and not to allow others 32 * to use your version of this file under the terms of the MPL, indicate your 33 * decision by deleting the provisions above and replace them with the notice 34 * and other provisions required by the GPL or the LGPL. If you do not delete 35 * the provisions above, a recipient may use your version of this file under 36 * the terms of any one of the MPL, the GPL, the LGPL or the CeCILL. 37 * ]]LICENCE 38 */ 1 39 package com.scenari.src.feature.history; 2 40 … … 4 42 5 43 import com.scenari.src.ISrcNode; 6 import com.scenari.src.aspect.AspectNotFoundException;7 44 8 45 public class SrcFeatureHistory { 9 46 10 47 /** 48 * Retourne l'historique d'un {@link ISrcNode}. 11 49 * 12 * @param pSrc 13 * @return Une liste vide si pas d'entrée d'hi torique, null si aucun aspect trouvé.50 * @param pSrc Node pour lequel obtenir un historique 51 * @return Une liste vide si pas d'entrée d'historique, null si aucun aspect trouvé. 14 52 */ 15 53 public static List<ISrcNode> getHistory(ISrcNode pSrc) throws Exception {
Note: See TracChangeset
for help on using the changeset viewer.