org.silverpeas.resourcemanager.util
Class ResourceUtil
java.lang.Object
  
org.silverpeas.resourcemanager.util.ResourceUtil
public class ResourceUtil
- extends Object
 
User: Yohann Chastagnier
 Date: 04/04/13
 
| 
Method Summary | 
static List<Long> | 
toIdList(List<Resource> resources)
 
          Get a list of resource identifiers from a list of resource. | 
static List<Long> | 
toIdList(String stringOfIds)
 
          Get a list of resource identifiers from a string containing resource identifiers separated by
 comma. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ResourceUtil
public ResourceUtil()
toIdList
public static List<Long> toIdList(List<Resource> resources)
- Get a list of resource identifiers from a list of resource.
- Parameters:
 resources - 
- Returns:
 
 
 
toIdList
public static List<Long> toIdList(String stringOfIds)
- Get a list of resource identifiers from a string containing resource identifiers separated by
 comma.
- Parameters:
 stringOfIds - 
- Returns:
 
 
 
Copyright © 2016 Silverpeas. All Rights Reserved.