|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LoaderRemote
Remote transport interface for the Loader application. This adds functionality that is generally required by the application and that is not available on other interfaces.
FileFolderRemote| Field Summary | |
|---|---|
static java.lang.String |
SERVICE_NAME
The service name org.alfresco.LoaderRemote |
| Method Summary | |
|---|---|
java.lang.String |
authenticate(java.lang.String username,
java.lang.String password)
Authenticate on the server using the given username and password |
org.alfresco.service.cmr.repository.NodeRef[] |
checkin(java.lang.String ticket,
org.alfresco.service.cmr.repository.NodeRef[] workingCopyNodeRef,
java.util.List versionProperties)
Check in files. |
FileInfo[] |
checkout(java.lang.String ticket,
org.alfresco.service.cmr.repository.NodeRef[] nodeRef)
Check out files. |
void |
coci(java.lang.String ticket,
org.alfresco.service.cmr.repository.NodeRef[] nodeRef,
byte[][] bytes,
java.util.List versionProperties)
Check in Check out files. |
int |
getNodeCount(java.lang.String ticket)
|
int |
getNodeCount(java.lang.String ticket,
org.alfresco.service.cmr.repository.StoreRef storeRef)
|
org.alfresco.service.cmr.repository.NodeRef |
getOrCreateWorkingRoot(java.lang.String ticket,
org.alfresco.service.cmr.repository.StoreRef storeRef)
Get the working cm:folder node for the given store. |
FileInfo[] |
uploadContent(java.lang.String ticket,
org.alfresco.service.cmr.repository.NodeRef folderNodeRef,
java.lang.String[] filenames,
byte[][] bytes)
Upload multiple files to a folder. |
| Field Detail |
|---|
static final java.lang.String SERVICE_NAME
| Method Detail |
|---|
java.lang.String authenticate(java.lang.String username,
java.lang.String password)
org.alfresco.service.cmr.repository.NodeRef getOrCreateWorkingRoot(java.lang.String ticket,
org.alfresco.service.cmr.repository.StoreRef storeRef)
ticket - the authentication ticketstoreRef - the store reference
int getNodeCount(java.lang.String ticket)
ticket - the authentication ticket
int getNodeCount(java.lang.String ticket,
org.alfresco.service.cmr.repository.StoreRef storeRef)
ticket - the authentication ticketstoreRef - the store to query against
FileInfo[] uploadContent(java.lang.String ticket,
org.alfresco.service.cmr.repository.NodeRef folderNodeRef,
java.lang.String[] filenames,
byte[][] bytes)
ticket - the authentication ticketfolderNodeRef - the folder to upload tofilenames - the names of the files to uploadbytes - the contents of the files
void coci(java.lang.String ticket,
org.alfresco.service.cmr.repository.NodeRef[] nodeRef,
byte[][] bytes,
java.util.List versionProperties)
ticket - the authentication ticketnodeRef - a reference to the node to checkoutbytes - the contents of the filesversionProperties - the version properties. If null is passed then the original node
is NOT versioned during the checkin operation.
FileInfo[] checkout(java.lang.String ticket,
org.alfresco.service.cmr.repository.NodeRef[] nodeRef)
ticket - the authentication ticketnodeRef - a reference to the node to checkout
org.alfresco.service.cmr.repository.NodeRef[] checkin(java.lang.String ticket,
org.alfresco.service.cmr.repository.NodeRef[] workingCopyNodeRef,
java.util.List versionProperties)
ticket - the authentication ticketworkingCopyNodeRef - the working copy node referenceversionProperties - the version properties. If null is passed then the original node
is NOT versioned during the checkin operation.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||