org.silverpeas.resourcemanager.util
Class ResourceUtil

java.lang.Object
  extended by org.silverpeas.resourcemanager.util.ResourceUtil

public class ResourceUtil
extends Object

User: Yohann Chastagnier Date: 04/04/13


Constructor Summary
ResourceUtil()
           
 
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
 

Constructor Detail

ResourceUtil

public ResourceUtil()
Method Detail

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.