public abstract class AbstractSiteDocumentObject extends DocumentObject
Modifier and Type | Field and Description |
---|---|
static int |
FLASH_WELCOME_MEDIA |
static int |
IMAGE_WELCOME_MEDIA |
static int |
NO_WELCOME_MEDIA |
Constructor and Description |
---|
AbstractSiteDocumentObject() |
Modifier and Type | Method and Description |
---|---|
Object |
_getSearchParameters()
JAX-RS specs doesn't allow multiple REST designator on a single method so we need to use another method to do a
POST.
|
Object |
createWebPage()
Creates a new web page object.
|
javax.ws.rs.core.Response |
doDelete() |
Object |
doGet()
Executes the GET requests on the current web object
|
Object |
getHomePagePath()
Method used to retrieve the path to the current web container.
|
javax.ws.rs.core.Response |
getLogo()
Retrieves the logo of the current web object.
|
Object |
getSearchParameters()
Method called before a search operation is made for the context of the current web object.
|
javax.ws.rs.core.Response |
getWelcomeMedia()
Returns the welcome media of the current web object.
|
int |
getWelcomeMediaHeight() |
int |
getWelcomeMediaIsImage() |
int |
getWelcomeMediaWidth() |
javax.ws.rs.core.Response |
remove()
Method used to delete pages in the current container
|
Resource |
traverse(String path) |
doHead, doPost, doPut, getAdapter, getCoreSession, getDelete, getDocument, getPut, getTitle, initialize, newDocument, newDocument, newDocument, search
disptachAdapter, isAdapter
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
public static final int NO_WELCOME_MEDIA
public static final int IMAGE_WELCOME_MEDIA
public static final int FLASH_WELCOME_MEDIA
public Object doGet()
doGet
in class DocumentObject
public javax.ws.rs.core.Response getLogo()
public javax.ws.rs.core.Response getWelcomeMedia()
public int getWelcomeMediaWidth()
public int getWelcomeMediaHeight()
public Object getSearchParameters()
public Object _getSearchParameters()
public Resource traverse(String path)
traverse
in class DocumentObject
public Object createWebPage()
public Object getHomePagePath()
public javax.ws.rs.core.Response remove()
public javax.ws.rs.core.Response doDelete()
doDelete
in class DocumentObject
Copyright © 2015 Nuxeo SA. All rights reserved.