public static class SetWebID.UnrestrictedSilentSetWebIdRunner
extends fr.toutatice.ecm.platform.core.helper.ToutaticeSilentProcessRunnerHelper
| Modifier | Constructor and Description |
|---|---|
protected |
UnrestrictedSilentSetWebIdRunner(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel document,
String chainSource) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getBlobExtensionIfExists(String webid)
for Files or Pictures : put the extension of the file if exists.
|
org.nuxeo.ecm.core.api.DocumentModel |
getDocument() |
protected String |
getWebId() |
static boolean |
isNotUnique(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel document,
String webId)
Checks repository unicity of given webId.
|
protected String |
removeBlobExtensionIfExists(String webid,
String extension)
Remove blob extension from webid (if exists).
|
void |
run() |
silentRun, silentRunprotected UnrestrictedSilentSetWebIdRunner(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel document,
String chainSource)
public org.nuxeo.ecm.core.api.DocumentModel getDocument()
public void run()
throws org.nuxeo.ecm.core.api.ClientException
run in class org.nuxeo.ecm.core.api.UnrestrictedSessionRunnerorg.nuxeo.ecm.core.api.ClientExceptionprotected String getWebId()
protected String getBlobExtensionIfExists(String webid)
webid - protected String removeBlobExtensionIfExists(String webid, String extension)
webid - extension - public static boolean isNotUnique(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel document,
String webId)
webid - Copyright © 2024. All rights reserved.