|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wvcm.ProviderImpl
public class ProviderImpl
Implementation of Provider.
Constructor Summary | |
---|---|
ProviderImpl(ProviderFactory.Callback callback)
Constructor called by ProviderFactory |
|
ProviderImpl(ProviderFactory.Callback callback,
java.util.Hashtable h)
Constructor called by ProviderFactory |
Method Summary | |
---|---|
ProviderFactory.Callback |
callback()
Get the callback of this provider. |
java.util.List |
clientWorkspaceFolderList(PropertyNameList wantedPropertyList)
Return a list of Folder objects that identify folders
on the client that contain workspaces for this Provider. |
Location |
contextLocation(java.lang.String location)
Return a Location whose string value is the specified location. |
Location |
contextLocation(java.lang.String location,
boolean escaped)
Return a Location whose string value is the specified location. |
java.util.List |
getGenericPrincipalList()
NOT YET STANDARD Get the list of generic Principal instances |
java.util.List |
getGenericPrivilegeList()
NOT YET STANDARD Get the list of generic Privilege instances |
static org.jdom.input.SAXBuilder |
getSAXBuilder()
|
java.lang.Object |
initParameter(java.lang.String name)
Get the specified init parameter. |
Location |
location(java.lang.String location)
Return a Location whose string value is the specified location. |
Location |
location(java.lang.String location,
boolean escaped)
Return a Location whose string value is the specified location. |
ResourceList |
resourceList()
Return an empty ResourceList . |
Location |
serverPrivilegesLocation()
|
java.util.List |
serverSharedWorkspaceList(PropertyNameList wantedPropertyList)
Return a list of Workspace objects which
can be used as the argument of the
Workspace.setServerState(javax.wvcm.Workspace) routine
for more than one Workspace . |
java.util.List |
serverWorkspaceFolderList(PropertyNameList wantedPropertyList)
Return a list of Folder objects that identify folders
on the server that contain workspaces for this Provider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProviderImpl(ProviderFactory.Callback callback)
callback
- The object containing the getAuthentication
method that the Provider will call whenever it needs
to authenticate the current user.public ProviderImpl(ProviderFactory.Callback callback, java.util.Hashtable h)
callback
- The object containing the getAuthentication
method that the Provider will call whenever it needs
to authenticate the current user.h
- A hashtable containing provider-specific initialization values.Method Detail |
---|
public java.util.List serverSharedWorkspaceList(PropertyNameList wantedPropertyList) throws WvcmException
Workspace
objects which
can be used as the argument of the
Workspace.setServerState(javax.wvcm.Workspace)
routine
for more than one Workspace
.
If this Provider does not allow multiple workspaces to
share the same ServerState, an empty List is returned.
serverSharedWorkspaceList
in interface Provider
wantedPropertyList
- The properties available in the returned proxies.
WvcmException
public Location location(java.lang.String location) throws WvcmException
Location
whose string value is the specified location.
The location string is checked for the character '%' to see if it is escaped or not.
location
in interface Provider
WvcmException
- with ILLEGAL_LOCATION_SYNTAX if the String is not a valid location.public Location location(java.lang.String location, boolean escaped) throws WvcmException
Location
whose string value is the specified location.
location
in interface Provider
escaped
- is the location escaped?
WvcmException
- with ILLEGAL_LOCATION_SYNTAX if the location is not a valid location.public Location contextLocation(java.lang.String location) throws WvcmException
Location
whose string value is the specified location.
The location string is assumed to be unescaped.
The context is prepended if one has been specified and the location does not already
start with the context.
contextLocation
in interface Provider
WvcmException
- with ILLEGAL_LOCATION_SYNTAX if the location is not a valid location.public Location contextLocation(java.lang.String location, boolean escaped) throws WvcmException
Location
whose string value is the specified location.
The context is prepended if one has been specified and the location does not already
start with the context.
contextLocation
in interface Provider
escaped
- is the location escaped?
WvcmException
- with ILLEGAL_LOCATION_SYNTAX if the location is not a valid location.public ResourceList resourceList()
ResourceList
.
resourceList
in interface Provider
public java.util.List clientWorkspaceFolderList(PropertyNameList wantedPropertyList) throws WvcmException
Folder
objects that identify folders
on the client that contain workspaces for this Provider.
If this Provider does not support workspaces on the
client, an empty List is returned.
clientWorkspaceFolderList
in interface Provider
wantedPropertyList
- The properties available in the returned proxies.
WvcmException
public java.util.List serverWorkspaceFolderList(PropertyNameList wantedPropertyList) throws WvcmException
Folder
objects that identify folders
on the server that contain workspaces for this Provider.
If this Provider does not allow the client to create new
workspaces on the server, an empty List is returned.
serverWorkspaceFolderList
in interface Provider
wantedPropertyList
- The properties available in the returned proxies.
WvcmException
public java.util.List getGenericPrivilegeList()
getGenericPrivilegeList
in interface Provider
public java.util.List getGenericPrincipalList()
getGenericPrincipalList
in interface Provider
public java.lang.Object initParameter(java.lang.String name)
name
- the parameter name
public ProviderFactory.Callback callback()
public Location serverPrivilegesLocation() throws WvcmException
WvcmException
public static org.jdom.input.SAXBuilder getSAXBuilder()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |