Class YItemDeploymentWrapper
java.lang.Object
de.hybris.platform.util.typesystem.YItemDeploymentWrapper
- All Implemented Interfaces:
ItemDeployment,Serializable
Wraps up a
YDeployment instance to be used inside- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.core.ItemDeployment
ItemDeployment.Attribute, ItemDeployment.FinderMethod, ItemDeployment.Index, ItemDeployment.IndexAttribute -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final StringadjustType(String type) protected Map<String,ItemDeployment.Attribute> protected Map<String,ItemDeployment.Attribute> createAttributes(YDeployment depl) protected Map<String,ItemDeployment.FinderMethod> createFinders(YDeployment depl) protected Map<String,ItemDeployment.Index> createIndexes(YDeployment depl) protected Map<String,ItemDeployment.FinderMethod> finders()getAttribute(String persistenceQualifier) getColumnName(String attribut, String database) performance shortcutreturns the name of the concrete EJB implementation class this is for example "de.hybris....Country_HJMPWrapper" or whatever class is used during deploymentgetFinderMethod(String methodName, String signature) getName()Returns this deployments name.intprotected Map<String,ItemDeployment.Index> indexes()booleanbooleanisFinal()Tells whether this deployment is final - means no other deployment is allowed to inherit from it.booleanbooleantoString()
-
Constructor Details
-
YItemDeploymentWrapper
-
-
Method Details
-
adjustType
-
attributes
-
createAttributes
-
finders
-
createFinders
-
indexes
-
createIndexes
-
getAttribute
- Specified by:
getAttributein interfaceItemDeployment- Parameters:
persistenceQualifier- the CMP field name- Returns:
- a specific CMP field of this deployment
-
getAttributes
- Specified by:
getAttributesin interfaceItemDeployment- Returns:
- all CMP fields of this deployment
-
getConcreteEJBImplementationClass
Description copied from interface:ItemDeploymentreturns the name of the concrete EJB implementation class this is for example "de.hybris....Country_HJMPWrapper" or whatever class is used during deployment- Specified by:
getConcreteEJBImplementationClassin interfaceItemDeployment- Returns:
- the concrete ejb implementation class
-
getDatabaseTableName
- Specified by:
getDatabaseTableNamein interfaceItemDeployment- Returns:
- the configured database table name; null for abstract deployments
-
getDumpPropertyTableName
- Specified by:
getDumpPropertyTableNamein interfaceItemDeployment- Returns:
- the configured dump property database table name; null for abstract deployments
-
getAuditTableName
- Specified by:
getAuditTableNamein interfaceItemDeployment- Returns:
- the configured audit table name; null for abstract deployments
-
getFinderMethod
- Specified by:
getFinderMethodin interfaceItemDeployment- Parameters:
methodName- the name of the finder methodsignature- the signature of the finder method- Returns:
- a specific CMP finder method
-
getFinderMethods
- Specified by:
getFinderMethodsin interfaceItemDeployment- Returns:
- all CMP finders of this deployment
-
getHomeInterface
- Specified by:
getHomeInterfacein interfaceItemDeployment- Returns:
- the home interface class, null for generic deployments
-
getImplClass
- Specified by:
getImplClassin interfaceItemDeployment- Returns:
- the impl class, null for generic deployments
-
getIndex
- Specified by:
getIndexin interfaceItemDeployment- Parameters:
name- the name of the index to be fetched- Returns:
- a single index of this deployment's indexes
-
getIndexes
- Specified by:
getIndexesin interfaceItemDeployment- Returns:
- all indexes for this item deployment
-
getName
Description copied from interface:ItemDeploymentReturns this deployments name. for non-abstract deployments this name forms- Specified by:
getNamein interfaceItemDeployment- Returns:
- the name of the deployment
-
getRemoteInterface
- Specified by:
getRemoteInterfacein interfaceItemDeployment- Returns:
- the remote interface class, null for generic deployments
-
getSuperDeploymentName
- Specified by:
getSuperDeploymentNamein interfaceItemDeployment- Returns:
- the typecode of the super deployment, only if this a generic deployment
-
getTypeCode
public int getTypeCode()- Specified by:
getTypeCodein interfaceItemDeployment- Returns:
- the deployed item's typecode, or 0 if this deployment is abstract
-
isAbstract
public boolean isAbstract()- Specified by:
isAbstractin interfaceItemDeployment- Returns:
- whether this deployment is abstract; means that there is no actual EJB deployed
-
isFinal
public boolean isFinal()Description copied from interface:ItemDeploymentTells whether this deployment is final - means no other deployment is allowed to inherit from it.- Specified by:
isFinalin interfaceItemDeployment- Returns:
trueif deployment is final
-
isGeneric
public boolean isGeneric()- Specified by:
isGenericin interfaceItemDeployment- Returns:
- whether the deployed EJB uses GenericItem ejb classes and interfaces
-
isNonItemDeployment
public boolean isNonItemDeployment()- Specified by:
isNonItemDeploymentin interfaceItemDeployment- Returns:
- true if this deployment doesnt belong to a item and represents a plain database table ( like props )
-
toString
-
getColumnName
Description copied from interface:ItemDeploymentperformance shortcut- Specified by:
getColumnNamein interfaceItemDeployment
-