@Component @Singleton public class DummyFormularDocumentAccessBridge extends Object implements org.xwiki.bridge.DocumentAccessBridge
| Constructor and Description |
|---|
DummyFormularDocumentAccessBridge() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(org.xwiki.model.reference.DocumentReference documentReference) |
boolean |
exists(String documentReference)
Deprecated.
|
InputStream |
getAttachmentContent(org.xwiki.model.reference.AttachmentReference attachmentReference) |
byte[] |
getAttachmentContent(String documentReference,
String attachmentName)
Deprecated.
|
List<org.xwiki.model.reference.AttachmentReference> |
getAttachmentReferences(org.xwiki.model.reference.DocumentReference documentReference) |
String |
getAttachmentURL(org.xwiki.model.reference.AttachmentReference attachmentReference,
boolean isFullURL) |
String |
getAttachmentURL(org.xwiki.model.reference.AttachmentReference attachmentReference,
String queryString,
boolean isFullURL) |
String |
getAttachmentURL(String documentReference,
String attachmentFilename)
Deprecated.
|
List<String> |
getAttachmentURLs(org.xwiki.model.reference.DocumentReference documentReference,
boolean isFullURL)
Deprecated.
|
String |
getAttachmentVersion(org.xwiki.model.reference.AttachmentReference attachmentReference) |
org.xwiki.model.reference.DocumentReference |
getCurrentDocumentReference() |
String |
getCurrentUser()
Deprecated.
|
org.xwiki.model.reference.DocumentReference |
getCurrentUserReference() |
String |
getCurrentWiki()
Deprecated.
|
String |
getDefaultEncoding() |
org.xwiki.bridge.DocumentModelBridge |
getDocument(org.xwiki.model.reference.DocumentReference documentReference) |
org.xwiki.bridge.DocumentModelBridge |
getDocument(String documentReference)
Deprecated.
|
String |
getDocumentContent(org.xwiki.model.reference.DocumentReference documentReference,
String language) |
String |
getDocumentContent(String documentReference)
Deprecated.
|
String |
getDocumentContent(String documentReference,
String language)
Deprecated.
|
String |
getDocumentContentForDefaultLanguage(org.xwiki.model.reference.DocumentReference documentReference) |
String |
getDocumentContentForDefaultLanguage(String documentReference)
Deprecated.
|
String |
getDocumentSyntaxId(String documentReference)
Deprecated.
|
String |
getDocumentURL(org.xwiki.model.reference.DocumentReference documentReference,
String action,
String queryString,
String anchor) |
String |
getDocumentURL(org.xwiki.model.reference.DocumentReference documentReference,
String action,
String queryString,
String anchor,
boolean isFullURL) |
int |
getObjectNumber(org.xwiki.model.reference.DocumentReference documentReference,
org.xwiki.model.reference.DocumentReference classReference,
String parameterName,
String valueToMatch) |
List<Object> |
getProperties(String documentReference,
String className) |
Object |
getProperty(org.xwiki.model.reference.DocumentReference documentReference,
org.xwiki.model.reference.DocumentReference classReference,
int objectNumber,
String propertyName) |
Object |
getProperty(org.xwiki.model.reference.DocumentReference documentReference,
org.xwiki.model.reference.DocumentReference classReference,
String propertyName) |
Object |
getProperty(org.xwiki.model.reference.ObjectPropertyReference objectPropertyReference) |
Object |
getProperty(org.xwiki.model.reference.ObjectReference objectReference,
String propertyName) |
Object |
getProperty(String documentReference,
String propertyName) |
Object |
getProperty(String documentReference,
String className,
int objectNumber,
String propertyName) |
Object |
getProperty(String documentReference,
String className,
String propertyName)
Deprecated.
|
String |
getPropertyType(String className,
String propertyName) |
String |
getURL(String documentReference,
String action,
String queryString,
String anchor)
Deprecated.
|
boolean |
hasProgrammingRights() |
boolean |
isDocumentEditable(org.xwiki.model.reference.DocumentReference documentReference) |
boolean |
isDocumentEditable(String documentReference)
Deprecated.
|
boolean |
isDocumentViewable(org.xwiki.model.reference.DocumentReference documentReference) |
boolean |
isDocumentViewable(String documentReference)
Deprecated.
|
boolean |
isPropertyCustomMapped(String className,
String propertyName) |
void |
popDocumentFromContext(Map<String,Object> backupObjects) |
void |
pushDocumentInContext(Map<String,Object> backupObjects,
org.xwiki.model.reference.DocumentReference documentReference) |
void |
pushDocumentInContext(Map<String,Object> backupObjects,
String documentReference)
Deprecated.
|
void |
setAttachmentContent(org.xwiki.model.reference.AttachmentReference attachmentReference,
byte[] attachmentData) |
void |
setAttachmentContent(String documentReference,
String attachmentFilename,
byte[] attachmentData)
Deprecated.
|
void |
setCurrentUser(String userName) |
void |
setDocumentContent(org.xwiki.model.reference.DocumentReference documentReference,
String content,
String editComment,
boolean isMinorEdit) |
void |
setDocumentContent(String documentReference,
String content,
String editComment,
boolean isMinorEdit)
Deprecated.
|
void |
setDocumentParentReference(org.xwiki.model.reference.DocumentReference documentReference,
org.xwiki.model.reference.DocumentReference parentReference) |
void |
setDocumentSyntaxId(org.xwiki.model.reference.DocumentReference documentReference,
String syntaxId) |
void |
setDocumentSyntaxId(String documentReference,
String syntaxId)
Deprecated.
|
void |
setDocumentTitle(org.xwiki.model.reference.DocumentReference documentReference,
String title) |
void |
setProperty(org.xwiki.model.reference.DocumentReference documentReference,
org.xwiki.model.reference.DocumentReference classReference,
String propertyName,
Object propertyValue) |
void |
setProperty(String documentReference,
String className,
String propertyName,
Object propertyValue)
Deprecated.
|
@Deprecated public org.xwiki.bridge.DocumentModelBridge getDocument(String documentReference) throws Exception
getDocument in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic org.xwiki.bridge.DocumentModelBridge getDocument(org.xwiki.model.reference.DocumentReference documentReference)
throws Exception
getDocument in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic org.xwiki.model.reference.DocumentReference getCurrentDocumentReference()
getCurrentDocumentReference in interface org.xwiki.bridge.DocumentAccessBridgepublic boolean exists(org.xwiki.model.reference.DocumentReference documentReference)
exists in interface org.xwiki.bridge.DocumentAccessBridge@Deprecated public boolean exists(String documentReference)
exists in interface org.xwiki.bridge.DocumentAccessBridgepublic void setDocumentContent(org.xwiki.model.reference.DocumentReference documentReference,
String content,
String editComment,
boolean isMinorEdit)
throws Exception
setDocumentContent in interface org.xwiki.bridge.DocumentAccessBridgeException@Deprecated public void setDocumentContent(String documentReference, String content, String editComment, boolean isMinorEdit) throws Exception
setDocumentContent in interface org.xwiki.bridge.DocumentAccessBridgeException@Deprecated public String getDocumentContent(String documentReference) throws Exception
getDocumentContent in interface org.xwiki.bridge.DocumentAccessBridgeException@Deprecated public String getDocumentSyntaxId(String documentReference) throws Exception
getDocumentSyntaxId in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic void setDocumentSyntaxId(org.xwiki.model.reference.DocumentReference documentReference,
String syntaxId)
throws Exception
setDocumentSyntaxId in interface org.xwiki.bridge.DocumentAccessBridgeException@Deprecated public void setDocumentSyntaxId(String documentReference, String syntaxId) throws Exception
setDocumentSyntaxId in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic void setDocumentParentReference(org.xwiki.model.reference.DocumentReference documentReference,
org.xwiki.model.reference.DocumentReference parentReference)
throws Exception
setDocumentParentReference in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic void setDocumentTitle(org.xwiki.model.reference.DocumentReference documentReference,
String title)
throws Exception
setDocumentTitle in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic String getDocumentContentForDefaultLanguage(org.xwiki.model.reference.DocumentReference documentReference) throws Exception
getDocumentContentForDefaultLanguage in interface org.xwiki.bridge.DocumentAccessBridgeException@Deprecated public String getDocumentContentForDefaultLanguage(String documentReference) throws Exception
getDocumentContentForDefaultLanguage in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic String getDocumentContent(org.xwiki.model.reference.DocumentReference documentReference, String language) throws Exception
getDocumentContent in interface org.xwiki.bridge.DocumentAccessBridgeException@Deprecated public String getDocumentContent(String documentReference, String language) throws Exception
getDocumentContent in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic int getObjectNumber(org.xwiki.model.reference.DocumentReference documentReference,
org.xwiki.model.reference.DocumentReference classReference,
String parameterName,
String valueToMatch)
getObjectNumber in interface org.xwiki.bridge.DocumentAccessBridgepublic Object getProperty(String documentReference, String className, int objectNumber, String propertyName)
getProperty in interface org.xwiki.bridge.DocumentAccessBridge@Deprecated public Object getProperty(String documentReference, String className, String propertyName)
getProperty in interface org.xwiki.bridge.DocumentAccessBridgepublic Object getProperty(org.xwiki.model.reference.ObjectReference objectReference, String propertyName)
getProperty in interface org.xwiki.bridge.DocumentAccessBridgepublic Object getProperty(org.xwiki.model.reference.ObjectPropertyReference objectPropertyReference)
getProperty in interface org.xwiki.bridge.DocumentAccessBridgepublic Object getProperty(org.xwiki.model.reference.DocumentReference documentReference, org.xwiki.model.reference.DocumentReference classReference, String propertyName)
getProperty in interface org.xwiki.bridge.DocumentAccessBridgepublic Object getProperty(org.xwiki.model.reference.DocumentReference documentReference, org.xwiki.model.reference.DocumentReference classReference, int objectNumber, String propertyName)
getProperty in interface org.xwiki.bridge.DocumentAccessBridgepublic Object getProperty(String documentReference, String propertyName)
getProperty in interface org.xwiki.bridge.DocumentAccessBridgepublic List<Object> getProperties(String documentReference, String className)
getProperties in interface org.xwiki.bridge.DocumentAccessBridgepublic String getPropertyType(String className, String propertyName) throws Exception
getPropertyType in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic boolean isPropertyCustomMapped(String className, String propertyName) throws Exception
isPropertyCustomMapped in interface org.xwiki.bridge.DocumentAccessBridgeException@Deprecated public void setProperty(String documentReference, String className, String propertyName, Object propertyValue) throws Exception
setProperty in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic void setProperty(org.xwiki.model.reference.DocumentReference documentReference,
org.xwiki.model.reference.DocumentReference classReference,
String propertyName,
Object propertyValue)
throws Exception
setProperty in interface org.xwiki.bridge.DocumentAccessBridgeException@Deprecated public byte[] getAttachmentContent(String documentReference, String attachmentName) throws Exception
getAttachmentContent in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic InputStream getAttachmentContent(org.xwiki.model.reference.AttachmentReference attachmentReference) throws Exception
getAttachmentContent in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic void setAttachmentContent(org.xwiki.model.reference.AttachmentReference attachmentReference,
byte[] attachmentData)
throws Exception
setAttachmentContent in interface org.xwiki.bridge.DocumentAccessBridgeException@Deprecated public void setAttachmentContent(String documentReference, String attachmentFilename, byte[] attachmentData) throws Exception
setAttachmentContent in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic String getAttachmentVersion(org.xwiki.model.reference.AttachmentReference attachmentReference) throws Exception
getAttachmentVersion in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic String getDocumentURL(org.xwiki.model.reference.DocumentReference documentReference, String action, String queryString, String anchor)
getDocumentURL in interface org.xwiki.bridge.DocumentAccessBridgepublic String getDocumentURL(org.xwiki.model.reference.DocumentReference documentReference, String action, String queryString, String anchor, boolean isFullURL)
getDocumentURL in interface org.xwiki.bridge.DocumentAccessBridge@Deprecated public String getURL(String documentReference, String action, String queryString, String anchor)
getURL in interface org.xwiki.bridge.DocumentAccessBridgepublic List<org.xwiki.model.reference.AttachmentReference> getAttachmentReferences(org.xwiki.model.reference.DocumentReference documentReference) throws Exception
getAttachmentReferences in interface org.xwiki.bridge.DocumentAccessBridgeException@Deprecated public String getAttachmentURL(String documentReference, String attachmentFilename)
getAttachmentURL in interface org.xwiki.bridge.DocumentAccessBridgepublic String getAttachmentURL(org.xwiki.model.reference.AttachmentReference attachmentReference, boolean isFullURL)
getAttachmentURL in interface org.xwiki.bridge.DocumentAccessBridgepublic String getAttachmentURL(org.xwiki.model.reference.AttachmentReference attachmentReference, String queryString, boolean isFullURL)
getAttachmentURL in interface org.xwiki.bridge.DocumentAccessBridge@Deprecated public List<String> getAttachmentURLs(org.xwiki.model.reference.DocumentReference documentReference, boolean isFullURL) throws Exception
getAttachmentURLs in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic boolean isDocumentViewable(org.xwiki.model.reference.DocumentReference documentReference)
isDocumentViewable in interface org.xwiki.bridge.DocumentAccessBridge@Deprecated public boolean isDocumentViewable(String documentReference)
isDocumentViewable in interface org.xwiki.bridge.DocumentAccessBridge@Deprecated public boolean isDocumentEditable(String documentReference)
isDocumentEditable in interface org.xwiki.bridge.DocumentAccessBridgepublic boolean isDocumentEditable(org.xwiki.model.reference.DocumentReference documentReference)
isDocumentEditable in interface org.xwiki.bridge.DocumentAccessBridgepublic boolean hasProgrammingRights()
hasProgrammingRights in interface org.xwiki.bridge.DocumentAccessBridge@Deprecated public String getCurrentUser()
getCurrentUser in interface org.xwiki.bridge.DocumentAccessBridgepublic org.xwiki.model.reference.DocumentReference getCurrentUserReference()
getCurrentUserReference in interface org.xwiki.bridge.DocumentAccessBridgepublic void setCurrentUser(String userName)
setCurrentUser in interface org.xwiki.bridge.DocumentAccessBridgepublic String getDefaultEncoding()
getDefaultEncoding in interface org.xwiki.bridge.DocumentAccessBridge@Deprecated public void pushDocumentInContext(Map<String,Object> backupObjects, String documentReference) throws Exception
pushDocumentInContext in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic void pushDocumentInContext(Map<String,Object> backupObjects, org.xwiki.model.reference.DocumentReference documentReference) throws Exception
pushDocumentInContext in interface org.xwiki.bridge.DocumentAccessBridgeExceptionpublic void popDocumentFromContext(Map<String,Object> backupObjects)
popDocumentFromContext in interface org.xwiki.bridge.DocumentAccessBridge@Deprecated public String getCurrentWiki()
getCurrentWiki in interface org.xwiki.bridge.DocumentAccessBridgeCopyright © 2003–2019 eXo Platform SAS. All rights reserved.