atg.svc.repository.beans.methods
Class TemplateDefinitionHomeMethods
java.lang.Object
atg.svc.repository.beans.methods.SegmentedFrameworkMethods
atg.svc.repository.beans.methods.TemplateDefinitionHomeMethods
public class TemplateDefinitionHomeMethods
- extends SegmentedFrameworkMethods
Defines home methods for the TemplateDefinition object.
- Author:
- plorenz
Field Summary |
static java.lang.String |
CLASS_VERSION
Class version string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
TemplateDefinitionHomeMethods
public TemplateDefinitionHomeMethods()
- Constructs an instanceof TemplateDefinitionHomeMethods
findByUserSegmentAndTemplateId
public TemplateDefinition findByUserSegmentAndTemplateId(java.lang.String appId,
java.lang.String templateId,
TemplateDefinitionHome pTemplateHome)
throws javax.ejb.FinderException,
ObjectNotFoundException
- Gets a definition based on the segment of the current user.
If the current user does not have a segment or no object is found for the
current segment, a default object is returned based on ID only.
- Parameters:
appId
- The application identifier.templateId
- The object identifier.pTemplate
- The bean.
- Returns:
- The specified object by segment.
- Throws:
javax.ejb.FinderException
ObjectNotFoundException