atg.svc.repository.beans.methods
Class SkinDefinitionHomeMethods

java.lang.Object
  extended by atg.svc.repository.beans.methods.SegmentedFrameworkMethods
      extended by atg.svc.repository.beans.methods.SkinDefinitionHomeMethods

public class SkinDefinitionHomeMethods
extends SegmentedFrameworkMethods

Defines home methods for the SkinDefinition object.

Author:
plorenz

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
SkinDefinitionHomeMethods()
          Constructs an instanceof SkinDefinitionHomeMethods
 
Method Summary
 SkinDefinition findByUserSegmentAndSkinId(java.lang.String appId, java.lang.String skinId, SkinDefinitionHome pSkinHome)
          Gets a definition based on the segment of the current user.
 
Methods inherited from class atg.svc.repository.beans.methods.SegmentedFrameworkMethods
getSegmentedOptionService, getSegmentService, getServiceHomes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

SkinDefinitionHomeMethods

public SkinDefinitionHomeMethods()
Constructs an instanceof SkinDefinitionHomeMethods

Method Detail

findByUserSegmentAndSkinId

public SkinDefinition findByUserSegmentAndSkinId(java.lang.String appId,
                                                 java.lang.String skinId,
                                                 SkinDefinitionHome pSkinHome)
                                          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.
skinId - The object identifier.
pSkin - The bean.
Returns:
The specified object by segment.
Throws:
javax.ejb.FinderException
ObjectNotFoundException