public class AuthoringWebService extends AbstractWebService implements AuthoringServiceSoapPort
contentService, dictionaryService, namespaceService, nodeService, querySessionCache, searchService, serviceRegistry| Constructor and Description |
|---|
AuthoringWebService() |
| Modifier and Type | Method and Description |
|---|---|
CancelCheckoutResult |
cancelCheckout(Predicate items)
Cancels the checkout.
|
CheckinResult |
checkin(Predicate items,
NamedValue[] comments,
boolean keepCheckedOut)
Checkin a content resource.
|
Reference |
checkinExternal(Reference node,
NamedValue[] comments,
boolean keepCheckedOut,
ContentFormat format,
byte[] content)
Checkin an external content resource thus replacing the existing
working content.
|
CheckoutResult |
checkout(Predicate items,
ParentReference destination)
Checkout a content resource for editing.
|
VersionResult |
createVersion(Predicate items,
NamedValue[] comments,
boolean versionChildren)
Create a snapshot of the specified node(s) in the version store.
|
VersionHistory |
deleteAllVersions(Reference node)
Delete all snapshot versions of the specified node.
|
LockStatus[] |
getLockStatus(Predicate items)
Gets the lock status of the specified nodes.
|
VersionHistory |
getVersionHistory(Reference node)
Gets the version history for the specfied node.
|
Reference[] |
lock(Predicate items,
boolean lockChildren,
LockTypeEnum lockType)
Locks a content resource.
|
void |
revertVersion(Reference node,
String versionLabel)
Revert a node to the snapshot of the specified version.
|
void |
setCheckOutCheckinService(CheckOutCheckInService cociService)
Sets the CheckInCheckOutService to use
|
void |
setLockService(LockService lockService)
Sets the LockService to use
|
void |
setTransactionService(TransactionService transactionService)
Set the transaction service
|
void |
setVersionService(VersionService versionService)
Set the version service
|
Reference[] |
unlock(Predicate items,
boolean unlockChildren)
Unlocks a content resource.
|
setContentService, setDictionaryService, setNamespaceService, setNodeService, setQuerySessionCache, setSearchService, setServiceRegistrypublic void setCheckOutCheckinService(CheckOutCheckInService cociService)
cociService - The CheckInCheckOutServicepublic void setLockService(LockService lockService)
lockService - the lock servicepublic void setVersionService(VersionService versionService)
versionService - the version servicepublic void setTransactionService(TransactionService transactionService)
transactionService - the transaction servicepublic CheckoutResult checkout(Predicate items, ParentReference destination) throws RemoteException, AuthoringFault
AuthoringServiceSoapPortpublic CheckinResult checkin(Predicate items, NamedValue[] comments, boolean keepCheckedOut) throws RemoteException, AuthoringFault
AuthoringServiceSoapPortpublic Reference checkinExternal(Reference node, NamedValue[] comments, boolean keepCheckedOut, ContentFormat format, byte[] content) throws RemoteException, AuthoringFault
AuthoringServiceSoapPortcheckinExternal in interface AuthoringServiceSoapPortRemoteExceptionAuthoringFaultAuthoringServiceSoapPort.checkinExternal(org.alfresco.repo.webservice.types.Reference, org.alfresco.repo.webservice.types.NamedValue[], boolean, org.alfresco.repo.webservice.types.ContentFormat, byte[])public CancelCheckoutResult cancelCheckout(Predicate items) throws RemoteException, AuthoringFault
AuthoringServiceSoapPortcancelCheckout in interface AuthoringServiceSoapPortRemoteExceptionAuthoringFaultAuthoringServiceSoapPort.cancelCheckout(org.alfresco.repo.webservice.types.Predicate)public Reference[] lock(Predicate items, boolean lockChildren, LockTypeEnum lockType) throws RemoteException, AuthoringFault
AuthoringServiceSoapPortpublic Reference[] unlock(Predicate items, boolean unlockChildren) throws RemoteException, AuthoringFault
AuthoringServiceSoapPortunlock in interface AuthoringServiceSoapPortRemoteExceptionAuthoringFaultAuthoringServiceSoapPort.unlock(org.alfresco.repo.webservice.types.Predicate,
boolean)public LockStatus[] getLockStatus(Predicate items) throws RemoteException, AuthoringFault
AuthoringServiceSoapPortgetLockStatus in interface AuthoringServiceSoapPortRemoteExceptionAuthoringFaultAuthoringServiceSoapPort.getLockStatus(org.alfresco.repo.webservice.types.Predicate)public VersionResult createVersion(Predicate items, NamedValue[] comments, boolean versionChildren) throws RemoteException, AuthoringFault
AuthoringServiceSoapPortpublic VersionHistory getVersionHistory(Reference node) throws RemoteException, AuthoringFault
AuthoringServiceSoapPortgetVersionHistory in interface AuthoringServiceSoapPortRemoteExceptionAuthoringFaultAuthoringServiceSoapPort.getVersionHistory(org.alfresco.repo.webservice.types.Reference)public void revertVersion(Reference node, String versionLabel) throws RemoteException, AuthoringFault
AuthoringServiceSoapPortrevertVersion in interface AuthoringServiceSoapPortRemoteExceptionAuthoringFaultAuthoringServiceSoapPort.revertVersion(org.alfresco.repo.webservice.types.Reference,
java.lang.String)public VersionHistory deleteAllVersions(Reference node) throws RemoteException, AuthoringFault
AuthoringServiceSoapPortdeleteAllVersions in interface AuthoringServiceSoapPortRemoteExceptionAuthoringFaultAuthoringServiceSoapPort.deleteAllVersions(org.alfresco.repo.webservice.types.Reference)Copyright © 2005–2014 Alfresco Software. All rights reserved.