Class Extension
java.lang.Object
com.softslate.commerce.administrator.extender.Extension
-
Field Summary
Modifier and TypeFieldDescriptionprivate Properties
private boolean
private Entity
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
private String
protected String
protected String
protected String
protected String
protected String
protected String
private String[]
private Collection<Field>
private String[]
private Collection<ForeignKey>
private String
(package private) static org.apache.commons.logging.Log
private String
private String
private String
private String
private String
private String
private String
private String
private File
private boolean
private File
private boolean
private File
-
Constructor Summary
ModifierConstructorDescriptionprotected
Extension
(Properties extenderProperties, Properties appComponents, File webinfDirectory) -
Method Summary
Modifier and TypeMethodDescriptionString[]
String[]
boolean
boolean
initializeFields
(String[] fieldsAndTypes, Properties appComponents) initializeForeignKeys
(String[] foreignKeys, Properties appComponents) boolean
void
setAppComponents
(Properties appComponents) void
setCreateAdminInterface
(boolean createAdminInterface) void
void
setEntityName
(String entityName) void
setFieldNamesAndTypes
(String[] fieldNamesAndTypes) void
setFields
(Collection fields) void
setForeignKeyNames
(String[] foreignKeyNames) void
setForeignKeys
(Collection foreignKeys) void
setMergeTokenHtmlXmlEnd
(String mergeTokenHtmlXmlEnd) void
setMergeTokenHtmlXmlStart
(String mergeTokenHtmlXmlStart) void
setMergeTokenJavaEnd
(String mergeTokenJavaEnd) void
setMergeTokenJavaStart
(String mergeTokenJavaStart) void
setMergeTokenJSPEnd
(String mergeTokenJSPEnd) void
setMergeTokenJSPStart
(String mergeTokenJSPStart) void
setMergeTokenPropertiesEnd
(String mergeTokenPropertiesEnd) void
setMergeTokenPropertiesStart
(String mergeTokenPropertiesStart) void
setOutputDirectory
(File outputDirectory) void
setOverwriteExistingFiles
(boolean overwriteExistingFiles) void
setSourceDirectory
(File sourceDirectory) void
setUpdateExistingEntity
(boolean updateExistingEntity) void
setVelocityTemplateDirectory
(File velocityTemplateDirectory) void
-
Field Details
-
log
static org.apache.commons.logging.Log log -
entity
-
foreignKeys
-
fields
-
entityName
-
foreignKeyNames
-
fieldNamesAndTypes
-
createAdminInterface
private boolean createAdminInterface -
updateExistingEntity
private boolean updateExistingEntity -
overwriteExistingFiles
private boolean overwriteExistingFiles -
outputDirectory
-
velocityTemplateDirectory
-
sourceDirectory
-
appComponents
-
javadocAuthor
-
mergeTokenHtmlXmlStart
-
mergeTokenHtmlXmlEnd
-
mergeTokenJSPStart
-
mergeTokenJSPEnd
-
mergeTokenPropertiesStart
-
mergeTokenPropertiesEnd
-
mergeTokenJavaStart
-
mergeTokenJavaEnd
-
entityContents
-
entityBeanContents
-
entityBeanHBMXMLContents
-
entityAlterSQLContents
-
entityCreateSQLContents
-
entityProcessorContents
-
entityBasicProcessorContents
-
entityDAOContents
-
entityDAOHibernateContents
-
entityGatewayDAOContents
-
entityGatewayDAOHibernateContents
-
entityAppComponentContents
-
entityQueriesContents
-
entityActionContents
-
entityAddActionContents
-
entityAddEditFormContents
-
entityAddFormActionContents
-
entityDeleteActionContents
-
entityEditActionContents
-
entityEditDeleteActionContents
-
entityEditFormActionContents
-
entityFormContents
-
entityAddFormContents
-
entityEditFormContents
-
entityFormGutsContents
-
entityFieldColumnsContents
-
entityHeadingContents
-
entityExtraContents
-
entityStrutsContents
-
entityTilesContents
-
entitySideContents
-
entityChangingEventContents
-
entityChangingEventImplContents
-
entityCRUDAPIContents
-
-
Constructor Details
-
Extension
protected Extension() -
Extension
public Extension(Properties extenderProperties, Properties appComponents, File webinfDirectory) throws Exception - Throws:
Exception
-
-
Method Details
-
getEntity
-
setEntity
-
isCreateAdminInterface
public boolean isCreateAdminInterface() -
getUpdateExistingEntity
public boolean getUpdateExistingEntity() -
setUpdateExistingEntity
public void setUpdateExistingEntity(boolean updateExistingEntity) -
getOverwriteExistingFiles
public boolean getOverwriteExistingFiles() -
setOverwriteExistingFiles
public void setOverwriteExistingFiles(boolean overwriteExistingFiles) -
getEntityName
-
setEntityName
-
getJavadocAuthor
-
getForeignKeyNames
-
setForeignKeyNames
-
getFieldNamesAndTypes
-
setFieldNamesAndTypes
-
getForeignKeys
-
setForeignKeys
-
getFields
-
setFields
-
getAppComponents
-
setAppComponents
-
setCreateAdminInterface
public void setCreateAdminInterface(boolean createAdminInterface) -
getOutputDirectory
-
setOutputDirectory
-
getVelocityTemplateDirectory
-
setVelocityTemplateDirectory
-
getSourceDirectory
-
setSourceDirectory
-
validateEntityName
- Throws:
Exception
-
initializeFields
-
initializeForeignKeys
-
getMergeTokenHtmlXmlStart
-
setMergeTokenHtmlXmlStart
-
getMergeTokenPropertiesStart
-
setMergeTokenPropertiesStart
-
getMergeTokenHtmlXmlEnd
-
setMergeTokenHtmlXmlEnd
-
getMergeTokenPropertiesEnd
-
setMergeTokenPropertiesEnd
-
getMergeTokenJSPStart
-
setMergeTokenJSPStart
-
getMergeTokenJSPEnd
-
setMergeTokenJSPEnd
-
getMergeTokenJavaStart
-
setMergeTokenJavaStart
-
getMergeTokenJavaEnd
-
setMergeTokenJavaEnd
-