Package de.xima.fc.gui.model
Interface ServerSelectionModel.Server
- 
- All Superinterfaces:
 Serializable
- All Known Implementing Classes:
 ServerSelectionModel.FrontendServer,ServerSelectionModel.MasterServer
- Enclosing class:
 - ServerSelectionModel
 
public static interface ServerSelectionModel.Server extends Serializable
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBaseFormIncludeUrl()StringgetBaseFormProvideUrl()StringgetBaseUrl()StringgetDisplayName()StringgetFormIncludeUrl()longgetId()StringgetIncludeUrlFor(String resourceName)StringgetPreAliasLink()StringgetProvideLink(boolean useId) 
 - 
 
- 
- 
Method Detail
- 
getDisplayName
String getDisplayName()
- Returns:
 - Name of this server, shown to the user.
 
 
- 
getId
long getId()
- Returns:
 - Unique ID for this server.
 
 
- 
getProvideLink
String getProvideLink(boolean useId)
- Parameters:
 useId- Iffalse, uses the form and client alias for the link. Otherwise, uses the client and project ID.- Returns:
 - Link for opening the form with this server. (/form/provide)
 
 
- 
getBaseUrl
String getBaseUrl()
- Returns:
 - Formcycle base URL. (eg. localhost:8080/xima-formcycle/)
 
 
- 
getFormIncludeUrl
String getFormIncludeUrl()
- Returns:
 - Link for the include script. (/form/include.js?form_base=...)
 
 
- 
getBaseFormIncludeUrl
String getBaseFormIncludeUrl()
- Returns:
 - Link for the include script. (/form/include.js)
 
 
 - 
 
 -