## Uses of Class
org.appng.api.BusinessException

- Packages that use BusinessException
  Package | Description
  --- | ---
  org.appng.api | Base package for the appNG API
  org.appng.api.messaging |
  org.appng.api.support | Implementations of commonly used features like internationalization, permission- and parameter-processing etc.
  org.appng.appngizer.controller |
  org.appng.cli | Base package of the appNG Command Line Interface, containing some classes necessary for bootstrapping.
  org.appng.cli.commands | Base package for the various commands offered by the CLI
  org.appng.cli.commands.application | `ExecutableCliCommand`s for dealing with `Application`s
  org.appng.cli.commands.applicationrole | `ExecutableCliCommand`s for dealing with `Role`s
  org.appng.cli.commands.group | `ExecutableCliCommand`s for dealing with `Group`s
  org.appng.cli.commands.heartbeat |
  org.appng.cli.commands.permission | `ExecutableCliCommand`s for dealing with `Permission`s
  org.appng.cli.commands.platform |
  org.appng.cli.commands.property | `ExecutableCliCommand`s for dealing with `Properties`
  org.appng.cli.commands.repository | `ExecutableCliCommand`s for dealing with a `Repository`
  org.appng.cli.commands.site | `ExecutableCliCommand`s for dealing with `Site`s
  org.appng.cli.commands.subject | `ExecutableCliCommand`s for dealing with `Subject`s
  org.appng.cli.commands.template | `ExecutableCliCommand`s for dealing with templates
  org.appng.cli.prettytable | Utility classes for outputting tables
  org.appng.core.controller.handler | Contains the different `RequestHandler`-implementations
  org.appng.core.domain | The persistent domain objects.
  org.appng.core.model | The non-persistent domain model types.
  org.appng.core.security | Security related types.
  org.appng.core.service | The service layer.
  org.appng.taglib | Contains the appNG JSP `Tag`s

- - ### Uses of BusinessException in org.appng.api

    Methods in org.appng.api that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | RequestSupport.`fillBindObject(Object bindobject, FieldProcessor fp, RequestContainer container, ClassLoader classLoader)` Fills the given `bindobject` with the (converted) values provided by a `RequestContainer`.
    `Object` | RequestSupport.`getBindObject(FieldProcessor fp, RequestContainer container, ClassLoader classLoader)` Creates, fills and returns a new bindobject.
    `void` | RequestSupport.`handleException(FieldProcessor fp, Exception e)` Handles an `Exception`.
    `byte[]` | Webservice.`processRequest(Site site, Application application, Environment environment, Request request)` Processes the current `Request` and return some data.

  - ### Uses of BusinessException in org.appng.api.messaging

    Methods in org.appng.api.messaging that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | EventHandler.`onEvent(E event, Environment environment, Site site)` Handles the given `Event`, usually by calling it's `perform`-method.
    `abstract void` | Event.`perform(Environment environment, Site site)` Performs the event

  - ### Uses of BusinessException in org.appng.api.support

    Methods in org.appng.api.support that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | RequestSupportImpl.`fillBindObject(Object instance, FieldProcessor fp, RequestContainer container, ClassLoader classLoader)`
    `void` | ApplicationRequest.`fillBindObject(Object instance, FieldProcessor fp, RequestContainer container, ClassLoader classLoader)`
    `protected Object` | CallableAction.`getBindObject(FieldProcessor fieldProcessor)` Creates, fills and returns a new bindobject.
    `Object` | RequestSupportImpl.`getBindObject(FieldProcessor fp, RequestContainer container, ClassLoader classLoader)`
    `Object` | ApplicationRequest.`getBindObject(FieldProcessor fp, RequestContainer container, ClassLoader classLoader)`
    `void` | RequestSupportImpl.`handleException(FieldProcessor fp, Exception e)`
    `void` | ApplicationRequest.`handleException(FieldProcessor fp, Exception e)`

  - ### Uses of BusinessException in org.appng.appngizer.controller

    Methods in org.appng.appngizer.controller with parameters of type BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `org.springframework.http.ResponseEntity<Errors>` | ControllerBase.`onBusinessException(javax.servlet.http.HttpServletRequest request, BusinessException e)`

    Methods in org.appng.appngizer.controller that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | SubjectController.`assignGroups(String name, Subject subject)`
    `org.springframework.http.ResponseEntity<Repository>` | RepositoryController.`createRepository(Repository repository)`
    `org.springframework.http.ResponseEntity<Subject>` | SubjectController.`createSubject(Subject subject)`
    `org.springframework.http.ResponseEntity<Void>` | ApplicationController.`deleteApplication(String name)`
    `org.springframework.http.ResponseEntity<Packages>` | RepositoryController.`deleteRepositoryPackage(String name, String packageName, String packageVersion, String packageTimestamp)`
    `org.springframework.http.ResponseEntity<Void>` | RoleController.`deleteRole(String app, String name)`
    `org.springframework.http.ResponseEntity<Void>` | SiteController.`deleteSite(String name)`
    `org.springframework.http.ResponseEntity<Repository>` | RepositoryController.`getRepository(String name)`
    `org.springframework.http.ResponseEntity<Package>` | RepositoryController.`installPackage(String name, Package pkg)`
    `org.springframework.http.ResponseEntity<Void>` | SiteController.`reloadSite(String name)`
    `org.springframework.http.ResponseEntity<Application>` | ApplicationController.`updateApplication(String name, Application application)`
    `org.springframework.http.ResponseEntity<Subject>` | SubjectController.`updateSubject(String name, Subject subject)`
    `org.springframework.http.ResponseEntity<Package>` | RepositoryController.`uploadPackage(String name, org.springframework.web.multipart.MultipartFile file, boolean install, boolean privileged, boolean hidden)`

  - ### Uses of BusinessException in org.appng.cli

    Subclasses of BusinessException in org.appng.cli
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NoSuchRepositoryException`
    `class` | `NoSuchSiteException`

    Methods in org.appng.cli that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | ExecutableCliCommand.`execute(CliEnvironment cle)` Executes the command.

  - ### Uses of BusinessException in org.appng.cli.commands

    Methods in org.appng.cli.commands that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | CommandBatch.`execute(CliEnvironment cle)` Reads each line from the provided file and performs the corresponding command.

  - ### Uses of BusinessException in org.appng.cli.commands.application

    Methods in org.appng.cli.commands.application that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | DeleteApplication.`execute(CliEnvironment cle)`
    `void` | ActivateApplication.`execute(CliEnvironment cle)`
    `void` | InstallApplication.`execute(CliEnvironment cle)`
    `void` | DeactivateApplication.`execute(CliEnvironment cle)`
    `void` | ListApplications.`execute(CliEnvironment cle)`

  - ### Uses of BusinessException in org.appng.cli.commands.applicationrole

    Methods in org.appng.cli.commands.applicationrole that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | ListRoles.`execute(CliEnvironment cle)`
    `void` | AddRole.`execute(CliEnvironment cle)`

  - ### Uses of BusinessException in org.appng.cli.commands.group

    Methods in org.appng.cli.commands.group that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | ListGroups.`execute(CliEnvironment cle)`
    `void` | CreateGroup.`execute(CliEnvironment cle)`
    `void` | DeleteGroup.`execute(CliEnvironment cle)`
    `void` | AddGroup.`execute(CliEnvironment cle)`

  - ### Uses of BusinessException in org.appng.cli.commands.heartbeat

    Methods in org.appng.cli.commands.heartbeat that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | HeartBeat.`execute(CliEnvironment cle)`
    `void` | HeartBeat.HeartBeatEvent.`perform(Environment environment, Site site)`

  - ### Uses of BusinessException in org.appng.cli.commands.permission

    Methods in org.appng.cli.commands.permission that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | RemovePermission.`execute(CliEnvironment cle)`
    `void` | ListPermissions.`execute(CliEnvironment cle)`
    `void` | AddPermission.`execute(CliEnvironment cle)`

  - ### Uses of BusinessException in org.appng.cli.commands.platform

    Methods in org.appng.cli.commands.platform that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | ExtractData.`execute(CliEnvironment cle)`
    `protected void` | ExtractData.`extract(String appngHome, CliEnvironment cle, String applicationDir, String repositoryPath)`

  - ### Uses of BusinessException in org.appng.cli.commands.property

    Methods in org.appng.cli.commands.property that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | CreateProperty.`execute(CliEnvironment cle)`
    `void` | DeleteProperty.`execute(CliEnvironment cle)`
    `void` | ListProperties.`execute(CliEnvironment cle)`
    `void` | UpdateProperty.`execute(CliEnvironment cle)`

  - ### Uses of BusinessException in org.appng.cli.commands.repository

    Methods in org.appng.cli.commands.repository that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | DeleteRepository.`execute(CliEnvironment cle)`
    `void` | CreateRepository.`execute(CliEnvironment cle)`
    `void` | ListRepositories.`execute(CliEnvironment cle)`

  - ### Uses of BusinessException in org.appng.cli.commands.site

    Methods in org.appng.cli.commands.site that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | DeleteSite.`execute(CliEnvironment cle)`
    `void` | SetSiteActive.`execute(CliEnvironment cle)`
    `void` | CheckSiteRunning.`execute(CliEnvironment cle)`
    `void` | CreateSite.`execute(CliEnvironment cle)`
    `void` | ReloadSite.`execute(CliEnvironment cle)`
    `void` | ListSites.`execute(CliEnvironment cle)`

  - ### Uses of BusinessException in org.appng.cli.commands.subject

    Methods in org.appng.cli.commands.subject that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | ListSubjects.`execute(CliEnvironment cle)`
    `void` | CreateSubject.`execute(CliEnvironment cle)`
    `void` | DeleteSubject.`execute(CliEnvironment cle)`
    `void` | HashPassword.`execute(CliEnvironment cle)`

  - ### Uses of BusinessException in org.appng.cli.commands.template

    Methods in org.appng.cli.commands.template that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | DeleteTemplate.`execute(CliEnvironment cle)`
    `void` | InstallTemplate.`execute(CliEnvironment cle)`

  - ### Uses of BusinessException in org.appng.cli.prettytable

    Methods in org.appng.cli.prettytable that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | PrettyTable.`addRow(Object... values)`

  - ### Uses of BusinessException in org.appng.core.controller.handler

    Methods in org.appng.core.controller.handler that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | ServiceRequestHandler.`callWebservice(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, ApplicationRequest applicationRequest, Environment env, Site site, ApplicationProvider application, String webserviceName)`

  - ### Uses of BusinessException in org.appng.core.domain

    Methods in org.appng.core.domain that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `Certification` | RepositoryImpl.`getCertification()`
    `List<InstallablePackage>` | RepositoryImpl.`getInstallablePackages(List<Identifier> provisionedPackages)`
    `PackageArchive` | RepositoryImpl.`getPackageArchive(String applicationName, String applicationVersion, String applicationTimestamp)`
    `Packages` | RepositoryImpl.`getPackages()`
    `Packages` | RepositoryImpl.`getPackages(String packageName)`
    `List<PackageVersion>` | RepositoryImpl.`getPackageVersions(List<Identifier> provisionedPackagesList, String name)`
    `PackageVersions` | RepositoryImpl.`getPackageVersions(String name)`
    `Collection<X509Certificate>` | RepositoryImpl.`getRemoteCerts()` Returns the certificate chain, if this is a signed remote repository.
    `void` | RepositoryImpl.`reload()` Reloads the application repository.

  - ### Uses of BusinessException in org.appng.core.model

    Methods in org.appng.core.model that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | RepositoryCache.`add(PackageArchive packagearchive)` Adds a single `PackageArchive`
    `boolean` | RepositoryCacheSoap.`add(PackageArchive packagearchive)`
    `void` | RepositoryCache.`deletePackageVersion(String packageName, String packageVersion, String packageTimestamp)` Deletes the specified application version from the repository.
    `void` | RepositoryCacheFilesystem.`deletePackageVersion(String packageName, String packageVersion, String packageTimestamp)`
    `void` | RepositoryCacheSoap.`deletePackageVersion(String packageName, String packageVersion, String packageTimestamp)`
    `List<PackageWrapper>` | RepositoryCache.`getApplications()` Returns all packages found in the repository.
    `List<PackageWrapper>` | RepositoryCache.`getApplications(String packageName)` Returns all packages that match the given name in the repository.
    `RepositoryCache` | RepositoryCacheFactory.`getCache(Repository repository)` Returns a `RepositoryCache` for the given `Repository`
    `Certification` | Repository.`getCertification()` Returns the `Certification`
    `Certification` | RepositoryCache.`getCertification()` Returns the `Certification` for the cached repository, if any
    `Certification` | RepositoryCacheSoap.`getCertification()`
    `List<InstallablePackage>` | Repository.`getInstallablePackages(List<Identifier> provisionedPackages)` Returns a list of `InstallablePackage`s for the given list of package `Identifier`s
    `PackageArchive` | Repository.`getPackageArchive(String packageName, String packageVersion, String packageTimestamp)` Returns the `PackageArchive` with the given name, version and timestamp
    `PackageArchive` | RepositoryCache.`getPackageArchive(String packageName, String packageVersion, String packageTimestamp)` Returns a `PackageArchive` for the specified package.
    `PackageArchive` | RepositoryCacheFilesystem.`getPackageArchive(String packageName, String packageVersion, String packageTimestamp)`
    `PackageArchive` | RepositoryCacheSoap.`getPackageArchive(String packageName, String packageVersion, String packageTimestamp)`
    `Packages` | Repository.`getPackages()` Returns the `Packages` offered by this repository, containing a list of all available `Package`s
    `Packages` | Repository.`getPackages(String packageName)` Returns the `Packages` offered by this repository, containing a list of all available `Package`s
    `PackageVersions` | Repository.`getPackageVersions(String packageName)` Returns the `PackageVersions` for the package with the given name, containing a list of `PackageInfo` rmations
    `List<PackageInfo>` | RepositoryCache.`getVersions(String name)` Returns all available versions of a package.
    `List<PackageInfo>` | RepositoryCacheSoap.`getVersions(String packageName)`
    `void` | RepositoryCache.`reload()` Reloads the repository contents by clearing and updating the cache.
    `static void` | RepositoryCacheFactory.`validateRepositoryURI(Repository repository)` Checks whether the `Repository` has a valid `URI`.

  - ### Uses of BusinessException in org.appng.core.security

    Methods in org.appng.core.security that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `default void` | PasswordHandler.`updateSubject(CoreService service)` Deprecated. will be removed in 2.x

  - ### Uses of BusinessException in org.appng.core.service

    Methods in org.appng.core.service that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `void` | CoreService.`addGroupsToSubject(String userName, List<String> groupNames, boolean clear)`
    `int` | CoreService.`addPermissions(String applicationName, String roleName, List<String> permissionNames)`
    `protected void` | CoreService.`deleteApplication(Environment environment, Request request, Integer applicationId, FieldProcessor fp, String applicationDeleteErrorWithCause, String applicationRemovedFromSite, String applicationErrorInvalid, String applicationroleDeleteError, String applicationroleErrorInvalid)`
    `void` | CoreService.`deleteApplication(String applicationName, FieldProcessor fp)` Deletes a Application via the Command Line Interface.
    `protected void` | CoreService.`deletePackageVersion(Integer repositoryId, String packageName, String packageVersion, String packageTimestamp)`
    `protected String` | CoreService.`deleteResource(Environment env, Integer applicationId, Integer resourceId)`
    `protected void` | CoreService.`deleteRole(Integer roleId, String roleDeleteError, String roleErrorInvalid)` Deletes a ApplicationRole
    `void` | CoreService.`deleteRole(Role role)`
    `void` | CoreService.`deleteSite(Environment env, SiteImpl site)`
    `protected void` | CoreService.`deleteSite(Environment env, SiteImpl site, FieldProcessor fp, Request request, String siteAliasDeleted, String siteDeleteError)` Deprecated.
    `void` | CoreService.`deleteSite(String name, FieldProcessor fp)`
    `void` | CoreService.`expireCacheElement(Integer siteId, String cacheElement)`
    `int` | CoreService.`expireCacheElementsStartingWith(Integer siteId, String cacheElementPrefix)` Deprecated. Use `CacheService.expireCacheElementsByPrefix(javax.cache.Cache, String)` or `CacheService.expireCacheElementsByPrefix(Site, String)`.
    `String` | CoreService.`forgotPassword(AuthSubject authSubject)`
    `PackageInfo` | CoreService.`installPackage(Integer repositoryId, String name, String version, String timestamp, boolean isPrivileged, boolean isHidden, boolean isFileBased)`
    `PackageInfo` | CoreService.`installPackage(Integer repositoryId, String name, String version, String timestamp, boolean isPrivileged, boolean isHidden, boolean isFileBased, FieldProcessor fp, boolean updateHiddenAndPrivileged)`
    `Template` | TemplateService.`installTemplate(PackageArchive packageArchive)`
    `Template` | CoreService.`provideTemplate(Integer repositoryId, String templateName, String templateVersion, String templateTimestamp)`
    `protected void` | CoreService.`reloadRepository(Integer repositoryId)`
    `int` | CoreService.`removePermissions(String applicationName, String roleName, List<String> permissionNames)`
    `void` | CoreService.`setSiteActive(String name, boolean active)`
    `protected void` | CoreService.`synchronizeApplicationResources(Environment env, Application application, boolean isFileBased)`
    `void` | CoreService.`updateApplication(ApplicationImpl application, boolean isFileBased)`
    `Boolean` | CoreService.`updatePassword(char[] password, char[] passwordConfirmation, SubjectImpl currentSubject)` Deprecated.
    `protected void` | CoreService.`writeApplicationResources(Application application, boolean fileBased, File outputDir, Collection<Resource> resources)`

  - ### Uses of BusinessException in org.appng.taglib

    Methods in org.appng.taglib that throw BusinessException
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | TagletProcessor.`perform(Site callingSite, Site executingSite, Application application, Map<String,String> tagletAttributes, Request applicationRequest, String methodName, String type, Writer out)` Performs the actual taglet-call.

Copyright © 2011–2023 aiticon GmbH. All rights reserved.