controllers
Class Layers

java.lang.Object
  extended by play.mvc.Results
      extended by play.mvc.Controller
          extended by controllers.Abstract
              extended by controllers.Layers
All Implemented Interfaces:
play.mvc.Http.HeaderNames, play.mvc.Http.Status

public class Layers
extends Abstract

Class is a controller of layers


Nested Class Summary
 
Nested classes/interfaces inherited from class controllers.Abstract
Abstract.ScalaResult
 
Nested classes/interfaces inherited from class play.mvc.Results
play.mvc.Results.AsyncResult, play.mvc.Results.ByteChunks, play.mvc.Results.Chunks<A>, play.mvc.Results.Redirect, play.mvc.Results.Status, play.mvc.Results.StringChunks, play.mvc.Results.Todo
 
Field Summary
 
Fields inherited from class play.mvc.Results
TODO
 
Fields inherited from interface play.mvc.Http.Status
ACCEPTED, BAD_GATEWAY, BAD_REQUEST, CONFLICT, CONTINUE, CREATED, EXPECTATION_FAILED, FORBIDDEN, FOUND, GATEWAY_TIMEOUT, GONE, HTTP_VERSION_NOT_SUPPORTED, INTERNAL_SERVER_ERROR, LENGTH_REQUIRED, METHOD_NOT_ALLOWED, MOVED_PERMANENTLY, MULTIPLE_CHOICES, NO_CONTENT, NON_AUTHORITATIVE_INFORMATION, NOT_ACCEPTABLE, NOT_FOUND, NOT_IMPLEMENTED, NOT_MODIFIED, OK, PARTIAL_CONTENT, PAYMENT_REQUIRED, PRECONDITION_FAILED, PROXY_AUTHENTICATION_REQUIRED, REQUEST_ENTITY_TOO_LARGE, REQUEST_TIMEOUT, REQUEST_URI_TOO_LONG, REQUESTED_RANGE_NOT_SATISFIABLE, RESET_CONTENT, SEE_OTHER, SERVICE_UNAVAILABLE, SWITCHING_PROTOCOLS, TEMPORARY_REDIRECT, UNAUTHORIZED, UNSUPPORTED_MEDIA_TYPE, USE_PROXY
 
Fields inherited from interface play.mvc.Http.HeaderNames
ACCEPT, ACCEPT_CHARSET, ACCEPT_ENCODING, ACCEPT_LANGUAGE, ACCEPT_RANGES, ACCESS_CONTROL_ALLOW_CREDENTIALS, ACCESS_CONTROL_ALLOW_HEADERS, ACCESS_CONTROL_ALLOW_METHODS, ACCESS_CONTROL_ALLOW_ORIGIN, ACCESS_CONTROL_EXPOSE_HEADERS, ACCESS_CONTROL_MAX_AGE, ACCESS_CONTROL_REQUEST_HEADERS, ACCESS_CONTROL_REQUEST_METHOD, AGE, ALLOW, AUTHORIZATION, CACHE_CONTROL, CONNECTION, CONTENT_ENCODING, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_LOCATION, CONTENT_MD5, CONTENT_RANGE, CONTENT_TRANSFER_ENCODING, CONTENT_TYPE, COOKIE, DATE, ETAG, EXPECT, EXPIRES, FROM, HOST, IF_MATCH, IF_MODIFIED_SINCE, IF_NONE_MATCH, IF_RANGE, IF_UNMODIFIED_SINCE, LAST_MODIFIED, LOCATION, MAX_FORWARDS, ORIGIN, PRAGMA, PROXY_AUTHENTICATE, PROXY_AUTHORIZATION, RANGE, REFERER, RETRY_AFTER, SERVER, SET_COOKIE, SET_COOKIE2, TE, TRAILER, TRANSFER_ENCODING, UPGRADE, USER_AGENT, VARY, VIA, WARNING, WWW_AUTHENTICATE
 
Constructor Summary
Layers()
           
 
Method Summary
static play.mvc.Result attributes(java.lang.Long layerId)
           
static play.mvc.Result findGroupById(java.lang.Long groupId, java.lang.String mode)
          find group by id
static play.mvc.Result findLayerById(java.lang.Long layerId)
          find layer by id
static play.mvc.Result getEisInfo(java.lang.Long layerId, java.lang.String objectId)
           
static play.mvc.Result groupList(java.lang.String mode)
           
static play.mvc.Result groupListShortData(java.lang.String mode)
           
static play.mvc.Result layerBbox(java.lang.Long layerId)
           
static play.mvc.Result layerInfo(java.lang.Long layerId)
           
static play.mvc.Result layerList()
           
static play.mvc.Result layerMetaData(java.lang.Long layerId)
           
static play.mvc.Result showEisFile(java.lang.Long layerId, java.lang.String objectId, java.lang.String fileType, java.lang.String fileId)
           
static play.mvc.Result showEisPhotoHeight(java.lang.Long layerId, java.lang.String objectId, java.lang.String photoId, java.lang.Integer height)
           
static play.mvc.Result showEisPhotoHeightWidth(java.lang.Long layerId, java.lang.String objectId, java.lang.String photoId, java.lang.Integer height, java.lang.Integer width)
           
static play.mvc.Result showEisPhotoWithOutHeight(java.lang.Long layerId, java.lang.String objectId, java.lang.String photoId)
           
static play.mvc.Result showQuicklook(java.lang.Long layerId, java.lang.String name)
           
 
Methods inherited from class controllers.Abstract
asJson, async, crossdomain, getTotalPages, jsonResult, jsonResult, system
 
Methods inherited from class play.mvc.Controller
changeLang, ctx, flash, flash, flash, lang, request, response, session, session, session
 
Methods inherited from class play.mvc.Results
async, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, created, created, created, created, created, created, created, created, created, created, created, created, created, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, found, found, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, movedPermanently, movedPermanently, noContent, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, redirect, redirect, seeOther, seeOther, status, status, status, status, status, status, status, status, status, status, status, status, status, temporaryRedirect, temporaryRedirect, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Layers

public Layers()
Method Detail

groupList

public static play.mvc.Result groupList(java.lang.String mode)
Parameters:
mode - if is equals "withLayers", groups return with layers
Returns:
list of groups of layers
See Also:
Group

groupListShortData

public static play.mvc.Result groupListShortData(java.lang.String mode)
Parameters:
mode - if is equals "withLayers", groups return with layers
Returns:
list with short information about the groups of layers
See Also:
Group

findGroupById

public static play.mvc.Result findGroupById(java.lang.Long groupId,
                                            java.lang.String mode)
find group by id

Parameters:
groupId - group id
mode - if is equals "withLayers", groups return with layers
Returns:
information about the group
See Also:
Group

layerInfo

public static play.mvc.Result layerInfo(java.lang.Long layerId)
Parameters:
layerId - layer id
Returns:
information about the layer
See Also:
Layer

layerList

public static play.mvc.Result layerList()
Returns:
list of layers
See Also:
GroupLayers

findLayerById

public static play.mvc.Result findLayerById(java.lang.Long layerId)
find layer by id

Parameters:
layerId - layer id
Returns:
information about the layer
See Also:
GroupLayers

getEisInfo

public static play.mvc.Result getEisInfo(java.lang.Long layerId,
                                         java.lang.String objectId)
Parameters:
layerId - layer id
objectId - layer`s object primary key
Returns:
list of attached files for current layer and current object of layer

showEisPhotoWithOutHeight

public static play.mvc.Result showEisPhotoWithOutHeight(java.lang.Long layerId,
                                                        java.lang.String objectId,
                                                        java.lang.String photoId)
Parameters:
layerId - layer id
objectId - layer`s object primary key
photoId - eis photo object primary key
Returns:
photo

showEisPhotoHeight

public static play.mvc.Result showEisPhotoHeight(java.lang.Long layerId,
                                                 java.lang.String objectId,
                                                 java.lang.String photoId,
                                                 java.lang.Integer height)
Parameters:
layerId - layer id
objectId - layer`s object primary key
photoId - eis photo object primary key
height - image height
Returns:
photo

showEisPhotoHeightWidth

public static play.mvc.Result showEisPhotoHeightWidth(java.lang.Long layerId,
                                                      java.lang.String objectId,
                                                      java.lang.String photoId,
                                                      java.lang.Integer height,
                                                      java.lang.Integer width)
Parameters:
layerId - layer id
objectId - layer`s object primary key
photoId - eis photo object primary key
height - image height
width - image width
Returns:
photo

showEisFile

public static play.mvc.Result showEisFile(java.lang.Long layerId,
                                          java.lang.String objectId,
                                          java.lang.String fileType,
                                          java.lang.String fileId)
Parameters:
layerId - layer id
objectId - layer`s object primary key
fileType - type of file
fileId - file id
Returns:
eis file

layerBbox

public static play.mvc.Result layerBbox(java.lang.Long layerId)
Parameters:
layerId - layer id
Returns:
boundary box of layer

layerMetaData

public static play.mvc.Result layerMetaData(java.lang.Long layerId)
Parameters:
layerId - layer id
Returns:
metadata of layer
See Also:
LayerMetadata

showQuicklook

public static play.mvc.Result showQuicklook(java.lang.Long layerId,
                                            java.lang.String name)

attributes

public static play.mvc.Result attributes(java.lang.Long layerId)
Parameters:
layerId - layer id
Returns:
attributes of layer