palio.modules
Class BugBase.BugResources

java.lang.Object
  extended by palio.modules.BugBase.BugResources
Enclosing class:
BugBase

public class BugBase.BugResources
extends java.lang.Object


Constructor Summary
BugBase.BugResources()
           
BugBase.BugResources(SQLConnectable connector)
           
 
Method Summary
 java.lang.Long addResource(java.lang.String resourceType, java.lang.String name, java.lang.String code, java.lang.String description)
           
 java.lang.Long delResource(java.lang.Long id, java.lang.String resourceType)
           
 java.lang.Object[] getResourceByCode(java.lang.String resourceType, java.lang.String code)
           
 java.lang.Object[] getResourceById(java.lang.String resourceType, java.lang.Long id)
           
 java.lang.Object[] getResourceByName(java.lang.String resourceType, java.lang.String name)
           
 java.util.Collection<java.lang.Object[]> getResourceByType(java.lang.String resourceType)
           
 java.lang.Long updateResource(java.lang.Long id, java.lang.String resourceType, java.lang.String name, java.lang.String code, java.lang.String description)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BugBase.BugResources

public BugBase.BugResources()

BugBase.BugResources

public BugBase.BugResources(SQLConnectable connector)
Method Detail

addResource

public java.lang.Long addResource(java.lang.String resourceType,
                                  java.lang.String name,
                                  java.lang.String code,
                                  java.lang.String description)
                           throws palio.PalioException
Throws:
palio.PalioException

updateResource

public java.lang.Long updateResource(java.lang.Long id,
                                     java.lang.String resourceType,
                                     java.lang.String name,
                                     java.lang.String code,
                                     java.lang.String description)
                              throws palio.PalioException
Throws:
palio.PalioException

delResource

public java.lang.Long delResource(java.lang.Long id,
                                  java.lang.String resourceType)
                           throws palio.PalioException
Throws:
palio.PalioException

getResourceById

public java.lang.Object[] getResourceById(java.lang.String resourceType,
                                          java.lang.Long id)
                                   throws palio.PalioException
Throws:
palio.PalioException

getResourceByName

public java.lang.Object[] getResourceByName(java.lang.String resourceType,
                                            java.lang.String name)
                                     throws palio.PalioException
Throws:
palio.PalioException

getResourceByCode

public java.lang.Object[] getResourceByCode(java.lang.String resourceType,
                                            java.lang.String code)
                                     throws palio.PalioException
Throws:
palio.PalioException

getResourceByType

public java.util.Collection<java.lang.Object[]> getResourceByType(java.lang.String resourceType)
                                                           throws palio.PalioException
Throws:
palio.PalioException