Package de.hybris.platform.core
Interface ItemDeployment
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
YItemDeploymentWrapper
Defines the interface of an
ItemDeployment-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacedescribes a CMP fieldstatic interfacedescribes a CMP finderstatic interfacedescribes an index of a databasestatic interfaceDescribes the attribute of anIndex -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String qualifier) 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.intbooleanbooleanisFinal()Tells whether this deployment is final - means no other deployment is allowed to inherit from it.booleanboolean
-
Method Details
-
isFinal
boolean isFinal()Tells whether this deployment is final - means no other deployment is allowed to inherit from it.- Returns:
trueif 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
- 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
- Parameters:
methodName- the name of the finder methodsignature- the signature of the finder method- Returns:
- a specific CMP finder method
-
getIndexes
Collection getIndexes()- Returns:
- all indexes for this item deployment
-
getIndex
- 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
performance shortcut
-