public class FetchPublicationInfos extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FetchPublicationInfos.ServeurException
Classe permettant de "tracer" une erreur serveur.
|
| Modifier and Type | Field and Description |
|---|---|
protected org.nuxeo.ecm.core.api.CoreSession |
coreSession
Session.
|
static int |
ERROR_CONTENT_FORBIDDEN |
static int |
ERROR_CONTENT_NOT_FOUND
Codes d'erreur
|
static int |
ERROR_PUBLISH_SPACE_FORBIDDEN |
static int |
ERROR_PUBLISH_SPACE_NOT_FOUND |
static int |
ERROR_WORKSPACE_FORBIDDEN |
static int |
ERROR_WORKSPACE_NOT_FOUND |
static String |
ID
Id Nuxeo de l'opération (s'applique à un Document).
|
static String |
INTERNAL_PROCESSING_ERROR_RESPONSE |
protected String |
path
Identifiant ("path" ou uuid) du document en entrée.
|
static int |
SERVER_ERROR |
protected org.nuxeo.ecm.platform.types.TypeManager |
typeService
Service gérant les types.
|
protected org.nuxeo.ecm.platform.usermanager.UserManager |
userManager
Service gérant les utilisateurs.
|
protected String |
webid |
| Constructor and Description |
|---|
FetchPublicationInfos() |
| Modifier and Type | Method and Description |
|---|---|
static String |
computeNavPath(String path)
Supprime le suffixe du nom d'un proxy.
|
net.sf.json.JSONObject |
getSubTypes(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel folder)
Gets allowed subTypes for given folder.
|
Object |
run() |
public static final String ID
public static final int ERROR_CONTENT_NOT_FOUND
public static final int ERROR_CONTENT_FORBIDDEN
public static final int ERROR_PUBLISH_SPACE_NOT_FOUND
public static final int ERROR_PUBLISH_SPACE_FORBIDDEN
public static final int ERROR_WORKSPACE_NOT_FOUND
public static final int ERROR_WORKSPACE_FORBIDDEN
public static final int SERVER_ERROR
public static final String INTERNAL_PROCESSING_ERROR_RESPONSE
protected org.nuxeo.ecm.core.api.CoreSession coreSession
protected org.nuxeo.ecm.platform.types.TypeManager typeService
protected org.nuxeo.ecm.platform.usermanager.UserManager userManager
protected String path
protected String webid
public net.sf.json.JSONObject getSubTypes(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel folder)
throws UnsupportedEncodingException
infosPubli - folder - UnsupportedEncodingExceptionCopyright © 2024. All rights reserved.