All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
addApplicationRolesToGroup(String groupName,
String applicationName,
List<String> applicationRoleNames,
boolean clear) |
void |
addGroupsToSubject(String userName,
List<String> groupNames,
boolean clear) |
int |
addPermissions(String applicationName,
String roleName,
List<String> permissionNames) |
MigrationService.MigrationStatus |
assignApplicationToSite(SiteImpl site,
Application application,
boolean createProperties) |
protected void |
assignGroupsToSubject(Integer subjectId,
List<Integer> groupIds,
boolean clear) |
protected void |
assignRolesToGroup(Group group,
Site site,
List<Integer> applicationRoleIds) |
protected boolean |
checkPropertyExists(Integer siteId,
Integer applicationId,
PropertyImpl property) |
void |
clearCache(Integer siteId) |
void |
clearCacheStatistics(Integer siteId) |
protected DatabaseConnection |
createDatabaseConnection(DatabaseConnection databaseConnection,
boolean managed) |
GroupImpl |
createGroup(GroupImpl group) |
void |
createProperty(Integer siteId,
Integer applicationId,
PropertyImpl property) |
RepositoryImpl |
createRepository(RepositoryImpl repository) |
void |
createSite(SiteImpl site) |
protected void |
createSite(SiteImpl site,
Environment environment) |
Subject |
createSubject(SubjectImpl subject) |
protected void |
deleteApplication(Environment environment,
Request request,
Integer applicationId,
FieldProcessor fp,
String applicationDeleteErrorWithCause,
String applicationRemovedFromSite,
String applicationErrorInvalid,
String applicationroleDeleteError,
String applicationroleErrorInvalid) |
void |
deleteApplication(String applicationName,
FieldProcessor fp)
Deletes a Application via the Command Line Interface.
|
void |
deleteApplicationRepository(Repository repository) |
void |
deleteGroup(GroupImpl group) |
protected void |
deletePackageVersion(Integer repositoryId,
String packageName,
String packageVersion,
String packageTimestamp) |
void |
deletePermission(Permission permission) |
void |
deleteProperty(PropertyImpl prop) |
protected String |
deleteResource(Environment env,
Integer applicationId,
Integer resourceId) |
protected void |
deleteRole(Integer roleId,
String roleDeleteError,
String roleErrorInvalid)
Deletes a ApplicationRole
|
void |
deleteRole(Role role) |
protected void |
deleteSite(Environment env,
SiteImpl site,
FieldProcessor fp,
Request request,
String siteAliasDeleted,
String siteDeleteError) |
void |
deleteSite(String name,
FieldProcessor fp) |
void |
deleteSubject(Subject subject) |
Integer |
deleteTemplate(String name)
|
void |
expireCacheElement(Integer siteId,
String cacheElement) |
int |
expireCacheElementsStartingWith(Integer siteId,
String cacheElementPrefix) |
AccessibleApplication |
findApplicationByName(String name) |
String |
forgotPassword(AuthSubject subject) |
File |
getApplicationFolder(Environment env,
String applicationName) |
Application |
getApplicationForConnection(DatabaseConnection dbc) |
List<RepositoryImpl> |
getApplicationRepositories() |
Repository |
getApplicationRepositoryByName(String repositoryName) |
Role |
getApplicationRoleForApplication(Integer applicationId,
String roleName) |
RoleImpl |
getApplicationRoleForApplication(String applicationName,
String roleName) |
List<RoleImpl> |
getApplicationRoles() |
List<RoleImpl> |
getApplicationRolesForApplication(Integer applicationId) |
protected File |
getApplicationRootFolder(Environment environment) |
List<ApplicationImpl> |
getApplications() |
Collection<ApplicationSubject> |
getApplicationSubjects(Integer applicationId,
Site site) |
List<AppngCache> |
getCacheEntries(Integer siteId) |
Map<String,String> |
getCacheStatistics(Integer siteId) |
DatabaseConnection |
getDatabaseConnection(Integer dcId,
boolean clearPassword) |
DatabaseConnection |
getDatabaseConnection(SiteImpl site,
ApplicationImpl application) |
org.springframework.data.domain.Page<DatabaseConnection> |
getDatabaseConnections(Integer siteId,
FieldProcessor fp) |
List<DatabaseConnection> |
getDatabaseConnectionsForSite(Integer siteId) |
PasswordHandler |
getDefaultPasswordHandler(AuthSubject authSubject)
Returns the default password manager which should be used to handle all passwords.
|
Site |
getGrantingSite(String grantedSite,
String grantedApplication) |
GroupImpl |
getGroupByName(String name) |
GroupImpl |
getGroupByName(String name,
boolean init) |
List<? extends Group> |
getGroups() |
PasswordHandler |
getPasswordHandler(AuthSubject authSubject)
|
PermissionImpl |
getPermission(String application,
String name) |
List<? extends Permission> |
getPermissionsForApplication(Integer applicationId) |
protected Properties |
getPlatformConfig(Environment environment) |
PropertyHolder |
getPlatformProperties() |
protected org.springframework.data.domain.Page<PropertyImpl> |
getProperties(Integer siteId,
Integer applicationId) |
protected org.springframework.data.domain.Page<PropertyImpl> |
getProperties(Integer siteId,
Integer applicationId,
org.springframework.data.domain.Pageable pageable) |
org.springframework.data.domain.Page<PropertyImpl> |
getProperties(String siteName,
String applicationName) |
org.springframework.data.domain.Page<PropertyImpl> |
getProperties(String siteName,
String applicationName,
org.springframework.data.domain.Pageable pageable) |
PropertyImpl |
getProperty(String propertyId) |
protected Resources |
getResources(Application application,
File applicationCacheFolder,
File applicationRootFolder) |
SiteImpl |
getSite(Integer id) |
SiteApplication |
getSiteApplication(String site,
String application) |
SiteApplication |
getSiteApplicationWithGrantedSites(String site,
String application) |
SiteImpl |
getSiteByName(String name) |
List<SiteImpl> |
getSites() |
Subject |
getSubjectByEmail(String email) |
Subject |
getSubjectById(Integer id,
boolean initialize) |
SubjectImpl |
getSubjectByName(String name,
boolean initialize) |
List<SubjectImpl> |
getSubjects() |
List<SubjectImpl> |
getSubjectsByType(UserType type) |
SiteApplication |
grantApplicationForSites(String site,
String application,
List<String> siteNames) |
PropertyHolder |
initPlatformConfig(Properties defaultOverrides,
String rootPath,
Boolean devMode,
boolean persist,
boolean finalize) |
RoleImpl |
initRole(RoleImpl role) |
protected void |
initSiteProperties(SiteImpl site) |
PackageInfo |
installPackage(Integer repositoryId,
String name,
String version,
String timestamp,
boolean isPrivileged,
boolean isHidden,
boolean isFileBased) |
PackageInfo |
installPackage(Integer repositoryId,
String name,
String version,
String timestamp,
boolean isPrivileged,
boolean isHidden,
boolean isFileBased,
FieldProcessor fp) |
boolean |
isValidPassword(AuthSubject authSubject,
String password) |
boolean |
login(Environment env,
Principal principal) |
boolean |
login(Environment env,
String digest,
int digestMaxValidity) |
boolean |
login(Site site,
Environment env,
String username,
String password) |
boolean |
loginGroup(Environment env,
AuthSubject authSubject,
String password,
Integer groupId) |
void |
logoutSubject(Environment env) |
Template |
provideTemplate(Integer repositoryId,
String templateName,
String templateVersion,
String templateTimestamp) |
protected void |
reloadRepository(Integer repositoryId) |
int |
removePermissions(String applicationName,
String roleName,
List<String> permissionNames) |
void |
resetConnection(FieldProcessor fp,
Integer conId) |
byte[] |
resetPassword(AuthSubject authSubject,
PasswordPolicy passwordPolicy,
String email,
String hash) |
Subject |
restoreSubject(String name) |
PermissionImpl |
savePermission(PermissionImpl p) |
PropertyImpl |
saveProperty(PropertyImpl property) |
void |
saveRepository(RepositoryImpl repo) |
void |
saveRole(RoleImpl role) |
void |
saveSite(SiteImpl site) |
void |
setSiteActive(String name,
boolean active) |
void |
setSiteStartUpTime(SiteImpl site,
Date date) |
protected void |
shutdownSite(Environment env,
String siteName) |
protected void |
synchronizeApplicationResources(Environment env,
Application application,
boolean isFileBased) |
MigrationService.MigrationStatus |
unlinkApplicationFromSite(Integer siteId,
Integer applicationId) |
protected MigrationService.MigrationStatus |
unlinkApplicationFromSite(SiteApplication siteApplication) |
void |
unsetReloadRequired(SiteApplication siteApplication) |
void |
updateApplication(ApplicationImpl application,
boolean isFileBased) |
void |
updateGroup(GroupImpl group) |
Boolean |
updatePassword(char[] password,
char[] passwordConfirmation,
SubjectImpl currentSubject) |
void |
updateSubject(SubjectImpl subject) |
protected void |
writeApplicationResources(Application application,
boolean fileBased,
File outputDir,
Collection<Resource> resources) |