com.dotmarketing.portlets.categories.model
Class Category

java.lang.Object
  extended by com.dotmarketing.beans.Inode
      extended by com.dotmarketing.portlets.categories.model.Category
All Implemented Interfaces:
java.io.Serializable

public class Category
extends Inode
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.dotmarketing.beans.Inode
inode
 
Constructor Summary
Category()
          default constructor
Category(java.lang.String categoryName)
          minimal constructor
 
Method Summary
 java.lang.String getCategoryName()
           
 java.lang.String getDescription()
          Returns the description.
 long getInode()
           
 java.lang.String getKey()
           
 java.lang.String getKeywords()
           
 java.util.Map getMap()
          Returns a hashmap with all the inode fields
 int getSortOrder()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setCategoryName(java.lang.String categoryName)
           
 void setDescription(java.lang.String description)
          Sets the description.
 void setInode(long inode)
          Sets the inode.
 void setKey(java.lang.String key)
           
 void setKeywords(java.lang.String keywords)
           
 void setSortOrder(int sortOrder)
           
 void setSortOrder(java.lang.String sortOrder)
           
 
Methods inherited from class com.dotmarketing.beans.Inode
addChild, addChild, addParent, addParent, deleteChild, deleteChild, deleteParent, deleteParent, equals, getiDate, getIDate, getIdentifier, getOwner, getType, hasChildren, hasParents, isNew, setiDate, setIDate, setIDate, setIdentifier, setInode, setOwner, setOwner, setParents, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Category

public Category()
default constructor


Category

public Category(java.lang.String categoryName)
minimal constructor

Method Detail

isActive

public boolean isActive()
Returns:
Returns the active.

setActive

public void setActive(boolean active)
Parameters:
active - The active to set.

getInode

public long getInode()
Overrides:
getInode in class Inode

setInode

public void setInode(long inode)
Description copied from class: Inode
Sets the inode.

Overrides:
setInode in class Inode
Parameters:
inode - The inode to set

getCategoryName

public java.lang.String getCategoryName()

setCategoryName

public void setCategoryName(java.lang.String categoryName)

getSortOrder

public int getSortOrder()

setSortOrder

public void setSortOrder(int sortOrder)

setSortOrder

public void setSortOrder(java.lang.String sortOrder)

getDescription

public java.lang.String getDescription()
Returns the description.

Returns:
String

setDescription

public void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - The description to set

getKey

public java.lang.String getKey()
Returns:
Returns the key.

setKey

public void setKey(java.lang.String key)
Parameters:
key - The key to set.

getKeywords

public java.lang.String getKeywords()

setKeywords

public void setKeywords(java.lang.String keywords)

getMap

public java.util.Map getMap()
Description copied from class: Inode
Returns a hashmap with all the inode fields

Overrides:
getMap in class Inode
Returns:
the map


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.