Class AccessWays
java.lang.Object
eu.dzhw.fdz.metadatamanagement.variablemanagement.domain.AccessWays
public class AccessWays extends Object
-
Field Summary
Fields Modifier and Type Field Description static List<String>
ALL
static String
DOWNLOAD_CUF
static String
DOWNLOAD_SUF
static String
NOT_ACCESSIBLE
static String
ONSITE_SUF
static String
REMOTE_DESKTOP
-
Constructor Summary
Constructors Constructor Description AccessWays()
-
Method Summary
Modifier and Type Method Description static freemarker.template.TemplateMethodModelEx
createDisplayAccessWayMethod()
Create a freemarker method to be used in freemarker templates to display access ways.static String
displayAccessWay(String accessWay)
Get a string which can be used for presenting access ways to users.
-
Field Details
-
DOWNLOAD_CUF
- See Also:
- Constant Field Values
-
DOWNLOAD_SUF
- See Also:
- Constant Field Values
-
REMOTE_DESKTOP
- See Also:
- Constant Field Values
-
ONSITE_SUF
- See Also:
- Constant Field Values
-
NOT_ACCESSIBLE
- See Also:
- Constant Field Values
-
ALL
-
-
Constructor Details
-
AccessWays
public AccessWays()
-
-
Method Details
-
displayAccessWay
Get a string which can be used for presenting access ways to users.- Parameters:
accessWay
- an access way- Returns:
- the more human readable string
-
createDisplayAccessWayMethod
public static freemarker.template.TemplateMethodModelEx createDisplayAccessWayMethod()Create a freemarker method to be used in freemarker templates to display access ways.- Returns:
- The
TemplateMethodModelEx
which is a freemarker method.
-