02/28/2005
 

com.epicentric.portalbeans.categories
Class OtherCategory

java.lang.Object
  |
  +--com.epicentric.portalbeans.categories.DisplayCategory
        |
        +--com.epicentric.portalbeans.categories.OtherCategory
All Implemented Interfaces:
Serializable, UniquelyIdentifiable

Deprecated. as of Version 7.2, to be removed in 9.0 or later; instead use the new Portlet Category API, see the new PortletCategoryManager class.

public class OtherCategory
extends DisplayCategory

The OtherCategory is a conceptual module display category that can not be deleted. Any module that is not categorized on a site will be presented as belonging to the "Other" module display category.

See Also:
Serialized Form

Fields inherited from class com.epicentric.portalbeans.categories.DisplayCategory
_category, _manager, _newCategory, LOG
 
Method Summary
 boolean addModule(String modID)
          Deprecated. Adds the module to this category.
 void delete()
          Deprecated. Throws a CategoryStoreException.
 Iterator listModules()
          Deprecated. Returns a list of all modules that belong to this category.
 boolean removeModule(String modID)
          Deprecated. Does nothing and returns false.
 boolean setDescription(String description)
          Deprecated. Does nothing and returns false.
 boolean setTitle(String title)
          Deprecated. Does nothing and returns false.
 
Methods inherited from class com.epicentric.portalbeans.categories.DisplayCategory
contains, equals, getCreatedDate, getCreatedDateString, getDescription, getID, getOwnerID, getOwnerName, getSiteID, getTitle, getUID, getUIDType, hashCode, save, serialVersionUID, setID, setOwnerID, setOwnerName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addModule

public boolean addModule(String modID)
Deprecated. 
Adds the module to this category. More precisely, removes the module from any other category, thereby placing it in this category.
Overrides:
addModule in class DisplayCategory
Parameters:
modID - the UID of the module to be added to this category
Returns:
true if the module was successfully added to this display category

delete

public void delete()
            throws CategoryStoreException
Deprecated. 
Throws a CategoryStoreException. It is not possible to delete the other category.
Overrides:
delete in class DisplayCategory

listModules

public Iterator listModules()
Deprecated. 
Returns a list of all modules that belong to this category.
Overrides:
listModules in class DisplayCategory
Returns:
a list of all modules that belong to this category

removeModule

public boolean removeModule(String modID)
Deprecated. 
Does nothing and returns false. To remove a module from the other category, one must add the module to a different category.
Overrides:
removeModule in class DisplayCategory
Parameters:
modID - meaningless parameter
Returns:
false
See Also:
DisplayCategory.addModule(String)

setDescription

public boolean setDescription(String description)
Deprecated. 
Does nothing and returns false. It is not possible to set the description of the other category.
Overrides:
setDescription in class DisplayCategory
Parameters:
description - meaningless parameter
Returns:
false

setTitle

public boolean setTitle(String title)
Deprecated. 
Does nothing and returns false. It is not possible to set the title of the other category.
Overrides:
setTitle in class DisplayCategory
Parameters:
title - meaningless parameter
Returns:
false

02/28/2005
 

Copyright and Trademark Notices