Package org.bedework.calfacade.configs
Class CalAddrPrefixes
java.lang.Object
org.bedework.calfacade.configs.CalAddrPrefixes
- All Implemented Interfaces:
Serializable
To enable mapping of calendar addresses e.g. mailto:fred@example.org
on to principals we need to either do a directory lookup or have
some sort of pattern map.
Setting a caladdr prefix enables pattern mapping. By default
calendar addresses are users
- Author:
- Mike Douglass
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the bedework admin group prefix e.g.getGroup()get the group prefix e.g.getHost()get the host prefix e.g.get the location prefix e.g.get the resource prefix e.g.get the ticket prefix e.g.getUser()get the user prefixvoidsetBwadmingroup(String val) Set the bedework admin group prefix e.g.voidSet the group prefix grp_voidSet the host prefix e.g.voidsetLocation(String val) Set the location prefix e.g.voidsetResource(String val) Set the resource prefix e.g.voidSet the ticket prefix e.g.voidSet the user prefix e.g.
-
Constructor Details
-
CalAddrPrefixes
public CalAddrPrefixes()
-
-
Method Details
-
setUser
Set the user prefix e.g. "/principals/users"- Parameters:
val- String
-
getUser
get the user prefix- Returns:
- String
-
setGroup
Set the group prefix grp_- Parameters:
val- String
-
getGroup
get the group prefix e.g. grp_- Returns:
- String
-
setBwadmingroup
Set the bedework admin group prefix e.g. "agrp_"- Parameters:
val- String
-
getBwadmingroup
Get the bedework admin group prefix e.g. "agrp_"- Returns:
- String
-
setResource
Set the resource prefix e.g. "rsrc_"- Parameters:
val- String
-
getResource
get the resource prefix e.g. "rsrc_"- Returns:
- String
-
setLocation
Set the location prefix e.g. "loc_"- Parameters:
val- String
-
getLocation
get the location prefix e.g. "loc_"- Returns:
- String
-
setTicket
Set the ticket prefix e.g. "tkt_"- Parameters:
val- String
-
getTicket
get the ticket prefix e.g. "tkt_"- Returns:
- String
-
setHost
Set the host prefix e.g. "host_"- Parameters:
val- String
-
getHost
get the host prefix e.g. "host_"- Returns:
- String
-