utils
Class EisUtils

java.lang.Object
  extended by utils.EisUtils

public class EisUtils
extends java.lang.Object

util for working with EIS


Constructor Summary
EisUtils()
           
 
Method Summary
static EisData file(java.lang.String fileId, EisLayerInfo eisLayerInfo)
           
static java.util.List<EisListItem> filesList(java.lang.Long layerId, java.util.List<EisLayerInfo> eisLayerInfoList, java.lang.String objectId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EisUtils

public EisUtils()
Method Detail

filesList

public static java.util.List<EisListItem> filesList(java.lang.Long layerId,
                                                    java.util.List<EisLayerInfo> eisLayerInfoList,
                                                    java.lang.String objectId)
Parameters:
layerId - layer id
eisLayerInfoList - list of eis information such as information about table with photo or table with video
objectId - layer`s object primary key
Returns:
list of attached files for current layer and current object of layer
See Also:
EisListItem

file

public static EisData file(java.lang.String fileId,
                           EisLayerInfo eisLayerInfo)
Parameters:
fileId - primary key for attached file
eisLayerInfo - eis information about table for getting file
Returns:
full information about attached file, such as byte array, fileName e.t.c.
See Also:
EisData