|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Remote Administration Protocol (RAP) provides operations
- to get list of share names;
- to get user informations;
- to get workstation informations;
- to get informations about print jobs;
- to manage print jobs.
Method Summary | |
void |
changePassword(java.lang.String user,
java.lang.String oldpwd,
java.lang.String newpwd)
|
void |
continuePrintJob(int jobId)
Resumes a paused print job |
void |
deletePrintJob(int jobId)
Deletes a print job |
CifsPrintJobInfo |
getPrintJobInfo(int jobId)
Lists print jobs in the specified printer queue |
CifsServerInfo |
getServerInfo()
Returns information about the current server |
CifsUserInfo |
getUserInfo(java.lang.String user)
Returns detailed information about a particular user |
CifsWorkstationInfo |
getWorkstationInfo()
Returns detailed information about a workstation. |
CifsPrinterQueueInfo[] |
listPrinterQueues()
|
CifsPrintJobInfo[] |
listPrintJobs(java.lang.String queuename)
Lists print jobs in the specified printer queue |
CifsServerInfo[] |
listServersInfo(java.lang.String domain,
int types)
Lists all computers of the specified type or types that are visible in the specified domain. |
java.lang.String[] |
listServersNames(java.lang.String domain,
int types)
Lists all computers of the specified type or types that are visible in the specified domain. |
CifsShareInfo[] |
listSharesInfo(boolean sort)
Returns the list of shares on the computer |
void |
pausePrintJob(int jobId)
Pauses a print job in a printer queue |
Methods inherited from interface org.gnu.jcifs.CifsSession |
disconnect,
echo,
getConnectTime,
getNetBIOSName,
getProperty,
getServerAddress,
getServerLanMan,
getServerOS,
getServerPrimaryDomain,
getServerTime,
getServerTimeZone,
getSessionName,
getShareName,
isConnected,
isUserLevelSecurity,
reconnect,
setAllowAutoReconnection,
setProperty |
Method Detail |
public CifsShareInfo[] listSharesInfo(boolean sort) throws java.io.IOException
sort
- if true the names are sortedCifsShareInfo
objectspublic CifsWorkstationInfo getWorkstationInfo() throws java.io.IOException
public CifsUserInfo getUserInfo(java.lang.String user) throws java.io.IOException
user
- user namepublic CifsPrinterQueueInfo[] listPrinterQueues() throws java.io.IOException
public CifsPrintJobInfo getPrintJobInfo(int jobId) throws java.io.IOException
queuename
- printer queue namepublic CifsPrintJobInfo[] listPrintJobs(java.lang.String queuename) throws java.io.IOException
queuename
- printer queue namepublic void pausePrintJob(int jobId) throws java.io.IOException
jobId
- print job idpublic void continuePrintJob(int jobId) throws java.io.IOException
jobId
- print job idpublic void deletePrintJob(int jobId) throws java.io.IOException
jobId
- print job idpublic CifsServerInfo[] listServersInfo(java.lang.String domain, int types) throws java.io.IOException
domain
- the name of the workgroup in which to enumerate computers
of the specified type or types. If domain is null, servers
are enumerated for the current domain of the computertypes
- the type or types of computer to enumerate. Computer that
match at least one of the specified types are returned (SV_*)public java.lang.String[] listServersNames(java.lang.String domain, int types) throws java.io.IOException
domain
- the name of the workgroup in which to enumerate computers
of the specified type or types. If domain is null, servers
are enumerated for the current domain of the computertypes
- the type or types of computer to enumerate. Computer that
match at least one of the specified types are returned (SV_*)java.lang.String
(sorted)public CifsServerInfo getServerInfo() throws java.io.IOException
public void changePassword(java.lang.String user, java.lang.String oldpwd, java.lang.String newpwd) throws java.io.IOException
|
Norbert Hranitzky | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |