fr.paris.lutece.plugins.form.business
Class Category

java.lang.Object
  extended by fr.paris.lutece.plugins.form.business.Category
All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACResource

public class Category
extends java.lang.Object
implements fr.paris.lutece.portal.service.rbac.RBACResource

class category


Field Summary
static java.lang.String RESOURCE_TYPE
           
 
Constructor Summary
Category()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getColor()
           
 int getIdCategory()
           
 java.lang.String getResourceId()
          RBAC resource implementation
 java.lang.String getResourceTypeCode()
          RBAC resource implementation
 java.lang.String getTitle()
           
 void setColor(java.lang.String strColor)
           
 void setIdCategory(int idCategory)
          set the id of the category
 void setTitle(java.lang.String title)
          set the title of the category
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_TYPE

public static final java.lang.String RESOURCE_TYPE
See Also:
Constant Field Values
Constructor Detail

Category

public Category()
Method Detail

getIdCategory

public int getIdCategory()
Returns:
the id of the category

setIdCategory

public void setIdCategory(int idCategory)
set the id of the category

Parameters:
idCategory - the id of the category

getTitle

public java.lang.String getTitle()
Returns:
the title of the category

setTitle

public void setTitle(java.lang.String title)
set the title of the category

Parameters:
title - the title of the category

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
Parameters:
obj - the category to compare
Returns:
true if category in parameter is the same category

getResourceTypeCode

public java.lang.String getResourceTypeCode()
RBAC resource implementation

Specified by:
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
Returns:
The resource type code

getResourceId

public java.lang.String getResourceId()
RBAC resource implementation

Specified by:
getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResource
Returns:
The resourceId

setColor

public void setColor(java.lang.String strColor)
Parameters:
strColor - the _strColor to set

getColor

public java.lang.String getColor()
Returns:
the _strColor


Copyright © 2012 Mairie de Paris. All Rights Reserved.