public abstract class AbstractAtomPubServiceCall extends AbstractServiceCall
Modifier and Type | Field and Description |
---|---|
static BigInteger |
PAGE_SIZE |
static String |
REPOSITORY_PLACEHOLDER |
static String |
RESOURCE_ACL |
static String |
RESOURCE_ALLOWABLEACIONS |
static String |
RESOURCE_BULK_UPDATE |
static String |
RESOURCE_CHANGES |
static String |
RESOURCE_CHECKEDOUT |
static String |
RESOURCE_CHILDREN |
static String |
RESOURCE_CONTENT |
static String |
RESOURCE_DESCENDANTS |
static String |
RESOURCE_ENTRY |
static String |
RESOURCE_FOLDERTREE |
static String |
RESOURCE_OBJECTBYID |
static String |
RESOURCE_OBJECTBYPATH |
static String |
RESOURCE_PARENTS |
static String |
RESOURCE_POLICIES |
static String |
RESOURCE_QUERY |
static String |
RESOURCE_RELATIONSHIPS |
static String |
RESOURCE_TYPE |
static String |
RESOURCE_TYPES |
static String |
RESOURCE_TYPESDESC |
static String |
RESOURCE_UNFILED |
static String |
RESOURCE_VERSIONS |
static String |
TYPE_AUTHOR |
Constructor and Description |
---|
AbstractAtomPubServiceCall() |
Modifier and Type | Method and Description |
---|---|
UrlBuilder |
compileBaseUrl(javax.servlet.http.HttpServletRequest request,
String repositoryId)
Compiles the base URL for links, collections and templates.
|
String |
compileUrl(UrlBuilder baseUrl,
String resource,
String id)
Compiles a URL for links, collections and templates.
|
UrlBuilder |
compileUrlBuilder(UrlBuilder baseUrl,
String resource,
String id)
Compiles a URL for links, collections and templates.
|
Map<String,String> |
getNamespaces(Object obj) |
void |
writeContentChangesObjectEntry(CmisService service,
AtomEntry entry,
ObjectData object,
List<ObjectInFolderContainer> children,
String repositoryId,
String pathSegment,
String relativePathSegment,
UrlBuilder baseUrl,
boolean isRoot,
CmisVersion cmisVersion)
Writes the a object entry in a content changes list.
|
void |
writeObjectChildren(CmisService service,
AtomEntry entry,
ObjectInfo folderInfo,
List<ObjectInFolderContainer> children,
String repositoryId,
UrlBuilder baseUrl,
CmisVersion cmisVersion)
Writes an objects entry children feed.
|
void |
writeObjectEntry(CmisService service,
AtomEntry entry,
ObjectData object,
List<ObjectInFolderContainer> children,
String repositoryId,
String pathSegment,
String relativePathSegment,
UrlBuilder baseUrl,
boolean isRoot,
CmisVersion cmisVersion)
Writes the a object entry.
|
void |
writeTypeEntry(AtomEntry entry,
TypeDefinition type,
List<TypeDefinitionContainer> children,
String repositoryId,
UrlBuilder baseUrl,
boolean isRoot,
CmisVersion cmisVersion)
Writes the a type entry.
|
closeContentStream, getBigIntegerParameter, getBigIntegerParameter, getBooleanParameter, getBooleanParameter, getEnumParameter, getStringParameter, sendContentStreamHeaders
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
serve
public static final String RESOURCE_CHILDREN
public static final String RESOURCE_DESCENDANTS
public static final String RESOURCE_FOLDERTREE
public static final String RESOURCE_TYPE
public static final String RESOURCE_TYPES
public static final String RESOURCE_TYPESDESC
public static final String RESOURCE_ENTRY
public static final String RESOURCE_PARENTS
public static final String RESOURCE_VERSIONS
public static final String RESOURCE_ALLOWABLEACIONS
public static final String RESOURCE_ACL
public static final String RESOURCE_POLICIES
public static final String RESOURCE_RELATIONSHIPS
public static final String RESOURCE_OBJECTBYID
public static final String RESOURCE_OBJECTBYPATH
public static final String RESOURCE_QUERY
public static final String RESOURCE_CHECKEDOUT
public static final String RESOURCE_UNFILED
public static final String RESOURCE_CHANGES
public static final String RESOURCE_CONTENT
public static final String RESOURCE_BULK_UPDATE
public static final String REPOSITORY_PLACEHOLDER
public static final BigInteger PAGE_SIZE
public static final String TYPE_AUTHOR
public UrlBuilder compileBaseUrl(javax.servlet.http.HttpServletRequest request, String repositoryId)
public String compileUrl(UrlBuilder baseUrl, String resource, String id)
public UrlBuilder compileUrlBuilder(UrlBuilder baseUrl, String resource, String id)
public void writeObjectEntry(CmisService service, AtomEntry entry, ObjectData object, List<ObjectInFolderContainer> children, String repositoryId, String pathSegment, String relativePathSegment, UrlBuilder baseUrl, boolean isRoot, CmisVersion cmisVersion) throws javax.xml.stream.XMLStreamException
public void writeContentChangesObjectEntry(CmisService service, AtomEntry entry, ObjectData object, List<ObjectInFolderContainer> children, String repositoryId, String pathSegment, String relativePathSegment, UrlBuilder baseUrl, boolean isRoot, CmisVersion cmisVersion) throws javax.xml.stream.XMLStreamException
public void writeObjectChildren(CmisService service, AtomEntry entry, ObjectInfo folderInfo, List<ObjectInFolderContainer> children, String repositoryId, UrlBuilder baseUrl, CmisVersion cmisVersion) throws javax.xml.stream.XMLStreamException
public void writeTypeEntry(AtomEntry entry, TypeDefinition type, List<TypeDefinitionContainer> children, String repositoryId, UrlBuilder baseUrl, boolean isRoot, CmisVersion cmisVersion) throws javax.xml.stream.XMLStreamException
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.