org.tigris.scarab.om
Class IssueTemplateInfoPeer

java.lang.Object
  extended byorg.apache.torque.util.BasePeer
      extended byorg.tigris.scarab.om.BaseIssueTemplateInfoPeer
          extended byorg.tigris.scarab.om.IssueTemplateInfoPeer
All Implemented Interfaces:
java.io.Serializable

public class IssueTemplateInfoPeer
extends BaseIssueTemplateInfoPeer

You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.apache.torque.util.BasePeer
org.apache.torque.util.BasePeer.ProcessCallback
 
Field Summary
(package private) static java.lang.String GET_MODULE_TEMPLATES
           
(package private) static java.lang.String GET_USER_TEMPLATES
           
(package private) static java.lang.String TEMPLATE_PEER
           
static java.lang.String TYPE_ALL
           
static java.lang.String TYPE_GLOBAL
           
static java.lang.String TYPE_PRIVATE
           
 
Fields inherited from class org.tigris.scarab.om.BaseIssueTemplateInfoPeer
APPROVED, CLASS_DEFAULT, CLASSNAME_DEFAULT, DATABASE_NAME, DESCRIPTION, ISSUE_ID, NAME, numColumns, SCOPE_ID, TABLE_NAME
 
Fields inherited from class org.apache.torque.util.BasePeer
IGNORE_CASE, log, ORDER_BY
 
Constructor Summary
IssueTemplateInfoPeer()
           
 
Method Summary
static java.util.List getModuleTemplates(Module module)
           
static java.util.List getTemplates(Module module, IssueType issueType, ScarabUser user, java.lang.String sortColumn, java.lang.String sortPolarity, java.lang.String type)
          List of Issue Template objects associated with this module.
static java.util.List getUserTemplates(ScarabUser user, Module module, IssueType issueType)
           
 
Methods inherited from class org.tigris.scarab.om.BaseIssueTemplateInfoPeer
addSelectColumns, buildCriteria, buildCriteria, buildSelectCriteria, correctBooleans, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doInsert, doInsert, doInsert, doInsert, doSelect, doSelect, doSelect, doSelectJoinIssue, doSelectJoinIssue, doSelectJoinScope, doSelectJoinScope, doSelectVillageRecords, doSelectVillageRecords, doUpdate, doUpdate, doUpdate, doUpdate, getMapBuilder, getOMClass, getTableMap, populateObject, populateObjects, resultSet2Objects, retrieveByPK, retrieveByPK, retrieveByPK, retrieveByPK, retrieveByPKs, retrieveByPKs, row2Object
 
Methods inherited from class org.apache.torque.util.BasePeer
createPreparedStatement, createQueryString, deleteAll, deleteAll, doPSSelect, doPSSelect, doUpdate, doUpdate, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeStatement, executeStatement, executeStatement, getMapBuilder, getSelectResults, getSelectResults, getSelectResults, getSelectResults, handleMultipleRecords, initColumnNames, initCriteriaKeys, initTableColumns, initTableSchema, initTableSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GET_USER_TEMPLATES

static final java.lang.String GET_USER_TEMPLATES
See Also:
Constant Field Values

GET_MODULE_TEMPLATES

static final java.lang.String GET_MODULE_TEMPLATES
See Also:
Constant Field Values

TEMPLATE_PEER

static final java.lang.String TEMPLATE_PEER
See Also:
Constant Field Values

TYPE_PRIVATE

public static final java.lang.String TYPE_PRIVATE
See Also:
Constant Field Values

TYPE_GLOBAL

public static final java.lang.String TYPE_GLOBAL
See Also:
Constant Field Values

TYPE_ALL

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

IssueTemplateInfoPeer

public IssueTemplateInfoPeer()
Method Detail

getTemplates

public static java.util.List getTemplates(Module module,
                                          IssueType issueType,
                                          ScarabUser user,
                                          java.lang.String sortColumn,
                                          java.lang.String sortPolarity,
                                          java.lang.String type)
                                   throws org.apache.torque.TorqueException,
                                          ScarabException
List of Issue Template objects associated with this module. And issue type, either created by current user, or project-scoped. i.e., all templates this user has permission to see.

Throws:
org.apache.torque.TorqueException
ScarabException

getUserTemplates

public static java.util.List getUserTemplates(ScarabUser user,
                                              Module module,
                                              IssueType issueType)
                                       throws org.apache.torque.TorqueException,
                                              ScarabException
Throws:
org.apache.torque.TorqueException
ScarabException

getModuleTemplates

public static java.util.List getModuleTemplates(Module module)
                                         throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException


Copyright © 2000-2004 Tigris.org. All Rights Reserved.