public class PageHandler extends AbstractResourceHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
PageHandler() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response | byCatalogEntryIds(java.lang.String storeId)
Finds pages by catalog entry IDs.
|
javax.ws.rs.core.Response | byCategoryIds(java.lang.String storeId)
Finds pages by category IDs.
|
javax.ws.rs.core.Response | byNames(java.lang.String storeId)
Finds pages by their names.
|
javax.ws.rs.core.Response | byPageIds(java.lang.String storeId)
Finds pages by their IDs.
|
javax.ws.rs.core.Response | byUrlConfigurable(java.lang.String storeId)
Finds content pages with or without configurable URLs.
|
javax.ws.rs.core.Response | findByName(java.lang.String storeId, java.lang.String name)
Finds a page by its name.
|
javax.ws.rs.core.Response | findByPageId(java.lang.String storeId, java.lang.String pageId)
Finds a page by its ID.
|
javax.ws.rs.core.Response | findByQuery(java.lang.String storeId, java.lang.String queryName)
Finds pages by a query.
|
protected javax.ws.rs.core.Response | getCatalogNavigationView(ExpressionType expression, java.lang.String storeId, java.lang.String profileName, boolean single)
Calls the GetCatalogNavigationView service.
|
protected javax.ws.rs.core.Response | getPage(ExpressionType expression, java.lang.String storeId, java.lang.String profileName, boolean single)
Calls the GetPage service.
|
java.lang.String | getResourceName()
This method returns the name of the resource used primarily to determine the representation of the resource.
|
void | initializeQueryRegistry(OperationRegistry registry)
Initialize the query registry.
|
public static final java.lang.String COPYRIGHT
public java.lang.String getResourceName()
public void initializeQueryRegistry(OperationRegistry registry)
public javax.ws.rs.core.Response findByPageId(java.lang.String storeId, java.lang.String pageId)
public javax.ws.rs.core.Response findByName(java.lang.String storeId, java.lang.String name)
public javax.ws.rs.core.Response findByQuery(java.lang.String storeId, java.lang.String queryName)
public javax.ws.rs.core.Response byPageIds(java.lang.String storeId)
public javax.ws.rs.core.Response byNames(java.lang.String storeId)
public javax.ws.rs.core.Response byUrlConfigurable(java.lang.String storeId)
public javax.ws.rs.core.Response byCatalogEntryIds(java.lang.String storeId)
public javax.ws.rs.core.Response byCategoryIds(java.lang.String storeId)
protected javax.ws.rs.core.Response getPage(ExpressionType expression, java.lang.String storeId, java.lang.String profileName, boolean single)
protected javax.ws.rs.core.Response getCatalogNavigationView(ExpressionType expression, java.lang.String storeId, java.lang.String profileName, boolean single)