use of org.alfresco.repo.importer.ImporterBootstrap in project acs-community-packaging by Alfresco.
the class Application method getInviteEmailTemplatesFolderName.
/**
* Returns the Invite Email Templates folder name
*
* @param context The spring context
* @return The invite email folder name
*/
private static String getInviteEmailTemplatesFolderName(WebApplicationContext context) {
if (inviteEmailTemplatesFolderName == null) {
ImporterBootstrap bootstrap = (ImporterBootstrap) context.getBean(BEAN_IMPORTER_BOOTSTRAP);
Properties configuration = bootstrap.getConfiguration();
inviteEmailTemplatesFolderName = configuration.getProperty("spaces.templates.email.invite1.childname");
}
return inviteEmailTemplatesFolderName;
}
use of org.alfresco.repo.importer.ImporterBootstrap in project acs-community-packaging by Alfresco.
the class Application method getRepositoryStoreRef.
/**
* Returns the repository store URL
*
* @param context The spring context
* @return The repository store URL to use
*/
private static StoreRef getRepositoryStoreRef(WebApplicationContext context) {
if (repoStoreRef == null) {
ImporterBootstrap bootstrap = (ImporterBootstrap) context.getBean(BEAN_IMPORTER_BOOTSTRAP);
repoStoreRef = bootstrap.getStoreRef();
}
return repoStoreRef;
}
use of org.alfresco.repo.importer.ImporterBootstrap in project acs-community-packaging by Alfresco.
the class Application method getGlossaryFolderName.
/**
* Returns the glossary folder name
*
* @param context The spring context
* @return The glossary folder name
*/
private static String getGlossaryFolderName(WebApplicationContext context) {
if (glossaryFolderName == null) {
ImporterBootstrap bootstrap = (ImporterBootstrap) context.getBean(BEAN_IMPORTER_BOOTSTRAP);
Properties configuration = bootstrap.getConfiguration();
glossaryFolderName = configuration.getProperty("spaces.dictionary.childname");
}
return glossaryFolderName;
}
use of org.alfresco.repo.importer.ImporterBootstrap in project acs-community-packaging by Alfresco.
the class Application method getRootPath.
/**
* Returns the root path for the application
*
* @param context The spring context
* @return The application root path
*/
private static String getRootPath(WebApplicationContext context) {
if (rootPath == null) {
ImporterBootstrap bootstrap = (ImporterBootstrap) context.getBean(BEAN_IMPORTER_BOOTSTRAP);
Properties configuration = bootstrap.getConfiguration();
rootPath = configuration.getProperty("spaces.company_home.childname");
}
return rootPath;
}
use of org.alfresco.repo.importer.ImporterBootstrap in project acs-community-packaging by Alfresco.
the class Application method getGuestHomeFolderName.
/**
* Returns the Guest Home folder name name
*
* @param context The spring context
* @return The Guest Home folder name
*/
private static String getGuestHomeFolderName(WebApplicationContext context) {
if (guestHomeFolderName == null) {
ImporterBootstrap bootstrap = (ImporterBootstrap) context.getBean(BEAN_IMPORTER_BOOTSTRAP);
Properties configuration = bootstrap.getConfiguration();
guestHomeFolderName = configuration.getProperty("spaces.guest_home.childname");
}
return guestHomeFolderName;
}
Aggregations