com.sage.orion.sdata.servlet
Class PortletCategoriesResource

java.lang.Object
  extended by com.sage.orion.sdata.servlet.PortletCategoriesResource

public final class PortletCategoriesResource
extends java.lang.Object

A utility class that provides the service of getting a single portletCategories information object given a portletCategories ID.

Use getInstance() to access the instance of this class.

Call initialize(SDataProvider, String) to initialize the instance of this class.


Constructor Summary
PortletCategoriesResource()
          Private constructor that prevents instantiation from other classes
 
Method Summary
static PortletCategoriesResource getInstance()
           
 java.util.Map<java.lang.String,SDataResourceElement> getPortletCategoriesInfo(java.lang.String id, java.lang.String authorizationToken, SDataServer server)
          Gets the portletCategories information object for the portletCategoriies with the specified ID.
 void initialize(SDataProvider sdataProvider, java.lang.String resourceKindName)
          Handle any initialization required by this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletCategoriesResource

public PortletCategoriesResource()
Private constructor that prevents instantiation from other classes

Method Detail

getInstance

public static PortletCategoriesResource getInstance()
Returns:
The unique instance of this class.

initialize

public void initialize(SDataProvider sdataProvider,
                       java.lang.String resourceKindName)
Handle any initialization required by this class.

Parameters:
sdataProvider - the SDataProvider that provides the data for the portletCategories lookup
resourceKindName - the name of the Resource Kind that handles the request for getting the portletCategories

getPortletCategoriesInfo

public java.util.Map<java.lang.String,SDataResourceElement> getPortletCategoriesInfo(java.lang.String id,
                                                                                     java.lang.String authorizationToken,
                                                                                     SDataServer server)
Gets the portletCategories information object for the portletCategoriies with the specified ID.

Parameters:
id - The ID of the portletCategoriies we want to get.
authorizationToken - The authorizationToken from the input SDataRequest.
server - The server information from the input SDataRequest.
Returns:
A portletCategories information object representing the portletCategoriies in question.


Copyright © 2011 Sage Software, Inc. All rights reserved.