Uses of Class
org.appng.api.BusinessException
-
-
Uses of BusinessException in org.appng.api
Methods in org.appng.api that throw BusinessException Modifier and Type Method Description void
RequestSupport. fillBindObject(Object bindobject, FieldProcessor fp, RequestContainer container, ClassLoader classLoader)
Fills the givenbindobject
with the (converted) values provided by aRequestContainer
.Object
RequestSupport. getBindObject(FieldProcessor fp, RequestContainer container, ClassLoader classLoader)
Creates, fills and returns a new bindobject.void
RequestSupport. handleException(FieldProcessor fp, Exception e)
Handles anException
.byte[]
Webservice. processRequest(Site site, Application application, Environment environment, Request request)
Processes the currentRequest
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 Description void
EventHandler. onEvent(E event, Environment environment, Site site)
Handles the givenEvent
, usually by calling it'sperform
-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 Description void
ApplicationRequest. fillBindObject(Object instance, FieldProcessor fp, RequestContainer container, ClassLoader classLoader)
void
RequestSupportImpl. fillBindObject(Object instance, FieldProcessor fp, RequestContainer container, ClassLoader classLoader)
Object
ApplicationRequest. getBindObject(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)
void
ApplicationRequest. handleException(FieldProcessor fp, Exception e)
void
RequestSupportImpl. 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 Description void
ControllerBase. onBusinessException(javax.servlet.http.HttpServletRequest request, BusinessException e)
Methods in org.appng.appngizer.controller that throw BusinessException Modifier and Type Method 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 Description class
NoSuchRepositoryException
class
NoSuchSiteException
Methods in org.appng.cli that throw BusinessException Modifier and Type Method 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 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 Description void
ActivateApplication. execute(CliEnvironment cle)
void
DeactivateApplication. execute(CliEnvironment cle)
void
DeleteApplication. execute(CliEnvironment cle)
void
InstallApplication. 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 Description void
AddRole. execute(CliEnvironment cle)
void
ListRoles. 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 Description void
AddGroup. execute(CliEnvironment cle)
void
CreateGroup. execute(CliEnvironment cle)
void
DeleteGroup. execute(CliEnvironment cle)
void
ListGroups. 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 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 Description void
AddPermission. execute(CliEnvironment cle)
void
ListPermissions. execute(CliEnvironment cle)
void
RemovePermission. 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 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 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 Description void
CreateRepository. execute(CliEnvironment cle)
void
DeleteRepository. 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 Description void
CheckSiteRunning. execute(CliEnvironment cle)
void
CreateSite. execute(CliEnvironment cle)
void
DeleteSite. execute(CliEnvironment cle)
void
ListSites. execute(CliEnvironment cle)
void
ReloadSite. execute(CliEnvironment cle)
void
SetSiteActive. 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 Description void
CreateSubject. execute(CliEnvironment cle)
void
DeleteSubject. execute(CliEnvironment cle)
void
HashPassword. execute(CliEnvironment cle)
void
ListSubjects. 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 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 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 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 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)
PackageVersions
RepositoryImpl. getPackageVersions(String name)
List<PackageVersion>
RepositoryImpl. getPackageVersions(List<Identifier> provisionedPackagesList, 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 Description boolean
RepositoryCache. add(PackageArchive packagearchive)
Adds a singlePackageArchive
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 aRepositoryCache
for the givenRepository
Certification
Repository. getCertification()
Returns theCertification
Certification
RepositoryCache. getCertification()
Returns theCertification
for the cached repository, if anyCertification
RepositoryCacheSoap. getCertification()
List<InstallablePackage>
Repository. getInstallablePackages(List<Identifier> provisionedPackages)
Returns a list ofInstallablePackage
s for the given list of packageIdentifier
sPackageArchive
Repository. getPackageArchive(String packageName, String packageVersion, String packageTimestamp)
Returns thePackageArchive
with the given name, version and timestampPackageArchive
RepositoryCache. getPackageArchive(String packageName, String packageVersion, String packageTimestamp)
Returns aPackageArchive
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()
Packages
Repository. getPackages(String packageName)
PackageVersions
Repository. getPackageVersions(String packageName)
Returns thePackageVersions
for the package with the given name, containing a list ofPackageInfo
rmationsList<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 theRepository
has a validURI
. -
Uses of BusinessException in org.appng.core.service
Methods in org.appng.core.service that throw BusinessException Modifier and Type Method Description void
CoreService. addGroupsToSubject(String userName, List<String> groupNames, boolean clear)
int
CoreService. addPermissions(String applicationName, String roleName, List<String> permissionNames)
void
CoreService. deleteApplication(String applicationName, FieldProcessor fp)
Deletes a Application via the Command Line Interface.protected void
CoreService. deleteApplication(Environment environment, Request request, Integer applicationId, FieldProcessor fp, String applicationDeleteErrorWithCause, String applicationRemovedFromSite, String applicationErrorInvalid, String applicationroleDeleteError, String applicationroleErrorInvalid)
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 ApplicationRolevoid
CoreService. deleteRole(Role role)
void
CoreService. deleteSite(String name, FieldProcessor fp)
void
CoreService. deleteSite(Environment env, SiteImpl site)
void
CoreService. expireCacheElement(Integer siteId, String cacheElement)
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)
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 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.
-