public class SettingsInterfaceAdaptor extends Object implements SettingsInterface
| Constructor and Description |
|---|
SettingsInterfaceAdaptor() |
public String getEmailSenderAddress() throws UserException, ServerException
getEmailSenderAddress in interface SettingsInterfaceUserExceptionServerExceptionpublic Integer getProtocolBuffersPort() throws UserException, ServerException
getProtocolBuffersPort in interface SettingsInterfaceUserExceptionServerExceptionpublic SServerSettings getServerSettings() throws UserException, ServerException
getServerSettings in interface SettingsInterfaceUserExceptionServerExceptionpublic String getServiceRepositoryUrl() throws UserException, ServerException
getServiceRepositoryUrl in interface SettingsInterfaceUserExceptionServerExceptionpublic String getSiteAddress() throws UserException, ServerException
getSiteAddress in interface SettingsInterfaceUserExceptionServerExceptionpublic String getSmtpServer() throws UserException, ServerException
getSmtpServer in interface SettingsInterfaceUserExceptionServerExceptionpublic Boolean isAllowSelfRegistration() throws UserException, ServerException
isAllowSelfRegistration in interface SettingsInterfaceUserExceptionServerExceptionpublic Boolean isAllowUsersToCreateTopLevelProjects() throws UserException, ServerException
isAllowUsersToCreateTopLevelProjects in interface SettingsInterfaceUserExceptionServerExceptionpublic Boolean isCacheOutputFiles() throws UserException, ServerException
isCacheOutputFiles in interface SettingsInterfaceUserExceptionServerExceptionpublic Boolean isCheckinMergingEnabled() throws UserException, ServerException
isCheckinMergingEnabled in interface SettingsInterfaceUserExceptionServerExceptionpublic Boolean isGenerateGeometryOnCheckin() throws UserException, ServerException
isGenerateGeometryOnCheckin in interface SettingsInterfaceUserExceptionServerExceptionpublic Boolean isHideUserListForNonAdmin() throws UserException, ServerException
isHideUserListForNonAdmin in interface SettingsInterfaceUserExceptionServerExceptionpublic Boolean isSendConfirmationEmailAfterRegistration() throws UserException, ServerException
isSendConfirmationEmailAfterRegistration in interface SettingsInterfaceUserExceptionServerExceptionpublic void setAllowSelfRegistration(Boolean allowSelfRegistration) throws UserException, ServerException
setAllowSelfRegistration in interface SettingsInterfaceallowSelfRegistration - Change whether self-registration is enabledUserExceptionServerExceptionpublic void setAllowUsersToCreateTopLevelProjects(Boolean allowUsersToCreateTopLevelProjects) throws UserException, ServerException
setAllowUsersToCreateTopLevelProjects in interface SettingsInterfaceallowUsersToCreateTopLevelProjects - Set if users can create top level projectsUserExceptionServerExceptionpublic void setCacheOutputFiles(Boolean cacheOutputFiles) throws UserException, ServerException
setCacheOutputFiles in interface SettingsInterfacecacheOutputFiles - Set whether output files (serialized version) should be cached on diskUserExceptionServerExceptionpublic void setCheckinMergingEnabled(Boolean checkinMergingEnabled) throws UserException, ServerException
setCheckinMergingEnabled in interface SettingsInterfacecheckinMergingEnabled - Set whether the BIMserver should do checkin merging (warning: this wil alter your models)UserExceptionServerExceptionpublic void setEmailSenderAddress(String emailSenderAddress) throws UserException, ServerException
setEmailSenderAddress in interface SettingsInterfaceemailSenderAddress - The new e-mail address e-mail will be sent fromUserExceptionServerExceptionpublic void setGenerateGeometryOnCheckin(Boolean generateGeometryOnCheckin) throws UserException, ServerException
setGenerateGeometryOnCheckin in interface SettingsInterfaceUserExceptionServerExceptionpublic void setHideUserListForNonAdmin(Boolean hideUserListForNonAdmin) throws UserException, ServerException
setHideUserListForNonAdmin in interface SettingsInterfacehideUserListForNonAdmin - Set whether user lists should be hidden (privacy)UserExceptionServerExceptionpublic void setProtocolBuffersPort(Integer port) throws UserException, ServerException
setProtocolBuffersPort in interface SettingsInterfaceport - Set the port the ProtocolBuffers server runs onUserExceptionServerExceptionpublic void setSendConfirmationEmailAfterRegistration(Boolean sendConfirmationEmailAfterRegistration) throws UserException, ServerException
setSendConfirmationEmailAfterRegistration in interface SettingsInterfacesendConfirmationEmailAfterRegistration - Set whether a confirmation e-mail should be send after registrationUserExceptionServerExceptionpublic void setServerSettings(SServerSettings serverSettings) throws UserException, ServerException
SettingsInterfacesetServerSettings in interface SettingsInterfaceUserExceptionServerExceptionpublic void setServiceRepositoryUrl(String url) throws UserException, ServerException
setServiceRepositoryUrl in interface SettingsInterfaceurl - A new URL pointing to a server acting as a services repositoryUserExceptionServerExceptionpublic void setSiteAddress(String siteAddress) throws UserException, ServerException
setSiteAddress in interface SettingsInterfacesiteAddress - The new address the BIMserver is running on (used for links in e-mail for example)UserExceptionServerExceptionpublic void setSmtpServer(String smtpServer) throws UserException, ServerException
setSmtpServer in interface SettingsInterfacesmtpServer - New address of the SMTP server used for sending e-mailsUserExceptionServerExceptionpublic void setWhiteListedDomains(List<String> domains) throws UserException, ServerException
SettingsInterfacesetWhiteListedDomains in interface SettingsInterfaceUserExceptionServerExceptionCopyright © 2016 OpenSource BIM. All rights reserved.