Interface ItemDeployment

All Superinterfaces:
Serializable
All Known Implementing Classes:
YItemDeploymentWrapper

public interface ItemDeployment extends Serializable
Defines the interface of an ItemDeployment
  • Method Details

    • isFinal

      boolean isFinal()
      Tells whether this deployment is final - means no other deployment is allowed to inherit from it.
      Returns:
      true if deployment is final
    • getName

      String getName()
      Returns this deployments name. for non-abstract deployments this name forms
      Returns:
      the name of the deployment
    • isAbstract

      boolean isAbstract()
      Returns:
      whether this deployment is abstract; means that there is no actual EJB deployed
    • isGeneric

      boolean isGeneric()
      Returns:
      whether the deployed EJB uses GenericItem ejb classes and interfaces
    • isNonItemDeployment

      boolean isNonItemDeployment()
      Returns:
      true if this deployment doesnt belong to a item and represents a plain database table ( like props )
    • getTypeCode

      int getTypeCode()
      Returns:
      the deployed item's typecode, or 0 if this deployment is abstract
    • getSuperDeploymentName

      String getSuperDeploymentName()
      Returns:
      the typecode of the super deployment, only if this a generic deployment
    • getDatabaseTableName

      String getDatabaseTableName()
      Returns:
      the configured database table name; null for abstract deployments
    • getDumpPropertyTableName

      String getDumpPropertyTableName()
      Returns:
      the configured dump property database table name; null for abstract deployments
    • getAuditTableName

      String getAuditTableName()
      Returns:
      the configured audit table name; null for abstract deployments
    • getHomeInterface

      Class getHomeInterface()
      Returns:
      the home interface class, null for generic deployments
    • getRemoteInterface

      Class getRemoteInterface()
      Returns:
      the remote interface class, null for generic deployments
    • getImplClass

      Class getImplClass()
      Returns:
      the impl class, null for generic deployments
    • getAttributes

      Collection getAttributes()
      Returns:
      all CMP fields of this deployment
    • getAttribute

      ItemDeployment.Attribute getAttribute(String qualifier)
      Parameters:
      qualifier - the CMP field name
      Returns:
      a specific CMP field of this deployment
    • getFinderMethods

      Collection getFinderMethods()
      Returns:
      all CMP finders of this deployment
    • getFinderMethod

      ItemDeployment.FinderMethod getFinderMethod(String methodName, String signature)
      Parameters:
      methodName - the name of the finder method
      signature - the signature of the finder method
      Returns:
      a specific CMP finder method
    • getIndexes

      Collection getIndexes()
      Returns:
      all indexes for this item deployment
    • getIndex

      ItemDeployment.Index getIndex(String name)
      Parameters:
      name - the name of the index to be fetched
      Returns:
      a single index of this deployment's indexes
    • getConcreteEJBImplementationClass

      Class getConcreteEJBImplementationClass()
      returns the name of the concrete EJB implementation class this is for example "de.hybris....Country_HJMPWrapper" or whatever class is used during deployment
      Returns:
      the concrete ejb implementation class
    • getColumnName

      String getColumnName(String attribut, String database)
      performance shortcut