A B D E F G H I L M N O P R S T U V W 

A

Account - Class in net.leanix.dropkit.oauth
Account representation
Account() - Constructor for class net.leanix.dropkit.oauth.Account
 
Account(UUID, String) - Constructor for class net.leanix.dropkit.oauth.Account
 
addCORSFilter(Environment) - Method in class net.leanix.dropkit.AppHelper
Enables cross-origin requests.
ApiDocsAssetServlet - Class in net.leanix.dropkit.swagger
 
ApiDocsAssetServlet(String, String, String, Charset, String) - Constructor for class net.leanix.dropkit.swagger.ApiDocsAssetServlet
Creates a new AssetServlet that serves static assets loaded from resourceURL (typically a file: or jar: URL).
AppHelper - Class in net.leanix.dropkit
Application initialisation helper.
AppHelper() - Constructor for class net.leanix.dropkit.AppHelper
 
AppSwaggerSpecFilter - Class in net.leanix.dropkit.swagger
 
AppSwaggerSpecFilter() - Constructor for class net.leanix.dropkit.swagger.AppSwaggerSpecFilter
 
asStringList() - Static method in enum net.leanix.dropkit.oauth.PermissionRole
 
asStringList() - Static method in enum net.leanix.dropkit.oauth.UserRole
 
authenticate(String) - Method in class net.leanix.dropkit.oauth.OAuth2Authenticator
 
AuthenticatedUser - Interface in net.leanix.dropkit.oauth
Interface to identify an authenticated user.
AuthenticatedUserAccount - Interface in net.leanix.dropkit.oauth
Account interface.

B

BasicResponse - Class in net.leanix.dropkit.responses
A generic entity container for api responses.
BasicResponse() - Constructor for class net.leanix.dropkit.responses.BasicResponse
 
BasicResponse(ConstraintViolationException) - Constructor for class net.leanix.dropkit.responses.BasicResponse
 
BasicResponse(BusinessLogicException) - Constructor for class net.leanix.dropkit.responses.BasicResponse
 
BusinessLogicException - Exception in net.leanix.dropkit
An exception to be throw when business logic is violated.
BusinessLogicException(String) - Constructor for exception net.leanix.dropkit.BusinessLogicException
 
BusinessLogicException(String, int) - Constructor for exception net.leanix.dropkit.BusinessLogicException
Uses this for json error message with a defined response status.
BusinessLogicException(String, Throwable) - Constructor for exception net.leanix.dropkit.BusinessLogicException
 
BusinessLogicException(String, String) - Constructor for exception net.leanix.dropkit.BusinessLogicException
 
BusinessLogicExceptionMapper - Class in net.leanix.dropkit
 
BusinessLogicExceptionMapper() - Constructor for class net.leanix.dropkit.BusinessLogicExceptionMapper
 

D

data - Variable in class net.leanix.dropkit.responses.ListResponse
Deprecated.
 
data - Variable in class net.leanix.dropkit.responses.Response
Deprecated.
 
DateTimeDeserializer - Class in net.leanix.dropkit.api
This class can be used with the JsonDeserialize annotation.
DateTimeDeserializer() - Constructor for class net.leanix.dropkit.api.DateTimeDeserializer
 
deserialize(JsonParser, DeserializationContext) - Method in class net.leanix.dropkit.api.RawJsonDeserializer
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class net.leanix.dropkit.swagger.ApiDocsAssetServlet
 
DropkitConfiguration - Class in net.leanix.dropkit
 
DropkitConfiguration() - Constructor for class net.leanix.dropkit.DropkitConfiguration
 

E

ErrorResponse - Class in net.leanix.dropkit.oauth
Representation an error response conform spec
ErrorResponse() - Constructor for class net.leanix.dropkit.oauth.ErrorResponse
 
ErrorResponse(String, String) - Constructor for class net.leanix.dropkit.oauth.ErrorResponse
 
errors - Variable in class net.leanix.dropkit.responses.BasicResponse
 

F

fromObject(Object) - Static method in class net.leanix.dropkit.api.Payload
 
fromString(String) - Static method in class net.leanix.dropkit.api.Payload
 

G

getAccount() - Method in interface net.leanix.dropkit.oauth.AuthenticatedUser
Returns the account (=company).
getAccount() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getApiKey() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getAudience() - Method in class net.leanix.dropkit.oauth.VerifyTokenResponse
 
getBasePath() - Method in class net.leanix.dropkit.swagger.SwaggerConfiguration
 
getData() - Method in class net.leanix.dropkit.responses.ListResponse
Deprecated.
 
getData() - Method in class net.leanix.dropkit.responses.Response
Deprecated.
 
getDisplayName() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getEmail() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getError() - Method in class net.leanix.dropkit.oauth.ErrorResponse
 
getError() - Method in class net.leanix.dropkit.oauth.VerifyTokenResponse
 
getError(String) - Method in class net.leanix.dropkit.responses.BasicResponse
 
getErrorDescription() - Method in class net.leanix.dropkit.oauth.ErrorResponse
 
getErrors() - Method in class net.leanix.dropkit.responses.BasicResponse
 
getExpiresIn() - Method in class net.leanix.dropkit.oauth.VerifyTokenResponse
 
getFeedKey() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getFirstName() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getHref() - Method in class net.leanix.dropkit.api.Link
 
getId() - Method in class net.leanix.dropkit.oauth.Account
 
getId() - Method in interface net.leanix.dropkit.oauth.AuthenticatedUserAccount
 
getId() - Method in class net.leanix.dropkit.oauth.Permission
 
getId() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getIdentifier() - Method in interface net.leanix.dropkit.oauth.AuthenticatedUser
Returns the UUID string representation for regular users or a resource server key or a client key.
getIdentifier() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getIndexFile() - Method in class net.leanix.dropkit.swagger.ApiDocsAssetServlet
 
getKey(String) - Method in class net.leanix.dropkit.api.Payload
Getter.
getLastLogin() - Method in class net.leanix.dropkit.oauth.Permission
 
getLastLogin() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getLastLogin() - Method in interface net.leanix.dropkit.oauth.WorkspacePermission
Returns the time of the last login in the workspace.
getLastName() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getLinks() - Method in interface net.leanix.dropkit.api.LinkProvider
 
getLinks() - Method in class net.leanix.dropkit.oauth.Account
The HATEOAS relations.
getLinks() - Method in class net.leanix.dropkit.oauth.Permission
The HATEOAS relations.
getLinks() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getMessage() - Method in class net.leanix.dropkit.responses.BasicResponse
 
getName() - Method in class net.leanix.dropkit.oauth.Account
 
getName() - Method in interface net.leanix.dropkit.oauth.AuthenticatedUserAccount
 
getOAuthConfiguration() - Method in class net.leanix.dropkit.DropkitConfiguration
Returns the necessary configuration to run oauth resource providers.
getPermissions() - Method in interface net.leanix.dropkit.oauth.AuthenticatedUser
Returns the permission for all the workspaces.
getPermissions() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getPrincipal() - Method in class net.leanix.dropkit.oauth.VerifyTokenResponse
 
getPropertyName() - Method in exception net.leanix.dropkit.BusinessLogicException
 
getRel() - Method in class net.leanix.dropkit.api.Link
 
getResourceURL() - Method in class net.leanix.dropkit.swagger.ApiDocsAssetServlet
 
getRole() - Method in interface net.leanix.dropkit.oauth.AuthenticatedUser
Returns the role of the user in his company.
getRole() - Method in class net.leanix.dropkit.oauth.Permission
 
getRole() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getScopes() - Method in class net.leanix.dropkit.oauth.VerifyTokenResponse
 
getStatus() - Method in exception net.leanix.dropkit.BusinessLogicException
 
getStatus() - Method in interface net.leanix.dropkit.oauth.AuthenticatedUser
Return the status of the user.
getStatus() - Method in class net.leanix.dropkit.oauth.Permission
 
getStatus() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getStatus() - Method in interface net.leanix.dropkit.oauth.WorkspacePermission
Returns the status the user has in the workspace.
getStatus() - Method in class net.leanix.dropkit.responses.BasicResponse
 
getSwaggerConfig() - Method in class net.leanix.dropkit.DropkitConfiguration
 
getTotal() - Method in class net.leanix.dropkit.responses.BasicResponse
 
getType() - Method in class net.leanix.dropkit.responses.BasicResponse
 
getUriPath() - Method in class net.leanix.dropkit.swagger.ApiDocsAssetServlet
 
getUserName() - Method in interface net.leanix.dropkit.oauth.AuthenticatedUser
Returns the username.
getUserName() - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
getWorkspaceId() - Method in class net.leanix.dropkit.oauth.Permission
 
getWorkspaceId() - Method in interface net.leanix.dropkit.oauth.WorkspacePermission
 

H

hasRole(PermissionRole) - Method in class net.leanix.dropkit.oauth.Permission
Checks if the permission has the given role.
hasRole(PermissionRole) - Method in interface net.leanix.dropkit.oauth.WorkspacePermission
Checks if the resource owner has the given role in the workspace.

I

initialize(Bootstrap<? extends Configuration>) - Method in class net.leanix.dropkit.AppHelper
 
initializeISO8601(Bootstrap<? extends Configuration>) - Method in class net.leanix.dropkit.AppHelper
Inits the use of iso8501 time format.
InvalidEntityMapper - Class in net.leanix.dropkit
 
InvalidEntityMapper() - Constructor for class net.leanix.dropkit.InvalidEntityMapper
 
isActive(UserRole) - Method in interface net.leanix.dropkit.oauth.AuthenticatedUser
Convenience method to check if user is active and has the given role.
isActive() - Method in class net.leanix.dropkit.oauth.Permission
 
isActive(PermissionRole) - Method in class net.leanix.dropkit.oauth.Permission
 
isActive(UserRole) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
isActive() - Method in interface net.leanix.dropkit.oauth.WorkspacePermission
Convenience method to check user status.
isActive(PermissionRole) - Method in interface net.leanix.dropkit.oauth.WorkspacePermission
Convenience method to check user status and the given role.
isOperationAllowed(Operation, ApiDescription, Map<String, List<String>>, Map<String, String>, Map<String, List<String>>) - Method in class net.leanix.dropkit.swagger.AppSwaggerSpecFilter
 
isParamAllowed(Parameter, Operation, ApiDescription, Map<String, List<String>>, Map<String, String>, Map<String, List<String>>) - Method in class net.leanix.dropkit.swagger.AppSwaggerSpecFilter
 

L

Link - Class in net.leanix.dropkit.api
A hateoas link.
Link() - Constructor for class net.leanix.dropkit.api.Link
 
Link(String, URI) - Constructor for class net.leanix.dropkit.api.Link
 
LinkProvider - Interface in net.leanix.dropkit.api
An interface for a model which provides HATEOAS links.
ListResponse<Serializable> - Class in net.leanix.dropkit.responses
Deprecated. 
ListResponse() - Constructor for class net.leanix.dropkit.responses.ListResponse
Deprecated.
 
ListResponse(List<Serializable>) - Constructor for class net.leanix.dropkit.responses.ListResponse
Deprecated.
 

M

message - Variable in class net.leanix.dropkit.responses.BasicResponse
 

N

namesSpecificProperty() - Method in exception net.leanix.dropkit.BusinessLogicException
 
net.leanix.dropkit - package net.leanix.dropkit
 
net.leanix.dropkit.api - package net.leanix.dropkit.api
 
net.leanix.dropkit.oauth - package net.leanix.dropkit.oauth
 
net.leanix.dropkit.responses - package net.leanix.dropkit.responses
 
net.leanix.dropkit.swagger - package net.leanix.dropkit.swagger
 

O

OAuth2Authenticator - Class in net.leanix.dropkit.oauth
Authenticator used to protect resources.
OAuth2Authenticator(OAuth2ClientConfig, Logger) - Constructor for class net.leanix.dropkit.oauth.OAuth2Authenticator
Constructor.

P

Payload - Class in net.leanix.dropkit.api
Represents a generic map-like payload class.
Payload() - Constructor for class net.leanix.dropkit.api.Payload
 
Permission - Class in net.leanix.dropkit.oauth
Permission for a user to access a workspace.
Permission() - Constructor for class net.leanix.dropkit.oauth.Permission
 
PermissionRole - Enum in net.leanix.dropkit.oauth
User roles in workspaces.
PermissionStatus - Enum in net.leanix.dropkit.oauth
User status in workspaces.

R

RawJsonDeserializer - Class in net.leanix.dropkit.api
Keeps json value as json, does not try to deserialize it modified to include validation while the json intestines are accessible
RawJsonDeserializer() - Constructor for class net.leanix.dropkit.api.RawJsonDeserializer
 
registerExceptionMappers(Environment) - Method in class net.leanix.dropkit.AppHelper
Registers mappers for invalid-entity and business logic exception.
registerNewRelicReporter(Environment) - Method in class net.leanix.dropkit.AppHelper
Registers new relic reporter
ResourceOwner - Class in net.leanix.dropkit.oauth
User representation on the side of resource providers.
ResourceOwner() - Constructor for class net.leanix.dropkit.oauth.ResourceOwner
 
Response<T> - Class in net.leanix.dropkit.responses
Deprecated. 
Response() - Constructor for class net.leanix.dropkit.responses.Response
Deprecated.
 
Response(T) - Constructor for class net.leanix.dropkit.responses.Response
Deprecated.
Constructor for a result containing a single entity.
ResponseStatus - Enum in net.leanix.dropkit.responses
 
run(DropkitConfiguration, Environment) - Method in class net.leanix.dropkit.AppHelper
To be included in App.run() method
run(DropkitConfiguration, Environment) - Static method in class net.leanix.dropkit.swagger.SwaggerStaticAppHelper
Registers asset bundles and a json spec rewrite filter.

S

SELF - Variable in class net.leanix.dropkit.api.Link
 
setAccount(Account) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
setApiKey(String) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
setAudience(String) - Method in class net.leanix.dropkit.oauth.VerifyTokenResponse
 
setData(List<Serializable>) - Method in class net.leanix.dropkit.responses.ListResponse
Deprecated.
 
setData(T) - Method in class net.leanix.dropkit.responses.Response
Deprecated.
 
setEmail(String) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
setError(String) - Method in class net.leanix.dropkit.oauth.ErrorResponse
 
setError(String) - Method in class net.leanix.dropkit.oauth.VerifyTokenResponse
 
setErrorDescription(String) - Method in class net.leanix.dropkit.oauth.ErrorResponse
 
setErrors(List<ApiError>) - Method in class net.leanix.dropkit.responses.BasicResponse
 
setExpiresIn(Long) - Method in class net.leanix.dropkit.oauth.VerifyTokenResponse
 
setFeedKey(String) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
setFirstName(String) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
setHref(String) - Method in class net.leanix.dropkit.api.Link
 
setId(UUID) - Method in class net.leanix.dropkit.oauth.Account
 
setId(UUID) - Method in class net.leanix.dropkit.oauth.Permission
 
setId(String) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
setIdentifier(String) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
setKey(String, Object) - Method in class net.leanix.dropkit.api.Payload
Setter.
setLastLogin(DateTime) - Method in class net.leanix.dropkit.oauth.Permission
 
setLastLogin(DateTime) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
setLastName(String) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
setLastname(String) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
setName(String) - Method in class net.leanix.dropkit.oauth.Account
 
setPermissions(List<WorkspacePermission>) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
setPrincipal(AuthenticatedUser) - Method in class net.leanix.dropkit.oauth.VerifyTokenResponse
 
setRel(String) - Method in class net.leanix.dropkit.api.Link
 
setRole(PermissionRole) - Method in class net.leanix.dropkit.oauth.Permission
 
setRole(UserRole) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
setScopes(List<String>) - Method in class net.leanix.dropkit.oauth.VerifyTokenResponse
 
setStatus(PermissionStatus) - Method in class net.leanix.dropkit.oauth.Permission
 
setStatus(UserStatus) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
setStatus(ResponseStatus) - Method in class net.leanix.dropkit.responses.BasicResponse
 
setTotal(Long) - Method in class net.leanix.dropkit.responses.BasicResponse
 
setType(String) - Method in class net.leanix.dropkit.responses.BasicResponse
 
setUserName(String) - Method in class net.leanix.dropkit.oauth.ResourceOwner
 
setWorkspaceId(UUID) - Method in class net.leanix.dropkit.oauth.Permission
 
status - Variable in class net.leanix.dropkit.responses.BasicResponse
 
SwaggerConfiguration - Class in net.leanix.dropkit.swagger
Swagger Configuration
SwaggerConfiguration() - Constructor for class net.leanix.dropkit.swagger.SwaggerConfiguration
 
SwaggerStaticAppHelper - Class in net.leanix.dropkit.swagger
App init helper for swagger integration.
SwaggerStaticAppHelper() - Constructor for class net.leanix.dropkit.swagger.SwaggerStaticAppHelper
 

T

toMap() - Method in class net.leanix.dropkit.api.Payload
Returns the internal map.
toResponse(BusinessLogicException) - Method in class net.leanix.dropkit.BusinessLogicExceptionMapper
Builds a response.
toResponse(ConstraintViolationException) - Method in class net.leanix.dropkit.InvalidEntityMapper
 
toString() - Method in class net.leanix.dropkit.api.Payload
 
toString() - Method in class net.leanix.dropkit.oauth.Permission
 
total - Variable in class net.leanix.dropkit.responses.BasicResponse
 
type - Variable in class net.leanix.dropkit.responses.BasicResponse
 

U

UserRole - Enum in net.leanix.dropkit.oauth
User roles on account level.
UserStatus - Enum in net.leanix.dropkit.oauth
User status on account level.

V

validate(JsonNode) - Method in class net.leanix.dropkit.api.RawJsonDeserializer
Validates the parsed json structure.
valueOf(String) - Static method in enum net.leanix.dropkit.oauth.PermissionRole
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.leanix.dropkit.oauth.PermissionStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.leanix.dropkit.oauth.UserRole
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.leanix.dropkit.oauth.UserStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.leanix.dropkit.responses.ResponseStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.leanix.dropkit.oauth.PermissionRole
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.leanix.dropkit.oauth.PermissionStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.leanix.dropkit.oauth.UserRole
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.leanix.dropkit.oauth.UserStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.leanix.dropkit.responses.ResponseStatus
Returns an array containing the constants of this enum type, in the order they are declared.
VerifyTokenResponse - Class in net.leanix.dropkit.oauth
Representation of the answer to a Resource Server when asked to verify a token.
VerifyTokenResponse() - Constructor for class net.leanix.dropkit.oauth.VerifyTokenResponse
 
VerifyTokenResponse(String) - Constructor for class net.leanix.dropkit.oauth.VerifyTokenResponse
 
VerifyTokenResponse(String, List<String>, AuthenticatedUser, Long) - Constructor for class net.leanix.dropkit.oauth.VerifyTokenResponse
 

W

WebApplicationException - Exception in net.leanix.dropkit
Convenience class to avoid boilerplate code, allows sending an error message.
WebApplicationException() - Constructor for exception net.leanix.dropkit.WebApplicationException
 
withMessage(Response.Status, String) - Static method in exception net.leanix.dropkit.WebApplicationException
 
withPayload(Response.Status, Object) - Static method in exception net.leanix.dropkit.WebApplicationException
 
WorkspacePermission - Interface in net.leanix.dropkit.oauth
Permission for a user to access a workspace.
A B D E F G H I L M N O P R S T U V W 

Copyright © 2015 LeanIX GmbH. All rights reserved.