2
0
Fork 0

Removed duplicate public keywords.

This commit is contained in:
Willem Cazander 2014-08-24 13:25:42 +02:00
parent e14b484ca5
commit 30418cad13
90 changed files with 694 additions and 720 deletions

View file

@ -23,8 +23,6 @@
package net.forwardfire.vasc.backend;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
/**
* VascBackend provides stateless data access to a data source.
@ -34,66 +32,66 @@ import java.util.Map;
*/
public interface VascBackend<DATA_OBJECT extends Serializable> {
public String getId();
public void setId(String id);
String getId();
void setId(String id);
public void startBackend();
public void stopBackend();
void startBackend();
void stopBackend();
public VascBackendResult<DATA_OBJECT> execute(VascBackendState state) throws VascBackendException;
VascBackendResult<DATA_OBJECT> execute(VascBackendState state) throws VascBackendException;
public boolean isReadOnly();
boolean isReadOnly();
//public DATA_OBJECT fetch(Map<String,Serializable> pks) throws VascBackendException;
public void persist(DATA_OBJECT record) throws VascBackendException;
void persist(DATA_OBJECT record) throws VascBackendException;
public DATA_OBJECT merge(DATA_OBJECT record) throws VascBackendException;
DATA_OBJECT merge(DATA_OBJECT record) throws VascBackendException;
public void delete(DATA_OBJECT record) throws VascBackendException;
void delete(DATA_OBJECT record) throws VascBackendException;
/**
* Creates a new Field acces obj the the given field entry.
* note: Do not use inline class here because it needs to be seriabable and the backend is not seriabbzle.
* @return
*/
public VascEntryFieldValue<DATA_OBJECT> provideVascEntryFieldValue();
VascEntryFieldValue<DATA_OBJECT> provideVascEntryFieldValue();
/**
* Creates a new RecordCreater obj the the given entry.
* note: Do not use inline class here because it needs to be seriabable and the backend is not seriabbzle.
* @return
*/
public VascEntryRecordCreator<DATA_OBJECT> provideVascEntryRecordCreator();
VascEntryRecordCreator<DATA_OBJECT> provideVascEntryRecordCreator();
/**
* Defines if the backend supports sorting
* @return
*/
public boolean isSortable();
boolean isSortable();
/**
* Defines if the backend supports pageing
* @return
*/
public boolean isPageable();
boolean isPageable();
/**
* Defines if the backend supports pageing
* @return
*/
public boolean isSearchable();
boolean isSearchable();
/**
* Defines if the backend supports moveing an record up or down.
* @return
*/
public boolean isRecordMoveable();
public long doRecordMoveUpById(VascBackendState state,Object primaryId) throws VascBackendException;
public long doRecordMoveDownById(VascBackendState state,Object primaryId) throws VascBackendException;
boolean isRecordMoveable();
long doRecordMoveUpById(VascBackendState state,Object primaryId) throws VascBackendException;
long doRecordMoveDownById(VascBackendState state,Object primaryId) throws VascBackendException;
public boolean hasPageSummary();
boolean hasPageSummary();
public boolean hasTotalSummary();
boolean hasTotalSummary();
}

View file

@ -33,7 +33,7 @@ import java.util.List;
*/
public interface VascBackendController {
public VascBackend<Serializable> getVascBackendById(String id);
VascBackend<Serializable> getVascBackendById(String id);
public List<String> getVascBackendIds();
List<String> getVascBackendIds();
}

View file

@ -32,9 +32,9 @@ import java.io.Serializable;
*/
public interface VascBackendControllerLocal extends VascBackendController {
public void addVascBackend(VascBackend<? extends Serializable> backend);
void addVascBackend(VascBackend<? extends Serializable> backend);
public void removeVascBackendById(String backendId);
void removeVascBackendById(String backendId);
public void clearAndStopBackends();
void clearAndStopBackends();
}

View file

@ -33,26 +33,26 @@ import java.util.Set;
*/
public interface VascBackendState extends Serializable {
public void setDataParameter(String key,Object data);
public void removeDataParameter(String key);
public void removeDataParameterAll();
public Object getDataParameter(String key);
public Set<String> getDataParameterKeys();
void setDataParameter(String key,Object data);
void removeDataParameter(String key);
void removeDataParameterAll();
Object getDataParameter(String key);
Set<String> getDataParameterKeys();
public String getSortField();
public void setSortField(String name);
public boolean isSortAscending();
public void setSortAscending(boolean ascending);
String getSortField();
void setSortField(String name);
boolean isSortAscending();
void setSortAscending(boolean ascending);
public void setPageSize(int size);
public int getPageSize();
void setPageSize(int size);
int getPageSize();
public void setPageSizeMax(int size);
public int getPageSizeMax();
void setPageSizeMax(int size);
int getPageSizeMax();
public void setPageIndex(int index);
public int getPageIndex();
void setPageIndex(int index);
int getPageIndex();
public void setSearchString(String searchString);
public String getSearchString();
}
void setSearchString(String searchString);
String getSearchString();
}

View file

@ -33,9 +33,9 @@ import java.io.Serializable;
*/
public interface VascEntryFieldValue<DATA_OBJECT extends Serializable> extends Serializable {
public Serializable getValue(String backendName,DATA_OBJECT record) throws VascBackendException;
Serializable getValue(String backendName,DATA_OBJECT record) throws VascBackendException;
public String getDisplayValue(String backendName,DATA_OBJECT record) throws VascBackendException;
String getDisplayValue(String backendName,DATA_OBJECT record) throws VascBackendException;
public void setValue(String backendName,DATA_OBJECT record,Serializable value) throws VascBackendException;
void setValue(String backendName,DATA_OBJECT record,Serializable value) throws VascBackendException;
}

View file

@ -32,5 +32,5 @@ import java.io.Serializable;
*/
public interface VascEntryRecordCreator<DATA_OBJECT extends Serializable> extends Serializable {
public DATA_OBJECT newRecord() throws VascBackendException;
DATA_OBJECT newRecord() throws VascBackendException;
}

View file

@ -34,5 +34,5 @@ import java.sql.SQLException;
*/
public interface JdbcConnectionProvider {
Connection getJdbcConnection() throws SQLException;
Connection getJdbcConnection() throws SQLException;
}

View file

@ -32,7 +32,7 @@ import javax.persistence.EntityManager;
*/
public interface EntityManagerProvider {
public EntityManager getEntityManager();
EntityManager getEntityManager();
public boolean hasEntityManagerTransaction();
boolean hasEntityManagerTransaction();
}

View file

@ -31,5 +31,5 @@ import org.hibernate.Session;
*/
public interface HibernateSessionProvider {
public Session getHibernateSession();
Session getHibernateSession();
}

View file

@ -36,5 +36,5 @@ public interface MetaModelDataContextProvider {
* Returns a DB connection.
* @return An DB connection to mongodb
*/
public DataContext getDataContext();
DataContext getDataContext();
}

View file

@ -16,20 +16,20 @@ public interface CrudDataContext extends UpdateableDataContext {
/**
* Creates empty row to fill and persist.
*/
public UpdateableRow createRow(Table table);
UpdateableRow createRow(Table table);
/**
* Inserts row into table.
*/
public void persist(UpdateableRow row);
void persist(UpdateableRow row);
/**
* Merges row with table.
*/
public UpdateableRow merge(UpdateableRow row);
UpdateableRow merge(UpdateableRow row);
/**
* Deletes row from table.
*/
public void delete(UpdateableRow row);
void delete(UpdateableRow row);
}

View file

@ -14,6 +14,5 @@ import org.eobjects.metamodel.data.Style;
*/
public interface RowLocal extends Row {
public void setStyle(int index,Style style);
void setStyle(int index,Style style);
}

View file

@ -16,24 +16,24 @@ import org.eobjects.metamodel.schema.Table;
public interface UpdateableRow extends Row {
// TODO: move these 3 to Row interface
public SelectItem getSelectItem(int index);
public Object getValue(String columnName);
public static final int INDEX_NOT_FOUND = -1;
SelectItem getSelectItem(int index);
Object getValue(String columnName);
static final int INDEX_NOT_FOUND = -1;
/**
* Returns the table
*/
public Table getTable();
/**
* Returns primary keys of table.
*/
public List<String> getPrimaryKeysList();
Table getTable();
/**
* Returns primary keys of table.
*/
public String[] getPrimaryKeys();
List<String> getPrimaryKeysList();
/**
* Returns primary keys of table.
*/
String[] getPrimaryKeys();
/**
* Sets the value by the column name.
@ -41,7 +41,7 @@ public interface UpdateableRow extends Row {
* @param columnName
* @param object
*/
public void setValue(String columnName,Object object);
void setValue(String columnName,Object object);
/**
* Sets the value of the provided SelectItem.
@ -51,8 +51,8 @@ public interface UpdateableRow extends Row {
* null if either the value <i>is</i> null or if no value exists
* that matches the SelectItem.
*/
public void setValue(SelectItem item,Object object);
void setValue(SelectItem item,Object object);
/**
* Shorthand method for setting the value of a SelectItem based on the
* provided column. Invoking this method is equivalent to invoking
@ -61,8 +61,8 @@ public interface UpdateableRow extends Row {
* @param column
* @return the value of the specified column
*/
public void setValue(Column column,Object object);
void setValue(Column column,Object object);
/**
* Sets the value of the row at a given index
*
@ -71,5 +71,5 @@ public interface UpdateableRow extends Row {
* @throws IndexOutOfBoundsException
* if the provided index is out of range
*/
public void setValue(int index,Object object) throws IndexOutOfBoundsException;
void setValue(int index,Object object) throws IndexOutOfBoundsException;
}

View file

@ -15,10 +15,10 @@ public interface UpdateableRowDataContext {
/**
* Gets called by executeQuery from crud to this impl which knows how to return UpdateableRow DataSet.
*/
public DataSet crudExecuteQuery(CrudDataContext crudDataContext,Query query);
DataSet crudExecuteQuery(CrudDataContext crudDataContext,Query query);
/**
* Start the query builder with correct data context for execute call back.
*/
public InitFromBuilder crudCreateQuery(CrudDataContext crudDataContext);
InitFromBuilder crudCreateQuery(CrudDataContext crudDataContext);
}

View file

@ -10,5 +10,5 @@ import org.eobjects.metamodel.DataContext;
*/
public interface DataContextProvider {
public DataContext getDataContext();
DataContext getDataContext();
}

View file

@ -13,5 +13,5 @@ import org.eobjects.metamodel.DataContext;
*/
public interface JndiDataContextLoader {
public DataContext loadDataContext(JndiDataContextLoaderConfig config);
DataContext loadDataContext(JndiDataContextLoaderConfig config);
}

View file

@ -36,5 +36,5 @@ public interface MongodbConnectionProvider {
* Returns a DB connection.
* @return An DB connection to mongodb
*/
public DB getMongodbConnection();
DB getMongodbConnection();
}

View file

@ -40,9 +40,9 @@ public interface VascServiceManager {
//public Map<String,String> getResourceBundle(String locale);
public List<String> getVascEntryIds();
List<String> getVascEntryIds();
public VascEntry getVascEntry(String entryId);
VascEntry getVascEntry(String entryId);
public Object invokeBackendMethod(String backendId,String method,Object[] args);
Object invokeBackendMethod(String backendId,String method,Object[] args);
}

View file

@ -35,9 +35,9 @@ import net.forwardfire.vasc.core.VascEntry;
*/
public interface VascBackendProxy extends VascBackend<Serializable>,Cloneable {
public void initProxy(VascBackend<Serializable> backend,VascEntry entry);
void initProxy(VascBackend<Serializable> backend,VascEntry entry);
public boolean isProxyNeeded();
boolean isProxyNeeded();
public VascBackendProxy clone() throws CloneNotSupportedException;
VascBackendProxy clone() throws CloneNotSupportedException;
}

View file

@ -38,17 +38,17 @@ public interface VascProxyFilter {
/**
* Inits the filter
*/
public void initFilter(VascEntry entry);
void initFilter(VascEntry entry);
/**
* Only filters 1 object.
*/
public Serializable filterObject(Serializable object);
Serializable filterObject(Serializable object);
/**
* Force impl to have public clone methode
* @return
* @throws CloneNotSupportedException
*/
public VascProxyFilter clone() throws CloneNotSupportedException;
}
VascProxyFilter clone() throws CloneNotSupportedException;
}

View file

@ -38,28 +38,28 @@ public interface VascController {
/**
* @return Returns the VascConfigController
*/
public VascEntryConfigController getVascEntryConfigController();
VascEntryConfigController getVascEntryConfigController();
/**
* @return Returns the VascBackendController
*/
public VascBackendController getVascBackendController();
VascBackendController getVascBackendController();
/**
*
* @return Returns the VascEntryController
*/
public VascEntryController getVascEntryController();
VascEntryController getVascEntryController();
/**
*
* @return Returns the VascEntryFieldController
*/
public VascEntryFieldTypeController getVascEntryFieldTypeController();
VascEntryFieldTypeController getVascEntryFieldTypeController();
/**
*
* @return Returns the VascEventChannelController
*/
public VascEventChannelController getVascEventChannelController();
}
VascEventChannelController getVascEventChannelController();
}

View file

@ -36,25 +36,25 @@ public interface VascControllerLocal extends VascController {
/**
* @param vascEntryConfigController the vascEntryConfigController to set
*/
public void setVascEntryConfigController(VascEntryConfigController vascEntryConfigController);
void setVascEntryConfigController(VascEntryConfigController vascEntryConfigController);
/**
* @param vascEventChannelController the vascEventChannelController to set
*/
public void setVascEventChannelController(VascEventChannelController vascEventChannelController);
void setVascEventChannelController(VascEventChannelController vascEventChannelController);
/**
* @param vascBackendController the vascBackendController to set
*/
public void setVascBackendController(VascBackendController vascBackendController);
void setVascBackendController(VascBackendController vascBackendController);
/**
* @param vascEntryController the vascEntryController to set
*/
public void setVascEntryController(VascEntryController vascEntryController);
void setVascEntryController(VascEntryController vascEntryController);
/**
* @param vascEntryFieldController the vascEntryFieldController to set
*/
public void setVascEntryFieldTypeController(VascEntryFieldTypeController vascEntryFieldTypeController);
}
void setVascEntryFieldTypeController(VascEntryFieldTypeController vascEntryFieldTypeController);
}

View file

@ -33,5 +33,5 @@ public interface VascControllerProvider {
/**
* @return Returns the VascController
*/
public VascController getVascController();
VascController getVascController();
}

View file

@ -45,191 +45,191 @@ public interface VascEntry extends VascBaseIdRoleCrud {
/**
* @return the name
*/
public String getName();
String getName();
/**
* @return the helpId
*/
public String getHelpId();
String getHelpId();
/**
* @return the image
*/
public String getImage();
String getImage();
/**
* @return the listDescription
*/
public String getListDescription();
String getListDescription();
/**
* @return the listImage
*/
public String getListImage();
String getListImage();
/**
* @return the editDescription
*/
public String getEditDescription();
String getEditDescription();
/**
* @return the editImage
*/
public String getEditImage();
String getEditImage();
/**
* @return the deleteDescription
*/
public String getDeleteDescription();
String getDeleteDescription();
/**
* @return the deleteImage
*/
public String getDeleteImage();
String getDeleteImage();
/**
* @return the createDescription
*/
public String getCreateDescription();
String getCreateDescription();
/**
* @return the createImage
*/
public String getCreateImage();
String getCreateImage();
/**
* @return the primaryKeyField
*/
public String getPrimaryKeyFieldId();
String getPrimaryKeyFieldId();
/**
* @return the displayNameField
*/
public String getDisplayNameFieldId();
String getDisplayNameFieldId();
/**
* @return the delete
*/
public Boolean getDelete();
Boolean getDelete();
/**
* @return the rolesDelete
*/
public String getRolesDelete();
String getRolesDelete();
/**
* @return the accessType
*/
public VascEntryAccessType getAccessType();
VascEntryAccessType getAccessType();
/**
* @return the vascFields
*/
public Collection<VascEntryField> getVascEntryFields();
Collection<VascEntryField> getVascEntryFields();
/**
* @return the vascField
*/
public VascEntryField getVascEntryFieldById(String id);
VascEntryField getVascEntryFieldById(String id);
/**
* @return the rowActions
*/
public Collection<RowVascAction> getRowActions();
Collection<RowVascAction> getRowActions();
/**
* @return the RowVascAction
*/
public RowVascAction getRowActionById(String actionId);
RowVascAction getRowActionById(String actionId);
/**
* @return the columnActions
*/
public Collection<ColumnVascAction> getColumnActions();
Collection<ColumnVascAction> getColumnActions();
/**
* @return the ColumnVascAction
*/
public ColumnVascAction getColumnActionById(String actionId);
ColumnVascAction getColumnActionById(String actionId);
/**
* @return the globalActions
*/
public Collection<GlobalVascAction> getGlobalActions();
Collection<GlobalVascAction> getGlobalActions();
/**
* @return the GlobalVascAction
*/
public GlobalVascAction getGlobalActionById(String actionId);
GlobalVascAction getGlobalActionById(String actionId);
/**
* @return the exportActions
*/
public Collection<GlobalVascAction> getExportActions();
Collection<GlobalVascAction> getExportActions();
/**
* @return the GlobalVascAction exportAction
*/
public GlobalVascAction getExportActionById(String actionId);
GlobalVascAction getExportActionById(String actionId);
/**
* @return the vascEntryFieldSets
*/
public Collection<VascEntryFieldSet> getVascEntryFieldSets();
Collection<VascEntryFieldSet> getVascEntryFieldSets();
/**
* @return the VascEntryFieldSet
*/
public VascEntryFieldSet getVascEntryFieldSetById(String actionId);
VascEntryFieldSet getVascEntryFieldSetById(String actionId);
/**
* @return the vascLinkEntries
*/
public Collection<VascEntryLink> getVascEntryLinks();
Collection<VascEntryLink> getVascEntryLinks();
/**
* @return the VascLinkEntry
*/
public VascEntryLink getVascEntryLinkById(String linkId);
VascEntryLink getVascEntryLinkById(String linkId);
public Object getEntryParameter(String key);
public void setEntryParameter(String key,Object value);
public void removeEntryParameter(String key);
public List<String> getEntryParameterKeys();
Object getEntryParameter(String key);
void setEntryParameter(String key,Object value);
void removeEntryParameter(String key);
List<String> getEntryParameterKeys();
public VascFrontendController getVascFrontendController();
VascFrontendController getVascFrontendController();
public String getBackendId();
String getBackendId();
public String getVascGroupId();
String getVascGroupId();
/**
* @return the vascDisplayOnly
*/
public Boolean getVascDisplayOnly();
Boolean getVascDisplayOnly();
/**
* @return the vascEntryFieldEventChannel
*/
public VascEntryFieldEventChannel getVascEntryFieldEventChannel();
VascEntryFieldEventChannel getVascEntryFieldEventChannel();
/**
* Returns the list of VascEntryBackendEventListener
* @return
*/
public List<String> getVascEntryBackendEventListeners();
List<String> getVascEntryBackendEventListeners();
/**
* Returns the list of VascEntryFrontendEventListener
* @return
*/
public List<String> getVascEntryFrontendEventListenersByType(String frontendType);
public Collection<VascEntryListOption> getVascEntryListOptions();
List<String> getVascEntryFrontendEventListenersByType(String frontendType);
public VascEntryListOption getVascEntryListOptionById(String listOptionId);
Collection<VascEntryListOption> getVascEntryListOptions();
public List<VascProxyFilter> getVascBackendFilters();
VascEntryListOption getVascEntryListOptionById(String listOptionId);
public List<String> getVascEntryFrontendActionsByType(String frontendType);
List<VascProxyFilter> getVascBackendFilters();
List<String> getVascEntryFrontendActionsByType(String frontendType);
}

View file

@ -37,24 +37,24 @@ import net.forwardfire.vasc.core.VascException;
*/
public interface VascEntryConfigController {
public VascInterfaceLoader getVascInterfaceLoader();
VascInterfaceLoader getVascInterfaceLoader();
public Object createVascInterfaceImplemention(VascInterfaceKey key);
public Object createVascInterfaceImplementionFrontend(VascInterfaceKeyFrontend key,VascEntry entry);
Object createVascInterfaceImplemention(VascInterfaceKey key);
Object createVascInterfaceImplementionFrontend(VascInterfaceKeyFrontend key,VascEntry entry);
public VascEntry configVascEntry(VascController vascController,String entryId) throws VascException;
VascEntry configVascEntry(VascController vascController,String entryId) throws VascException;
public void configVascEntry(VascController vascController,VascEntryLocal vascEntry) throws VascException;
void configVascEntry(VascController vascController,VascEntryLocal vascEntry) throws VascException;
public VascBackend<Serializable> configVascBackendProxied(VascController vascController,VascEntry vascEntry) throws VascException;
VascBackend<Serializable> configVascBackendProxied(VascController vascController,VascEntry vascEntry) throws VascException;
public VascBackend<Serializable> configVascBackendProxied(VascController vascController,VascEntry vascEntry,VascBackend<Serializable> realBackend) throws VascException;
VascBackend<Serializable> configVascBackendProxied(VascController vascController,VascEntry vascEntry,VascBackend<Serializable> realBackend) throws VascException;
public List<String> getVascEntryExporterIds();
List<String> getVascEntryExporterIds();
public VascEntryExport getVascEntryExporterById(String exporterId);
VascEntryExport getVascEntryExporterById(String exporterId);
public void configVascFrontendController(VascController vascController,VascEntryLocal entry) throws VascException;
void configVascFrontendController(VascController vascController,VascEntryLocal entry) throws VascException;
public String getResourceBundle();
}
String getResourceBundle();
}

View file

@ -37,40 +37,36 @@ import net.forwardfire.vasc.core.entry.VascEntryFieldValidatorService;
*/
public interface VascEntryConfigControllerLocal extends VascEntryConfigController {
public void putVascInterfaceImplemention(VascInterfaceKey key,Class<?> interfaceImpl);
public void putVascInterfaceImplementionFrontend(VascInterfaceKeyFrontend key,Class<?> interfaceImpl);
public void addVascEntryConfigFinalizer(VascEntryConfigFinalizer vascEntryConfigFinalizer);
public void removeVascEntryConfigFinalizer(VascEntryConfigFinalizer vascEntryConfigFinalizer);
public List<VascEntryConfigFinalizer> getVascEntryConfigFinalizers();
public void addVascBackendProxy(VascBackendProxy proxy);
public void removeVascBackendProxy(VascBackendProxy proxy);
public List<VascBackendProxy> getVascBackendProxies();
void putVascInterfaceImplemention(VascInterfaceKey key,Class<?> interfaceImpl);
void putVascInterfaceImplementionFrontend(VascInterfaceKeyFrontend key,Class<?> interfaceImpl);
void addVascEntryConfigFinalizer(VascEntryConfigFinalizer vascEntryConfigFinalizer);
public void addVascEntryExporter(VascEntryExport exporter);
void removeVascEntryConfigFinalizer(VascEntryConfigFinalizer vascEntryConfigFinalizer);
public void removeVascEntryExporter(VascEntryExport exporter);
List<VascEntryConfigFinalizer> getVascEntryConfigFinalizers();
public VascBackendState getMasterVascBackendState();
public void setResourceBundle(String resourceBundle);
void addVascBackendProxy(VascBackendProxy proxy);
void removeVascBackendProxy(VascBackendProxy proxy);
List<VascBackendProxy> getVascBackendProxies();
void addVascEntryExporter(VascEntryExport exporter);
void removeVascEntryExporter(VascEntryExport exporter);
VascBackendState getMasterVascBackendState();
void setResourceBundle(String resourceBundle);
public void addVascEntryFieldValidatorService(VascEntryFieldValidatorService validator);
void addVascEntryFieldValidatorService(VascEntryFieldValidatorService validator);
public void removeVascEntryFieldValidatorService(VascEntryFieldValidatorService validator);
void removeVascEntryFieldValidatorService(VascEntryFieldValidatorService validator);
public List<VascEntryFieldValidatorService> getVascEntryFieldValidatorServices();
}
List<VascEntryFieldValidatorService> getVascEntryFieldValidatorServices();
}

View file

@ -32,5 +32,5 @@ import net.forwardfire.vasc.core.VascException;
*/
public interface VascEntryConfigFinalizer {
public void configVascEntry(VascController vascController,VascEntryLocal entry) throws VascException;
void configVascEntry(VascController vascController,VascEntryLocal entry) throws VascException;
}

View file

@ -32,13 +32,13 @@ import java.util.List;
*/
public interface VascEntryController {
public VascEntry getVascEntryById(String id);
VascEntry getVascEntryById(String id);
public List<String> getVascEntryIds();
List<String> getVascEntryIds();
public List<String> getVascEntryByGroupId(String groupId);
List<String> getVascEntryByGroupId(String groupId);
public VascEntryGroup getVascEntryGroupById(String id);
VascEntryGroup getVascEntryGroupById(String id);
public List<String> getVascEntryGroupIds();
}
List<String> getVascEntryGroupIds();
}

View file

@ -32,11 +32,11 @@ package net.forwardfire.vasc.core;
*/
public interface VascEntryControllerLocal extends VascEntryController {
public void addVascEntry(VascEntryLocal entry);
void addVascEntry(VascEntryLocal entry);
public void removeVascEntry(String entryId);
void removeVascEntry(String entryId);
public VascEntryLocal getMasterVascEntryById(String entryId);
VascEntryLocal getMasterVascEntryById(String entryId);
public void addVascEntryGroup(VascEntryGroupLocal group);
}
void addVascEntryGroup(VascEntryGroupLocal group);
}

View file

@ -37,94 +37,94 @@ import net.forwardfire.vasc.validators.VascValidator;
* @version 1.0 Mar 21, 2007
*/
public interface VascEntryField extends VascBaseIdRoleCrudOrderMeta {
/**
* @return the VascEntry
*/
public VascEntry getVascEntry();
VascEntry getVascEntry();
/**
* @return the vascEntryFieldType
*/
public VascEntryFieldType getVascEntryFieldType();
VascEntryFieldType getVascEntryFieldType();
/**
* @return the backendName
*/
public String getBackendName();
String getBackendName();
/**
* @return the vascEntryFieldValue
*/
public VascEntryFieldValue<Serializable> getVascEntryFieldValue();
VascEntryFieldValue<Serializable> getVascEntryFieldValue();
/**
* @return the vascValidators
*/
public List<VascValidator> getVascValidators();
List<VascValidator> getVascValidators();
/**
* @return the defaultValue
*/
public Serializable getDefaultValue();
Serializable getDefaultValue();
/**
* @return the sizeList
*/
public Integer getSizeList();
Integer getSizeList();
/**
* @return the sizeEdit
*/
public Integer getSizeEdit();
Integer getSizeEdit();
/**
* @return the styleList
*/
public String getStyleList();
String getStyleList();
/**
* @return the styleEdit
*/
public String getStyleEdit();
String getStyleEdit();
/**
* @return the choices
*/
public String getChoices();
String getChoices();
/**
* @return the optional
*/
public Boolean getOptional();
Boolean getOptional();
/**
* @return the choicesAsRadio
*/
public Boolean getChoicesAsRadio();
Boolean getChoicesAsRadio();
/**
* @return the editBlank
*/
public Boolean getEditBlank();
Boolean getEditBlank();
/**
* @return the displayName
*/
public String getDisplayName();
String getDisplayName();
/**
* @return the sortable
*/
public Boolean getSortable();
Boolean getSortable();
/**
* @return the sumable
*/
public Boolean getSumable();
Boolean getSumable();
/**
* @return the graphable
*/
public Boolean getGraphable();
Boolean getGraphable();
}

View file

@ -36,106 +36,106 @@ import net.forwardfire.vasc.validators.VascValidator;
* @version 1.0 Jun 2, 2012
*/
public interface VascEntryFieldLocal extends VascEntryField,VascBaseIdRoleCrudOrderMetaLocal {
/**
* @param entry the VascEntry to set
*/
public void setVascEntry(VascEntry entry);
void setVascEntry(VascEntry entry);
/**
* @param vascEntryFieldType the vascEntryFieldType to set
*/
public void setVascEntryFieldType(VascEntryFieldType vascEntryFieldType);
void setVascEntryFieldType(VascEntryFieldType vascEntryFieldType);
/**
* @param backendName the backendName to set
*/
public void setBackendName(String backendName);
void setBackendName(String backendName);
/**
* @param vascEntryFieldValue the vascEntryFieldValue to set
*/
public void setVascEntryFieldValue(VascEntryFieldValue<Serializable> vascEntryFieldValue);
void setVascEntryFieldValue(VascEntryFieldValue<Serializable> vascEntryFieldValue);
/**
* @param vascValidator the vascValidator to add
*/
public void addVascValidator(VascValidator vascValidator);
void addVascValidator(VascValidator vascValidator);
/**
* @param vascValidator the vascValidator to remove
*/
public void removeVascValidator(VascValidator vascValidator);
void removeVascValidator(VascValidator vascValidator);
/**
* @param defaultValue the defaultValue to set
*/
public void setDefaultValue(Serializable defaultValue);
void setDefaultValue(Serializable defaultValue);
/**
* @param sizeList the sizeList to set
*/
public void setSizeList(Integer sizeList);
void setSizeList(Integer sizeList);
/**
* @param sizeEdit the sizeEdit to set
*/
public void setSizeEdit(Integer sizeEdit);
void setSizeEdit(Integer sizeEdit);
/**
* @param styleList the styleList to set
*/
public void setStyleList(String styleList);
void setStyleList(String styleList);
/**
* @param styleEdit the styleEdit to set
*/
public void setStyleEdit(String styleEdit);
void setStyleEdit(String styleEdit);
/**
* @param choices the choices to set
*/
public void setChoices(String choices);
void setChoices(String choices);
/**
* @param optional the optional to set
*/
public void setOptional(Boolean optional);
void setOptional(Boolean optional);
/**
* @param choicesAsRadio the choicesAsRadio to set
*/
public void setChoicesAsRadio(Boolean choicesAsRadio);
void setChoicesAsRadio(Boolean choicesAsRadio);
/**
* @param editBlank the editBlank to set
*/
public void setEditBlank(Boolean editBlank);
void setEditBlank(Boolean editBlank);
/**
* @param displayName the displayName to set
*/
public void setDisplayName(String displayName);
void setDisplayName(String displayName);
/**
* @param sortable the sortable to set
*/
public void setSortable(Boolean sortable);
void setSortable(Boolean sortable);
/**
* @param sumable the sumable to set
*/
public void setSumable(Boolean sumable);
void setSumable(Boolean sumable);
/**
* @param graphable the graphable to set
*/
public void setGraphable(Boolean graphable);
void setGraphable(Boolean graphable);
/**
* Force impl to have public clone method
* @return
* @throws CloneNotSupportedException
*/
public VascEntryFieldLocal clone() throws CloneNotSupportedException;
}
VascEntryFieldLocal clone() throws CloneNotSupportedException;
}

View file

@ -39,20 +39,20 @@ public interface VascEntryFieldSet extends VascBaseIdRoleCrudOrderMeta {
/**
* @return the styleList
*/
public String getStyleList();
String getStyleList();
/**
* @return the styleEdit
*/
public String getStyleEdit();
String getStyleEdit();
/**
* @return the collapsed
*/
public Boolean getCollapsed();
Boolean getCollapsed();
/**
* @return the vascEntryFieldIds
*/
public List<String> getVascEntryFieldIds();
}
List<String> getVascEntryFieldIds();
}

View file

@ -36,35 +36,34 @@ public interface VascEntryFieldSetLocal extends VascEntryFieldSet,VascBaseIdRole
/**
* @param styleList the styleList to set
*/
public void setStyleList(String styleList);
void setStyleList(String styleList);
/**
* @param styleEdit the styleEdit to set
*/
public void setStyleEdit(String styleEdit);
void setStyleEdit(String styleEdit);
/**
* @param collapsed the collapsed to set
*/
public void setCollapsed(Boolean collapsed);
void setCollapsed(Boolean collapsed);
/**
* Add and VascEntryFieldId
* @param vascEntryFieldIds the vascEntryFieldIds to add
*/
public void addVascEntryFieldId(String vascEntryFieldId);
void addVascEntryFieldId(String vascEntryFieldId);
/**
* Removes and VascEntryFieldId
* @param vascEntryFieldIds the vascEntryFieldIds to remove
*/
public void removeVascEntryFieldId(String vascEntryFieldId);
void removeVascEntryFieldId(String vascEntryFieldId);
/**
* Force impl to have public clone methode
* @return
* @throws CloneNotSupportedException
*/
public VascEntryFieldSetLocal clone() throws CloneNotSupportedException;
}
VascEntryFieldSetLocal clone() throws CloneNotSupportedException;
}

View file

@ -40,29 +40,27 @@ import net.forwardfire.vasc.validators.VascValidator;
*/
public interface VascEntryFieldType extends VascBaseId {
String getUIComponentId();
public String getUIComponentId();
String getInputMask();
public String getInputMask();
Class<?> getAutoDetectClass();
public Class<?> getAutoDetectClass();
public List<VascValidator> getVascValidators();
List<VascValidator> getVascValidators();
public String getProperty(String name);
public List<String> getPropertyNames();
public void setDataObject(Object data); // TODO move to fronend controller
public Object getDataObject();
String getProperty(String name);
List<String> getPropertyNames();
public int getUIComponentCount(VascEntryField entryField) throws VascException;
public VascUIComponent provideLabelUIComponent(int index,VascEntryField entryField) throws VascException;
public VascUIComponent provideEditorUIComponent(int index,VascEntryField entryField) throws VascException;
public VascValueModel provideEditorVascValueModel(int index,VascEntryField entryField) throws VascException;
void setDataObject(Object data); // TODO move to fronend controller
Object getDataObject();
int getUIComponentCount(VascEntryField entryField) throws VascException;
VascUIComponent provideLabelUIComponent(int index,VascEntryField entryField) throws VascException;
VascUIComponent provideEditorUIComponent(int index,VascEntryField entryField) throws VascException;
VascValueModel provideEditorVascValueModel(int index,VascEntryField entryField) throws VascException;
/**
* @return the objectConverter
*/
public ObjectConverter getObjectConverter();
ObjectConverter getObjectConverter();
}

View file

@ -32,9 +32,9 @@ import java.util.List;
*/
public interface VascEntryFieldTypeController {
public VascEntryFieldType getVascEntryFieldTypeById(String id);
VascEntryFieldType getVascEntryFieldTypeById(String id);
public List<String> getVascEntryFieldTypeIds();
List<String> getVascEntryFieldTypeIds();
public VascEntryFieldType getVascEntryFieldTypeByClass(Class<?> clazz);
VascEntryFieldType getVascEntryFieldTypeByClass(Class<?> clazz);
}

View file

@ -30,5 +30,5 @@ package net.forwardfire.vasc.core;
*/
public interface VascEntryFieldTypeControllerLocal extends VascEntryFieldTypeController {
public void addVascEntryFieldType(VascEntryFieldTypeLocal vascEntryFieldType);
void addVascEntryFieldType(VascEntryFieldTypeLocal vascEntryFieldType);
}

View file

@ -36,29 +36,28 @@ import net.forwardfire.vasc.validators.VascValidator;
*/
public interface VascEntryFieldTypeLocal extends VascEntryFieldType,VascBaseIdLocal {
void setUIComponentId(String uiComponentId);
public void setUIComponentId(String uiComponentId);
void setInputMask(String inputMask);
public void setInputMask(String inputMask);
public void setAutoDetectClass(Class<?> classObject);
void setAutoDetectClass(Class<?> classObject);
@Override
public List<VascValidator> getVascValidators();
public void addVascValidator(VascValidator vascValidator);
public void removeVascValidator(VascValidator vascValidator);
List<VascValidator> getVascValidators();
void addVascValidator(VascValidator vascValidator);
void removeVascValidator(VascValidator vascValidator);
public void setProperty(String name,String value);
void setProperty(String name,String value);
/**
* @param objectConverter the objectConverter to set
*/
public void setObjectConverter(ObjectConverter objectConverter);
void setObjectConverter(ObjectConverter objectConverter);
/**
* Force impl to have public clone methode
* @return
* @throws CloneNotSupportedException
*/
public VascEntryFieldTypeLocal clone() throws CloneNotSupportedException;
VascEntryFieldTypeLocal clone() throws CloneNotSupportedException;
}

View file

@ -37,5 +37,5 @@ public interface VascEntryGroupLocal extends VascEntryGroup,VascBaseIdRoleViewOr
* @return
* @throws CloneNotSupportedException
*/
public VascEntryGroupLocal clone() throws CloneNotSupportedException;
VascEntryGroupLocal clone() throws CloneNotSupportedException;
}

View file

@ -35,26 +35,24 @@ import net.forwardfire.vasc.core.base.VascBaseIdRoleViewOrderMeta;
*/
public interface VascEntryLink extends VascBaseIdRoleViewOrderMeta {
String getEntryParameterFieldId(String parameterName);
List<String> getEntryParameterFieldIdKeys();
public String getEntryParameterFieldId(String parameterName);
public List<String> getEntryParameterFieldIdKeys();
public String getEntryCreateFieldValue(String valueFieldId);
public List<String> getEntryCreateFieldValueKeys();
String getEntryCreateFieldValue(String valueFieldId);
List<String> getEntryCreateFieldValueKeys();
/**
* @return the vascEntryId
*/
public String getVascEntryId();
String getVascEntryId();
/**
* @return the vascLinkEntryType
*/
public VascEntryLinkType getVascEntryLinkType();
VascEntryLinkType getVascEntryLinkType();
/**
* @return the doActionId
*/
public String getDoActionId();
}
String getDoActionId();
}

View file

@ -33,30 +33,29 @@ import net.forwardfire.vasc.core.base.VascBaseIdRoleViewOrderMetaLocal;
*/
public interface VascEntryLinkLocal extends VascEntryLink,VascBaseIdRoleViewOrderMetaLocal {
void addEntryParameterFieldId(String parameterName,String valueFieldId);
public void addEntryParameterFieldId(String parameterName,String valueFieldId);
public void addEntryCreateFieldValue(String valueFieldId,String selectedFieldId);
void addEntryCreateFieldValue(String valueFieldId,String selectedFieldId);
/**
* @param vascEntryId the vascEntryId to set
*/
public void setVascEntryId(String vascEntryId);
void setVascEntryId(String vascEntryId);
/**
* @param vascLinkEntryType the vascLinkEntryType to set
*/
public void setVascEntryLinkType(VascEntryLinkType vascLinkEntryType);
void setVascEntryLinkType(VascEntryLinkType vascLinkEntryType);
/**
* @param doActionId the doActionId to set
*/
public void setDoActionId(String doActionId);
void setDoActionId(String doActionId);
/**
* Force impl to have public clone methode
* @return
* @throws CloneNotSupportedException
*/
public VascEntryLinkLocal clone() throws CloneNotSupportedException;
}
VascEntryLinkLocal clone() throws CloneNotSupportedException;
}

View file

@ -38,5 +38,5 @@ public interface VascEntryListOptionLocal extends VascEntryListOption,VascEntryF
* @throws CloneNotSupportedException
*/
@Override
public VascEntryListOptionLocal clone() throws CloneNotSupportedException;
VascEntryListOptionLocal clone() throws CloneNotSupportedException;
}

View file

@ -44,230 +44,230 @@ public interface VascEntryLocal extends VascEntry,VascBaseIdRoleCrudLocal {
/**
* @param name the name to set
*/
public void setName(String name);
void setName(String name);
/**
* @param helpId the helpId to set
*/
public void setHelpId(String helpId);
void setHelpId(String helpId);
/**
* @param image the image to set
*/
public void setImage(String image);
void setImage(String image);
/**
* @param listDescription the listDescription to set
*/
public void setListDescription(String listDescription);
void setListDescription(String listDescription);
/**
* @param listImage the listImage to set
*/
public void setListImage(String listImage);
void setListImage(String listImage);
/**
* @param editDescription the editDescription to set
*/
public void setEditDescription(String editDescription);
void setEditDescription(String editDescription);
/**
* @param editImage the editImage to set
*/
public void setEditImage(String editImage);
void setEditImage(String editImage);
/**
* @param deleteDescription the deleteDescription to set
*/
public void setDeleteDescription(String deleteDescription);
void setDeleteDescription(String deleteDescription);
/**
* @param deleteImage the deleteImage to set
*/
public void setDeleteImage(String deleteImage);
void setDeleteImage(String deleteImage);
/**
* @param createDescription the createDescription to set
*/
public void setCreateDescription(String createDescription);
void setCreateDescription(String createDescription);
/**
* @param createImage the createImage to set
*/
public void setCreateImage(String createImage);
void setCreateImage(String createImage);
/**
* @param primaryKeyField the primaryKeyField to set
*/
public void setPrimaryKeyFieldId(String primaryKeyField);
void setPrimaryKeyFieldId(String primaryKeyField);
/**
* @param displayNameField the displayNameField to set
*/
public void setDisplayNameFieldId(String displayNameField);
void setDisplayNameFieldId(String displayNameField);
/**
* @param delete the delete to set
*/
public void setDelete(Boolean delete);
void setDelete(Boolean delete);
/**
* @param rolesDelete the rolesDelete to set
*/
public void setRolesDelete(String rolesDelete);
void setRolesDelete(String rolesDelete);
/**
* @param accessType the accessType to set
*/
public void setAccessType(VascEntryAccessType accessType);
void setAccessType(VascEntryAccessType accessType);
/**
* @param vascField the vascField to add
*/
public void addVascEntryField(VascEntryFieldLocal vascField);
void addVascEntryField(VascEntryFieldLocal vascField);
/**
* @param vascField the vascField to remove
*/
public void removeVascEntryField(VascEntryFieldLocal vascField);
void removeVascEntryField(VascEntryFieldLocal vascField);
/**
* @return the vascFields
*/
public Collection<VascEntryFieldLocal> getVascEntryFieldsLocal();
Collection<VascEntryFieldLocal> getVascEntryFieldsLocal();
/**
* @param rowAction the rowAction to add
*/
public void addRowAction(RowVascActionLocal rowAction);
void addRowAction(RowVascActionLocal rowAction);
/**
* @param rowAction the rowAction to remove
*/
public void removeRowAction(RowVascActionLocal rowAction);
void removeRowAction(RowVascActionLocal rowAction);
/**
* @return the rowActions
*/
public Collection<RowVascActionLocal> getRowActionsLocal();
Collection<RowVascActionLocal> getRowActionsLocal();
/**
* @param columnAction the columnAction to add
*/
public void addColumnAction(ColumnVascActionLocal columnAction);
void addColumnAction(ColumnVascActionLocal columnAction);
/**
* @param columnAction the columnAction to remove
*/
public void removeColumnAction(ColumnVascActionLocal columnAction);
void removeColumnAction(ColumnVascActionLocal columnAction);
/**
* @return the columnActions
*/
public Collection<ColumnVascActionLocal> getColumnActionsLocal();
Collection<ColumnVascActionLocal> getColumnActionsLocal();
/**
* @param globalAction the globalAction to add
*/
public void addGlobalAction(GlobalVascActionLocal globalAction);
void addGlobalAction(GlobalVascActionLocal globalAction);
/**
* @param globalAction the globalAction to remove
*/
public void removeGlobalAction(GlobalVascActionLocal globalAction);
void removeGlobalAction(GlobalVascActionLocal globalAction);
/**
* @return the globalActions
*/
public Collection<GlobalVascActionLocal> getGlobalActionsLocal();
Collection<GlobalVascActionLocal> getGlobalActionsLocal();
/**
* @param exportAction the exportAction to add
*/
public void addExportAction(GlobalVascActionLocal exportAction);
void addExportAction(GlobalVascActionLocal exportAction);
/**
* @param exportAction the exportAction to remove
*/
public void removeExportAction(GlobalVascActionLocal exportAction);
void removeExportAction(GlobalVascActionLocal exportAction);
/**
* @return the exportActions
*/
public Collection<GlobalVascActionLocal> getExportActionsLocal();
Collection<GlobalVascActionLocal> getExportActionsLocal();
/**
* @param vascEntryFieldSet the vascEntryFieldSet to add
*/
public void addVascEntryFieldSet(VascEntryFieldSetLocal vascEntryFieldSet);
void addVascEntryFieldSet(VascEntryFieldSetLocal vascEntryFieldSet);
/**
* @param vascEntryFieldSet the vascEntryFieldSet to remove
*/
public void removeVascEntryFieldSet(VascEntryFieldSetLocal vascEntryFieldSet);
void removeVascEntryFieldSet(VascEntryFieldSetLocal vascEntryFieldSet);
/**
* @return the vascEntryFieldSets
*/
public Collection<VascEntryFieldSetLocal> getVascEntryFieldSetsLocal();
Collection<VascEntryFieldSetLocal> getVascEntryFieldSetsLocal();
/**
* @param vascLinkEntry the vascLinkEntry to add
*/
public void addVascEntryLink(VascEntryLinkLocal vascEntryLink);
void addVascEntryLink(VascEntryLinkLocal vascEntryLink);
/**
* @param vascLinkEntry the vascLinkEntry to remover
*/
public void removeVascEntryLink(VascEntryLinkLocal vascEntryLink);
void removeVascEntryLink(VascEntryLinkLocal vascEntryLink);
/**
* @return the vascLinkEntries
*/
public Collection<VascEntryLinkLocal> getVascEntryLinksLocal();
Collection<VascEntryLinkLocal> getVascEntryLinksLocal();
public void setVascFrontendController(VascFrontendController vascFrontendData);
void setVascFrontendController(VascFrontendController vascFrontendData);
public void setBackendId(String backendId);
void setBackendId(String backendId);
public void setVascGroupId(String groupId);
void setVascGroupId(String groupId);
/**
* @param vascDisplayOnly the vascDisplayOnly to set
*/
public void setVascDisplayOnly(Boolean vascDisplayOnly);
void setVascDisplayOnly(Boolean vascDisplayOnly);
/**
* @param vascEntryFieldEventChannel the vascEntryFieldEventChannel to set
*/
public void setVascEntryFieldEventChannel(VascEntryFieldEventChannel vascEntryFieldEventChannel);
void setVascEntryFieldEventChannel(VascEntryFieldEventChannel vascEntryFieldEventChannel);
/**
* Added an VascEntryBackendEventListener
* @param listener The class of the event listener.
*/
public void addVascEntryBackendEventListener(String listener);
void addVascEntryBackendEventListener(String listener);
/**
* Added an VascEntryFrontendEventListener
* @param listener The class of the event listener.
*/
public void addVascEntryFrontendEventListener(String listener,String frontendType);
void addVascEntryFrontendEventListener(String listener,String frontendType);
public void addVascEntryListOption(VascEntryListOptionLocal listOption);
void addVascEntryListOption(VascEntryListOptionLocal listOption);
public void removeVascEntryListOption(VascEntryListOptionLocal listOption);
void removeVascEntryListOption(VascEntryListOptionLocal listOption);
public Collection<VascEntryListOptionLocal> getVascEntryListOptionsLocal();
Collection<VascEntryListOptionLocal> getVascEntryListOptionsLocal();
public void addVascBackendFilter(VascProxyFilter filter);
void addVascBackendFilter(VascProxyFilter filter);
public void addVascEntryFrontendAction(String actionClass,String frontendType);
void addVascEntryFrontendAction(String actionClass,String frontendType);
/**
* Force impl to have public clone methode
* @return
* @throws CloneNotSupportedException
*/
public VascEntryLocal clone() throws CloneNotSupportedException;
VascEntryLocal clone() throws CloneNotSupportedException;
}

View file

@ -41,76 +41,76 @@ public interface VascEntryState extends Serializable {
/**
* @return the entryDataList
*/
public List<Serializable> getEntryDataList();
List<Serializable> getEntryDataList();
/**
* @param entryDataList the entryDataList to set
*/
public void setEntryDataList(List<Serializable> entryDataList);
void setEntryDataList(List<Serializable> entryDataList);
/**
* @return the entryDataObject
*/
public Serializable getEntryDataObject();
Serializable getEntryDataObject();
/**
* @param entryDataObject the entryDataObject to set
*/
public void setEntryDataObject(Serializable entryDataObject);
void setEntryDataObject(Serializable entryDataObject);
/**
* @return the vascBackendState
*/
public VascBackendState getVascBackendState();
VascBackendState getVascBackendState();
/**
* @param vascBackendState the vascBackendState to set
*/
public void setVascBackendState(VascBackendState vascBackendState);
void setVascBackendState(VascBackendState vascBackendState);
/**
* @return the totalBackendRecords
*/
public Long getTotalBackendRecords();
Long getTotalBackendRecords();
/**
* @param totalBackendRecords the totalBackendRecords to set
*/
public void setTotalBackendRecords(Long totalBackendRecords);
void setTotalBackendRecords(Long totalBackendRecords);
/**
* @param state The previous state we come from.
*/
public void setParent(VascEntryState state);
void setParent(VascEntryState state);
/**
* @return The previous state we come from.
*/
public VascEntryState getParent();
VascEntryState getParent();
public void setMultiActionSelection(Map<Integer,Boolean> multiActionSelection);
public Map<Integer,Boolean> getMultiActionSelection();
void setMultiActionSelection(Map<Integer,Boolean> multiActionSelection);
Map<Integer,Boolean> getMultiActionSelection();
public void setVascEntry(VascEntry vascEntry);
public VascEntry getVascEntry();
void setVascEntry(VascEntry vascEntry);
VascEntry getVascEntry();
/**
* @return the vascBackend
*/
public VascBackend<Serializable> getVascBackend();
/**
* @param vascBackend the vascBackend to set
*/
public void setVascBackend(VascBackend<Serializable> vascBackend);
void setVascBackend(VascBackend<Serializable> vascBackend);
/**
* @return the isEditCreate
*/
public boolean isEditCreate();
boolean isEditCreate();
/**
* @param isEditCreate the isEditCreate to set
*/
public void setEditCreate(boolean isEditCreate);
}
void setEditCreate(boolean isEditCreate);
}

View file

@ -31,5 +31,5 @@ package net.forwardfire.vasc.core;
*/
public interface VascEventChannelController {
public void fireEvent(VascEventControllerType eventType,Object eventObject);
void fireEvent(VascEventControllerType eventType,Object eventObject);
}

View file

@ -11,24 +11,22 @@ import net.forwardfire.vasc.frontend.VascFrontendUserSettingController;
public interface VascInterfaceLoader {
public VascEntry createVascEntryImpl();
public VascEntryField createVascEntryFieldImpl();
public VascEntryFieldSet createVascEntryFieldSetImpl();
public VascEntryLink createVascEntryLinkImpl();
public VascEntryListOption createVascEntryListOptionImpl();
VascEntry createVascEntryImpl();
VascEntryField createVascEntryFieldImpl();
VascEntryFieldSet createVascEntryFieldSetImpl();
VascEntryLink createVascEntryLinkImpl();
VascEntryListOption createVascEntryListOptionImpl();
public VascEntryState createVascEntryStateImpl();
public VascBackendState createVascBackendStateImpl();
public VascFrontendControllerLocal createVascFrontendControllerLocalImpl();
VascEntryState createVascEntryStateImpl();
VascBackendState createVascBackendStateImpl();
VascFrontendControllerLocal createVascFrontendControllerLocalImpl();
public VascFrontendPageInfo createVascFrontendPagerImpl(VascEntry entry);
public VascFrontendActions createVascFrontendActionsImpl(VascEntry entry);
public VascFrontendDataSelector createVascFrontendDataSelectorImpl(VascEntry entry);
public VascFrontendUserController createVascFrontendUserControllerImpl(VascEntry entry);
public VascFrontendUserSettingController createVascFrontendUserSettingControllerImpl(VascEntry entry);
VascFrontendPageInfo createVascFrontendPagerImpl(VascEntry entry);
VascFrontendActions createVascFrontendActionsImpl(VascEntry entry);
VascFrontendDataSelector createVascFrontendDataSelectorImpl(VascEntry entry);
VascFrontendUserController createVascFrontendUserControllerImpl(VascEntry entry);
VascFrontendUserSettingController createVascFrontendUserSettingControllerImpl(VascEntry entry);
}

View file

@ -33,5 +33,5 @@ import net.forwardfire.vasc.core.VascEntryField;
*/
public interface ColumnVascAction extends VascAction {
public void doColumnAction(VascEntry table,VascEntryField column) throws Exception;
void doColumnAction(VascEntry table,VascEntryField column) throws Exception;
}

View file

@ -29,11 +29,11 @@ package net.forwardfire.vasc.core.actions;
* @version 1.0 Jun 4, 2012
*/
public interface ColumnVascActionLocal extends ColumnVascAction,VascActionLocal {
/**
* Force impl to have public clone methode
* @return
* @throws CloneNotSupportedException
*/
public ColumnVascActionLocal clone() throws CloneNotSupportedException;
ColumnVascActionLocal clone() throws CloneNotSupportedException;
}

View file

@ -32,5 +32,5 @@ import net.forwardfire.vasc.core.VascException;
*/
public interface GlobalVascAction extends VascAction {
public void doGlobalAction(VascEntry vascEntry) throws VascException;
void doGlobalAction(VascEntry vascEntry) throws VascException;
}

View file

@ -35,5 +35,5 @@ public interface GlobalVascActionLocal extends GlobalVascAction,VascActionLocal
* @return
* @throws CloneNotSupportedException
*/
public GlobalVascActionLocal clone() throws CloneNotSupportedException;
}
GlobalVascActionLocal clone() throws CloneNotSupportedException;
}

View file

@ -34,8 +34,7 @@ import net.forwardfire.vasc.core.VascException;
*/
public interface RowVascAction extends VascAction {
public boolean isMultiRowAction();
boolean isMultiRowAction();
public void doRowAction(VascEntry vascEntry,Serializable rowObject) throws VascException;
}
void doRowAction(VascEntry vascEntry,Serializable rowObject) throws VascException;
}

View file

@ -36,5 +36,5 @@ public interface RowVascActionLocal extends RowVascAction,VascActionLocal {
* @return
* @throws CloneNotSupportedException
*/
public RowVascActionLocal clone() throws CloneNotSupportedException;
}
RowVascActionLocal clone() throws CloneNotSupportedException;
}

View file

@ -29,9 +29,9 @@ package net.forwardfire.vasc.core.base;
* @version 1.0 Jun 2, 2012
*/
public interface VascBaseId extends VascBaseClone {
/**
* @return the id
*/
public String getId();
String getId();
}

View file

@ -33,6 +33,5 @@ public interface VascBaseIdLocal extends VascBaseId {
/**
* @param id the id to set
*/
public void setId(String id);
void setId(String id);
}

View file

@ -33,21 +33,20 @@ public interface VascBaseIdMetaData extends VascBaseId {
/**
* @return the name
*/
public String getName();
String getName();
/**
* @return the description
*/
public String getDescription();
String getDescription();
/**
* @return the helpId
*/
public String getHelpId();
String getHelpId();
/**
* @return the image
*/
public String getImage();
String getImage();
}

View file

@ -33,20 +33,20 @@ public interface VascBaseIdMetaDataLocal extends VascBaseIdMetaData,VascBaseIdLo
/**
* @param name the name to set
*/
public void setName(String name);
void setName(String name);
/**
* @param description the description to set
*/
public void setDescription(String description);
void setDescription(String description);
/**
* @param helpId the helpId to set
*/
public void setHelpId(String helpId);
void setHelpId(String helpId);
/**
* @param image the image to set
*/
public void setImage(String image);
void setImage(String image);
}

View file

@ -33,40 +33,40 @@ public interface VascBaseIdRoleCrud extends VascBaseIdRoleView {
/**
* @return the create
*/
public Boolean getCreate();
Boolean getCreate();
/**
* @return the edit
*/
public Boolean getEdit();
Boolean getEdit();
/**
* @return the editReadOnly
*/
public Boolean getEditReadOnly();
Boolean getEditReadOnly();
/**
* @return the list
*/
public Boolean getList();
Boolean getList();
/**
* @return the rolesCreate
*/
public String getRolesCreate();
String getRolesCreate();
/**
* @return the rolesEdit
*/
public String getRolesEdit();
String getRolesEdit();
/**
* @return the rolesEditReadOnly
*/
public String getRolesEditReadOnly();
String getRolesEditReadOnly();
/**
* @return the rolesList
*/
public String getRolesList();
String getRolesList();
}

View file

@ -33,40 +33,40 @@ public interface VascBaseIdRoleCrudLocal extends VascBaseIdRoleCrud,VascBaseIdRo
/**
* @param create the create to set
*/
public void setCreate(Boolean create);
void setCreate(Boolean create);
/**
* @param edit the edit to set
*/
public void setEdit(Boolean edit);
void setEdit(Boolean edit);
/**
* @param editReadOnly the editReadOnly to set
*/
public void setEditReadOnly(Boolean editReadOnly);
void setEditReadOnly(Boolean editReadOnly);
/**
* @param list the list to set
*/
public void setList(Boolean list);
void setList(Boolean list);
/**
* @param rolesCreate the rolesCreate to set
*/
public void setRolesCreate(String rolesCreate);
void setRolesCreate(String rolesCreate);
/**
* @param rolesEdit the rolesEdit to set
*/
public void setRolesEdit(String rolesEdit);
void setRolesEdit(String rolesEdit);
/**
* @param rolesEditReadOnly the rolesEditReadOnly to set
*/
public void setRolesEditReadOnly(String rolesEditReadOnly);
void setRolesEditReadOnly(String rolesEditReadOnly);
/**
* @param rolesList the rolesList to set
*/
public void setRolesList(String rolesList);
void setRolesList(String rolesList);
}

View file

@ -33,15 +33,15 @@ public interface VascBaseIdRoleCrudOrder extends VascBaseIdRoleCrudLocal {
/**
* @return the orderCreate
*/
public Integer getOrderCreate();
Integer getOrderCreate();
/**
* @return the orderEdit
*/
public Integer getOrderEdit();
Integer getOrderEdit();
/**
* @return the orderCreate
*/
public Integer getOrderList();
Integer getOrderList();
}

View file

@ -33,15 +33,15 @@ public interface VascBaseIdRoleCrudOrderLocal extends VascBaseIdRoleCrudOrder,Va
/**
* @param orderCreate the orderCreate to set
*/
public void setOrderCreate(Integer orderCreate);
void setOrderCreate(Integer orderCreate);
/**
* @param orderEdit the orderEdit to set
*/
public void setOrderEdit(Integer orderEdit);
void setOrderEdit(Integer orderEdit);
/**
* @param orderList the orderList to set
*/
public void setOrderList(Integer orderList);
void setOrderList(Integer orderList);
}

View file

@ -33,10 +33,10 @@ public interface VascBaseIdRoleView extends VascBaseId {
/**
* @return the view
*/
public Boolean getView();
Boolean getView();
/**
* @return the rolesView
*/
public String getRolesView();
String getRolesView();
}

View file

@ -33,10 +33,10 @@ public interface VascBaseIdRoleViewLocal extends VascBaseIdLocal,VascBaseIdRoleV
/**
* @param view the view to set
*/
public void setView(Boolean view);
void setView(Boolean view);
/**
* @param rolesView the rolesView to set
*/
public void setRolesView(String rolesView);
void setRolesView(String rolesView);
}

View file

@ -33,5 +33,5 @@ public interface VascBaseIdRoleViewOrder extends VascBaseIdRoleView {
/**
* @return the order
*/
public Integer getOrder();
Integer getOrder();
}

View file

@ -33,5 +33,5 @@ public interface VascBaseIdRoleViewOrderLocal extends VascBaseIdRoleViewOrder,Va
/**
* @param order the order to set
*/
public void setOrder(Integer order);
void setOrder(Integer order);
}

View file

@ -55,7 +55,7 @@ public interface VascEntryBackendEventListener extends Serializable {
POST_MOVE_UP
}
public VascBackendEventType[] getEventTypes();
VascBackendEventType[] getEventTypes();
/**
* Is executed when the type of event is fired.
@ -63,5 +63,5 @@ public interface VascEntryBackendEventListener extends Serializable {
* @param type
* @param data
*/
public void vascEvent(VascEntry entry,Object data);
}
void vascEvent(VascEntry entry,Object data);
}

View file

@ -36,15 +36,15 @@ import net.forwardfire.vasc.core.VascException;
public interface VascEntryExport extends Serializable {
// move ?
public VascEntryExportWriter createExportWriter() throws VascException;
VascEntryExportWriter createExportWriter() throws VascException;
public String getId();
String getId();
public String getRolesExport();
String getRolesExport();
public String getExportWriterClass();
String getExportWriterClass();
public void addWriterParameter(String key,String value);
public String getWriterParameter(String key);
public Set<String> getWriterParameterKeys();
void addWriterParameter(String key,String value);
String getWriterParameter(String key);
Set<String> getWriterParameterKeys();
}

View file

@ -37,12 +37,11 @@ import net.forwardfire.vasc.core.VascException;
*/
public interface VascEntryExportWriter extends Serializable {
public void doInit(VascEntryExport export,VascEntry vascEntry) throws VascException;
void doInit(VascEntryExport export,VascEntry vascEntry) throws VascException;
public void doExport(OutputStream out) throws IOException,VascException;
void doExport(OutputStream out) throws IOException,VascException;
public String getMineType();
String getMineType();
public String getFileType();
}
String getFileType();
}

View file

@ -32,8 +32,8 @@ import java.io.Serializable;
*/
public interface VascEntryFieldEventChannel extends Serializable {
public void setChannel(String channel);
public String getChannel();
void setChannel(String channel);
String getChannel();
}
}

View file

@ -46,5 +46,5 @@ public interface VascEntryFieldValidatorService {
* @return
* @throws VascException
*/
public List<String> validateObjectField(VascEntryField field, Object selectedRecord,Object objectValue) throws VascException;
}
List<String> validateObjectField(VascEntryField field, Object selectedRecord,Object objectValue) throws VascException;
}

View file

@ -55,7 +55,7 @@ public interface VascEntryFrontendEventListener extends Serializable {
OPTION_UPDATE,
}
public VascFrontendEventType[] getEventTypes();
VascFrontendEventType[] getEventTypes();
/**
* Is executed when the type of event is fired.
@ -63,5 +63,5 @@ public interface VascEntryFrontendEventListener extends Serializable {
* @param type
* @param data
*/
public void vascEvent(VascEntry entry,Serializable data);
}
void vascEvent(VascEntry entry,Serializable data);
}

View file

@ -31,7 +31,6 @@ import net.forwardfire.vasc.core.VascEntry;
* @version 1.0 May 13, 2009
*/
public interface VascEntryResourceImageResolver {
public Object getImageValue(VascEntry entry,String key);
}
Object getImageValue(VascEntry entry,String key);
}

View file

@ -29,7 +29,6 @@ package net.forwardfire.vasc.core.entry;
* @version 1.0 Mar 21, 2007
*/
public interface VascEntryResourceResolver {
public String getTextValue(String key,Object...params);
}
String getTextValue(String key,Object...params);
}

View file

@ -42,25 +42,25 @@ public interface VascSelectItemModel extends Serializable {
* @return
* @throws VascException
*/
public List<VascSelectItem> getVascSelectItems(VascEntry entry) throws VascException;
List<VascSelectItem> getVascSelectItems(VascEntry entry) throws VascException;
/**
* @return the nullLabel
*/
public String getNullLabel();
String getNullLabel();
/**
* @param nullLabel the nullLabel to set
*/
public void setNullLabel(String nullLabel);
void setNullLabel(String nullLabel);
/**
* @return the nullKeyValue
*/
public String getNullKeyValue();
String getNullKeyValue();
/**
* @param nullKeyValue the nullKeyValue to set
*/
public void setNullKeyValue(String nullKeyValue);
}
void setNullKeyValue(String nullKeyValue);
}

View file

@ -47,14 +47,14 @@ public interface VascUIComponent {
static public final String[] requiredUIComponents = {VASC_LABEL,VASC_TEXT,VASC_LIST,VASC_BUTTON};
public Object createComponent(VascEntry entry,VascEntryField entryField,VascValueModel model,Object gui) throws VascException;
Object createComponent(VascEntry entry,VascEntryField entryField,VascValueModel model,Object gui) throws VascException;
public void setErrorText(String text);
public String getErrorText();
void setErrorText(String text);
String getErrorText();
public void setDisabled(boolean disabled);
public boolean isDisabled();
void setDisabled(boolean disabled);
boolean isDisabled();
public void setRendered(boolean rendered);
public boolean isRendered();
}
void setRendered(boolean rendered);
boolean isRendered();
}

View file

@ -34,5 +34,5 @@ import net.forwardfire.vasc.core.VascException;
*/
public interface VascValueModelListener extends EventListener {
public void valueUpdate(VascValueModel model) throws VascException;
void valueUpdate(VascValueModel model) throws VascException;
}

View file

@ -33,19 +33,19 @@ import net.forwardfire.vasc.core.entry.VascEntryExport;
*/
public interface VascFrontend {
public void setId(String name);
void setId(String name);
public String getId();
String getId();
public String getFrontendType();
String getFrontendType();
public void initEntry(VascEntry entry) throws VascFrontendException;
void initEntry(VascEntry entry) throws VascFrontendException;
public void renderView() throws VascFrontendException;
public void renderEdit() throws VascFrontendException;
void renderView() throws VascFrontendException;
public void renderDelete() throws VascFrontendException;
void renderEdit() throws VascFrontendException;
public void renderExport(VascEntryExport exporter) throws VascFrontendException;
}
void renderDelete() throws VascFrontendException;
void renderExport(VascEntryExport exporter) throws VascFrontendException;
}

View file

@ -33,24 +33,24 @@ import net.forwardfire.vasc.core.VascEntryField;
* @version 1.0 Jan 22, 2012
*/
public interface VascFrontendActions extends VascFrontendEntry {
public void refreshData() throws VascFrontendException;
public Serializable createObject() throws VascFrontendException;
public void deleteObject() throws VascFrontendException;
public void persistObject() throws VascFrontendException;
void refreshData() throws VascFrontendException;
public Serializable mergeObject() throws VascFrontendException;
Serializable createObject() throws VascFrontendException;
public void sortAction(VascEntryField field) throws VascFrontendException;
void deleteObject() throws VascFrontendException;
public void searchAction(String searchString) throws VascFrontendException;
void persistObject() throws VascFrontendException;
public void pageAction(Integer page) throws VascFrontendException;
Serializable mergeObject() throws VascFrontendException;
public void moveUpAction(Serializable object) throws VascFrontendException;
void sortAction(VascEntryField field) throws VascFrontendException;
public void moveDownAction(Serializable object) throws VascFrontendException;
}
void searchAction(String searchString) throws VascFrontendException;
void pageAction(Integer page) throws VascFrontendException;
void moveUpAction(Serializable object) throws VascFrontendException;
void moveDownAction(Serializable object) throws VascFrontendException;
}

View file

@ -49,88 +49,86 @@ import net.forwardfire.vasc.core.ui.VascUIComponent;
* @version 1.0 Mar 21, 2007
*/
public interface VascFrontendController {
/**
* @return the vascFrontend
*/
public VascFrontend getVascFrontend();
VascFrontend getVascFrontend();
/**
* @param vascFrontend the vascFrontend to set
*/
public void setVascFrontend(VascFrontend vascFrontend);
void setVascFrontend(VascFrontend vascFrontend);
/**
* Gets the VascFrontendActions to make frontend actions simple.
*/
public VascFrontendActions getVascFrontendActions();
VascFrontendActions getVascFrontendActions();
/**
* @return the vascFrontendPageInfo
*/
public VascFrontendPageInfo getVascFrontendPageInfo();
VascFrontendPageInfo getVascFrontendPageInfo();
/**
* @return the VascFrontendHelper
*/
public VascFrontendHelper getVascFrontendHelper();
VascFrontendHelper getVascFrontendHelper();
/**
* @param vascFrontendHelper The VascFrontendHelper to set.
*/
public void setVascFrontendHelper(VascFrontendHelper vascFrontendHelper);
void setVascFrontendHelper(VascFrontendHelper vascFrontendHelper);
/**
* @return the vascEntryResourceResolver
*/
public VascEntryResourceResolver getVascEntryResourceResolver();
VascEntryResourceResolver getVascEntryResourceResolver();
public void putVascUIComponent(String rendererId,String uiComponentClass);
public VascUIComponent getVascUIComponent(String rendererId) throws VascException;
public String getVascUIComponentClass(String rendererId);
void putVascUIComponent(String rendererId,String uiComponentClass);
public void setVascController(VascController vascController);
VascUIComponent getVascUIComponent(String rendererId) throws VascException;
String getVascUIComponentClass(String rendererId);
public VascController getVascController();
void setVascController(VascController vascController);
public void addFieldVascUIComponents(VascEntryField field,VascUIComponent uiComponent,Object editor);
public VascUIComponent getFieldVascUIComponent(VascEntryField field);
public Object getFieldRealRenderer(VascEntryField field);
public void clearFieldRenderObjects();
VascController getVascController();
void addFieldVascUIComponents(VascEntryField field,VascUIComponent uiComponent,Object editor);
VascUIComponent getFieldVascUIComponent(VascEntryField field);
Object getFieldRealRenderer(VascEntryField field);
void clearFieldRenderObjects();
/**
* @return the vascEntryResourceImageResolver
*/
public VascEntryResourceImageResolver getVascEntryResourceImageResolver();
VascEntryResourceImageResolver getVascEntryResourceImageResolver();
public List<VascEntryFieldValidatorService> getVascValidatorServices();
List<VascEntryFieldValidatorService> getVascValidatorServices();
public VascEntryState getVascEntryState();
VascEntryState getVascEntryState();
public void initFrontendListeners(VascEntryLocal entry,String frontendType) throws InstantiationException, IllegalAccessException;
public void addVascEntryFrontendEventListener(VascEntryFrontendEventListener listener);
public List<VascEntryFrontendEventListener> getVascEntryFrontendEventListener(VascEntryFrontendEventListener.VascFrontendEventType type);
public void fireVascFrontendEvent(VascEntry entry,VascFrontendEventType type,Serializable data);
void initFrontendListeners(VascEntryLocal entry,String frontendType) throws InstantiationException, IllegalAccessException;
void addVascEntryFrontendEventListener(VascEntryFrontendEventListener listener);
List<VascEntryFrontendEventListener> getVascEntryFrontendEventListener(VascEntryFrontendEventListener.VascFrontendEventType type);
void fireVascFrontendEvent(VascEntry entry,VascFrontendEventType type,Serializable data);
/**
* @return the vascFrontendDataSelector
*/
public VascFrontendDataSelector getVascFrontendDataSelector();
VascFrontendDataSelector getVascFrontendDataSelector();
/**
* @return the vascFrontendUserController
*/
public VascFrontendUserController getVascFrontendUserController();
VascFrontendUserController getVascFrontendUserController();
/**
* @return the vascFrontendUserSettingController
*/
public VascFrontendUserSettingController getVascFrontendUserSettingController();
}
VascFrontendUserSettingController getVascFrontendUserSettingController();
}

View file

@ -38,39 +38,39 @@ public interface VascFrontendControllerLocal extends VascFrontendController {
/**
* @param vascFrontendActions the vascFrontendActions to set
*/
public void setVascFrontendActions(VascFrontendActions vascFrontendActions);
void setVascFrontendActions(VascFrontendActions vascFrontendActions);
/**
* @param vascFrontendPageInfo the vascFrontendPageInfo to set
*/
public void setVascFrontendPageInfo(VascFrontendPageInfo vascFrontendPager);
void setVascFrontendPageInfo(VascFrontendPageInfo vascFrontendPager);
/**
* @param vascEntryResourceResolver the vascEntryResourceResolver to set
*/
public void setVascEntryResourceResolver(VascEntryResourceResolver vascEntryResourceResolver);
void setVascEntryResourceResolver(VascEntryResourceResolver vascEntryResourceResolver);
/**
* @param vascEntryResourceImageResolver the vascEntryResourceImageResolver to set
*/
public void setVascEntryResourceImageResolver(VascEntryResourceImageResolver vascEntryResourceImageResolver);
void setVascEntryResourceImageResolver(VascEntryResourceImageResolver vascEntryResourceImageResolver);
public void addVascValidatorService(VascEntryFieldValidatorService validatorService);
void addVascValidatorService(VascEntryFieldValidatorService validatorService);
public void setVascEntryState(VascEntryState state);
void setVascEntryState(VascEntryState state);
/**
* @param vascFrontendDataSelector the vascFrontendDataSelector to set
*/
public void setVascFrontendDataSelector(VascFrontendDataSelector vascFrontendDataSelector);
void setVascFrontendDataSelector(VascFrontendDataSelector vascFrontendDataSelector);
/**
* @param vascFrontendUserController the vascFrontendUserController to set
*/
public void setVascFrontendUserController(VascFrontendUserController vascFrontendUserController);
void setVascFrontendUserController(VascFrontendUserController vascFrontendUserController);
/**
* @param vascFrontendUserSettingController the vascFrontendUserSettingController to set
*/
public void setVascFrontendUserSettingController(VascFrontendUserSettingController vascFrontendUserSettingController);
}
void setVascFrontendUserSettingController(VascFrontendUserSettingController vascFrontendUserSettingController);
}

View file

@ -38,12 +38,12 @@ import net.forwardfire.vasc.core.actions.VascAction;
*/
public interface VascFrontendDataSelector extends VascFrontendEntry {
public boolean isActionAllowed(VascAction action);
public boolean isFieldView(VascEntryField field);
public boolean isFieldCreate(VascEntryField field);
public boolean isFieldEdit(VascEntryField field);
public boolean isFieldEditReadOnly(VascEntryField field);
public boolean isFieldList(VascEntryField field);
boolean isActionAllowed(VascAction action);
boolean isFieldView(VascEntryField field);
boolean isFieldCreate(VascEntryField field);
boolean isFieldEdit(VascEntryField field);
boolean isFieldEditReadOnly(VascEntryField field);
boolean isFieldList(VascEntryField field);
public enum EntrySelectType {
VIEW,
@ -63,5 +63,5 @@ public interface VascFrontendDataSelector extends VascFrontendEntry {
SORT
}
public List<VascEntryField> getFields(EntryFieldSelectType type);
}
List<VascEntryField> getFields(EntryFieldSelectType type);
}

View file

@ -33,5 +33,5 @@ import net.forwardfire.vasc.core.VascEntry;
*/
public interface VascFrontendEntry {
public void init(VascEntry entry);
void init(VascEntry entry);
}

View file

@ -49,22 +49,21 @@ public interface VascFrontendHelper {
public boolean renderRowVascAction(RowVascAction action);
*/
public Integer getTotalColumnsWidth(VascEntry entry);
Integer getTotalColumnsWidth(VascEntry entry);
public List<VascEntryLink> getVascLinkEntryByType(VascEntry entry,VascEntryLinkType type);
public List<String> validateObjectField(VascEntryField field) throws VascException;
List<VascEntryLink> getVascLinkEntryByType(VascEntry entry,VascEntryLinkType type);
public boolean validateAndSetErrorText(VascEntry entry) throws VascException;
List<String> validateObjectField(VascEntryField field) throws VascException;
public void headerOptionsCreatedFillData(VascEntry entry) throws VascException;
boolean validateAndSetErrorText(VascEntry entry) throws VascException;
public void editReadOnlyUIComponents(VascEntry entry);
public List<RowVascAction> getMultiRowActions(VascEntry entry);
void headerOptionsCreatedFillData(VascEntry entry) throws VascException;
public String getSelectedDisplayName(VascEntry entry);
public String getParentSelectedDisplayName(VascEntry entry);
void editReadOnlyUIComponents(VascEntry entry);
List<RowVascAction> getMultiRowActions(VascEntry entry);
String getSelectedDisplayName(VascEntry entry);
String getParentSelectedDisplayName(VascEntry entry);
}

View file

@ -33,21 +33,21 @@ import java.util.List;
* @version 1.0 Jan 22, 2012
*/
public interface VascFrontendPageInfo extends VascFrontendEntry {
public long getPageStartCount();
public long getPageStopCount();
public long getPageSize();
public long getPageTotalRecordCount();
public boolean getHasPageNextAction();
public boolean getHasPagePreviousAction();
public boolean getHasOnlySinglePage();
public boolean getHasExtendedPageMode();
public boolean getHasExtendedPageModeCenter();
long getPageStartCount();
long getPageStopCount();
long getPageSize();
long getPageTotalRecordCount();
public List<VascFrontendPageInfoNumber> getTablePagesFromBackend();
public List<VascFrontendPageInfoNumber> getTablePagesNormal();
public List<VascFrontendPageInfoNumber> getTablePagesExtendedBegin();
public List<VascFrontendPageInfoNumber> getTablePagesExtendedCenter();
public List<VascFrontendPageInfoNumber> getTablePagesExtendedEnd();
}
boolean getHasPageNextAction();
boolean getHasPagePreviousAction();
boolean getHasOnlySinglePage();
boolean getHasExtendedPageMode();
boolean getHasExtendedPageModeCenter();
List<VascFrontendPageInfoNumber> getTablePagesFromBackend();
List<VascFrontendPageInfoNumber> getTablePagesNormal();
List<VascFrontendPageInfoNumber> getTablePagesExtendedBegin();
List<VascFrontendPageInfoNumber> getTablePagesExtendedCenter();
List<VascFrontendPageInfoNumber> getTablePagesExtendedEnd();
}

View file

@ -34,13 +34,13 @@ import java.util.Locale;
*/
public interface VascFrontendUserController {
public Locale getUserLocale();
Locale getUserLocale();
public boolean isUser();
boolean isUser();
public Object getUserId();
Object getUserId();
public String getUserName();
String getUserName();
public boolean hasUserRole(String role);
}
boolean hasUserRole(String role);
}

View file

@ -33,20 +33,20 @@ import java.lang.annotation.Annotation;
*/
public interface VascValidator extends Cloneable,Serializable {
public boolean isObjectValid(Object object) throws VascValidatorException;
boolean isObjectValid(Object object) throws VascValidatorException;
/**
* May return null for no annotation support
* @return
*/
public Class<?> getAnnotationType();
Class<?> getAnnotationType();
public void initAnnotation(Annotation annotation);
void initAnnotation(Annotation annotation);
/**
* Force impl to have public clone methode
* @return
* @throws CloneNotSupportedException
*/
public VascValidator clone() throws CloneNotSupportedException;
VascValidator clone() throws CloneNotSupportedException;
}

View file

@ -13,8 +13,8 @@ import net.forwardfire.vasc.core.VascException;
*/
public interface SwingPanelIntegration {
public void createNewVascView(VascEntry entry) throws VascException;
public JPanel initVascView();
public void openVascView(JPanel pane,VascEntry entry);
public void closeVascView(JPanel pane,VascEntry entry);
void createNewVascView(VascEntry entry) throws VascException;
JPanel initVascView();
void openVascView(JPanel pane,VascEntry entry);
void closeVascView(JPanel pane,VascEntry entry);
}

View file

@ -37,17 +37,16 @@ import net.sf.jasperreports.engine.type.HorizontalAlignEnum;
*/
public interface JRDynamicDataSource extends JRRewindableDataSource {
public void addDynamicColumnClassFields(JasperDesign jd) throws JRException;
public Map<String,Object> addDynamicELBean();
void addDynamicColumnClassFields(JasperDesign jd) throws JRException;
Map<String,Object> addDynamicELBean();
public int getDynamicColumnCount();
public int getDynamicColumnX(int col);
public int getDynamicColumnY(int col);
public int getDynamicColumnWidth(int col);
public int getDynamicColumnHeight(int col);
public HorizontalAlignEnum getDynamicColumnHorizontalAlignment(int col);
public boolean isDynamicColumnStretchWithOverflow(int col);
public boolean isDynamicColumnBlankWhenNull(int col);
int getDynamicColumnCount();
int getDynamicColumnX(int col);
int getDynamicColumnY(int col);
int getDynamicColumnWidth(int col);
int getDynamicColumnHeight(int col);
HorizontalAlignEnum getDynamicColumnHorizontalAlignment(int col);
boolean isDynamicColumnStretchWithOverflow(int col);
boolean isDynamicColumnBlankWhenNull(int col);
}

View file

@ -38,19 +38,19 @@ import net.forwardfire.vasc.xpql.query.Query;
*/
public interface XpqlQueryManager {
public Query getQuery(String name);
Query getQuery(String name);
public List<Object> execute(EntityManager entityManager,Query query);
List<Object> execute(EntityManager entityManager,Query query);
public Object executeObject(EntityManager entityManager,Query query);
Object executeObject(EntityManager entityManager,Query query);
public Integer executeUpdate(EntityManager entityManager,Query query);
Integer executeUpdate(EntityManager entityManager,Query query);
public List<Object> execute(EntityManager entityManager,String query,Map<String,Object> parameters);
List<Object> execute(EntityManager entityManager,String query,Map<String,Object> parameters);
public Object executeObject(EntityManager entityManager,String query,Map<String,Object> parameters);
Object executeObject(EntityManager entityManager,String query,Map<String,Object> parameters);
public Integer executeUpdate(EntityManager entityManager,String query,Map<String,Object> parameters);
Integer executeUpdate(EntityManager entityManager,String query,Map<String,Object> parameters);
@Local
public interface ILocal extends XpqlQueryManager {

View file

@ -42,37 +42,37 @@ public interface Query extends QueryPart {
hql
}
public void setName(String name);
public String getName();
void setName(String name);
String getName();
public void setType(QueryType type);
public QueryType getType();
void setType(QueryType type);
QueryType getType();
public void addQueryPart(QueryPart queryPart);
public List<QueryPart> getQueryParts();
void addQueryPart(QueryPart queryPart);
List<QueryPart> getQueryParts();
public void addQueryComment(String comment);
public List<String> getQueryComments();
void addQueryComment(String comment);
List<String> getQueryComments();
public void addQueryParameterValue(QueryParameterValue value);
public void addLocalQueryParameterValue(QueryParameterValue value);
public void addOrderQueryParameterValue(QueryParameterValue value);
public Collection<QueryParameterValue> getQueryParameterValues();
public Collection<QueryParameterValue> getLocalQueryParameterValues();
public List<QueryParameterValue> getOrderQueryParameterValues();
public QueryParameterValue getQueryParameterValue(String name);
void addQueryParameterValue(QueryParameterValue value);
void addLocalQueryParameterValue(QueryParameterValue value);
void addOrderQueryParameterValue(QueryParameterValue value);
Collection<QueryParameterValue> getQueryParameterValues();
Collection<QueryParameterValue> getLocalQueryParameterValues();
List<QueryParameterValue> getOrderQueryParameterValues();
QueryParameterValue getQueryParameterValue(String name);
public void setQueryParameter(String name,Object value);
public void setQueryParameters(Map<String,Object> parameters);
public List<String> getQueryParameters();
void setQueryParameter(String name,Object value);
void setQueryParameters(Map<String,Object> parameters);
List<String> getQueryParameters();
public void setProperty(String name,Object value);
public Object getProperty(String name);
public String getPropertyString(String name);
public Collection<String> getPropertyKeys();
void setProperty(String name,Object value);
Object getProperty(String name);
String getPropertyString(String name);
Collection<String> getPropertyKeys();
public void setQueryStore(QueryStore store);
public QueryStore getQueryStore();
void setQueryStore(QueryStore store);
QueryStore getQueryStore();
/**
* Force impl to have public clone methode
@ -80,5 +80,5 @@ public interface Query extends QueryPart {
* @throws CloneNotSupportedException
*/
@Override
public Query clone() throws CloneNotSupportedException;
Query clone() throws CloneNotSupportedException;
}

View file

@ -49,64 +49,64 @@ public interface QueryParameterValue {
* Sets the name
* @param name The name to set.
*/
public void setName(String name);
void setName(String name);
/**
* Gets the name
* @return Returns the name
*/
public String getName();
String getName();
/**
* Sets the value
* @param value The value to set.
*/
public void setValue(Object value);
void setValue(Object value);
/**
* Gets the value
* @return Returns the value
*/
public Object getValue();
Object getValue();
/**
* Sets the defaultValue
* @param defaultValue The defaultValue to set.
*/
public void setDefaultValue(Object defaultValue);
void setDefaultValue(Object defaultValue);
/**
* Gets the defaultValue
* @return Returns the defaultValue
*/
public Object getDefaultValue();
Object getDefaultValue();
/**
* Sets type value Type
* @param type The type to set.
*/
public void setType(QueryParameterType type);
void setType(QueryParameterType type);
/**
* Gets the type.
* @return Returns the type
*/
public QueryParameterType getType();
QueryParameterType getType();
/**
* @return the valueType
*/
public Class<?> getValueType();
Class<?> getValueType();
/**
* @param valueType the valueType to set
*/
public void setValueType(Class<?> valueType);
void setValueType(Class<?> valueType);
/**
* Force impl to have public clone methode
* @return
* @throws CloneNotSupportedException
*/
public QueryParameterValue clone() throws CloneNotSupportedException;
}
QueryParameterValue clone() throws CloneNotSupportedException;
}

View file

@ -35,33 +35,33 @@ public interface QueryPart extends Cloneable {
* This version is intended for execution.
* @return
*/
public String toSQL(Query query);
String toSQL(Query query);
/**
* This method is for building the prepared statement SQL version of the query part.
* This version is intended for execution via a prepared statement.
* @return
*/
public String toPreparedSQL(Query query);
String toPreparedSQL(Query query);
/**
* This method is for building the XML version of the query part.
* This version is intended for storage.
* @return
*/
public String toXML(Query query);
String toXML(Query query);
/**
* This method is for building the edit mode version of the query part.
* This version is intended for humans working with the format in an editor.
* @return
*/
public String toEdit(Query query);
String toEdit(Query query);
/**
* Force impl to have public clone methode
* @return
* @throws CloneNotSupportedException
*/
public QueryPart clone() throws CloneNotSupportedException;
}
QueryPart clone() throws CloneNotSupportedException;
}