*/
public PizzaServiceApplication () {
// Trace message
- this.getLogger().trace("CALLED!"); //NOI18N
+ this.getLogger().logTrace("CALLED!"); //NOI18N
}
@Override
public void doAdminAddCategory (final Category category) throws CategoryTitleAlreadyUsedException {
// Trace message
- this.getLogger().trace(MessageFormat.format("category={0} - CALLED!", category)); //NOI18N
+ this.getLogger().logTrace(MessageFormat.format("category={0} - CALLED!", category)); //NOI18N
// category must not be null
if (null == category) {
Category parentCategory = category.getParentCategory();
// Debug message
- this.getLogger().debug(MessageFormat.format("title={0},parentCategory={1}", title, parentCategory)); //NOI18N
+ this.getLogger().logDebug(MessageFormat.format("title={0},parentCategory={1}", title, parentCategory)); //NOI18N
// Init variables for casting
Integer id = 0;
throw new UnsupportedOperationException("Unfinished method.");
// Trace message
- //this.getLogger().trace("EXIT!"); //NOI18N
+ //this.getLogger().logTrace("EXIT!"); //NOI18N
}
@Override
public void doAdminAddProduct (final Product product) throws ProductTitleAlreadyUsedException {
// Trace message
- this.getLogger().trace(MessageFormat.format("product={0} - CALLED!", product)); //NOI18N
+ this.getLogger().logTrace(MessageFormat.format("product={0} - CALLED!", product)); //NOI18N
// product must not be null
if (null == product) {
Boolean available = product.getProductAvailability();
// Debug message
- this.getLogger().debug(MessageFormat.format("title={0},price={1},id={2},available={3}", title, price, id, available)); //NOI18N
+ this.getLogger().logDebug(MessageFormat.format("title={0},price={1},id={2},available={3}", title, price, id, available)); //NOI18N
// Check all fields
if (null == title) {
throw new UnsupportedOperationException("Unfinished method.");
// Trace message
- //this.getLogger().trace("EXIT!"); //NOI18N
+ //this.getLogger().logTrace("EXIT!"); //NOI18N
}
@Override
@SuppressWarnings ("unchecked")
public Iterator<Category> getAllCategoriesIterator () {
// Trace message
- this.getLogger().trace("CALLED!"); //NOI18N
+ this.getLogger().logTrace("CALLED!"); //NOI18N
// Unfinished
throw new UnsupportedOperationException("Unfinished method.");
@SuppressWarnings ("unchecked")
public Iterator<Product> getAllProductsIterator () {
// Trace message
- this.getLogger().trace("CALLED!"); //NOI18N
+ this.getLogger().logTrace("CALLED!"); //NOI18N
// Unfinished
throw new UnsupportedOperationException("Unfinished method.");
@SuppressWarnings ("unchecked")
public Iterator<Product> getAvailableProductsIterator () {
// Trace message
- this.getLogger().trace("CALLED!"); //NOI18N
+ this.getLogger().logTrace("CALLED!"); //NOI18N
// Unfinished
throw new UnsupportedOperationException("Unfinished method.");
@Override
public void init () throws SQLException {
// Trace message
- this.getLogger().trace("CALLED!"); //NOI18N
+ this.getLogger().logTrace("CALLED!"); //NOI18N
// Is the bundle initialized?
if (!BaseFrameworkSystem.isBundledInitialized()) {
}
// Trace message
- this.getLogger().trace("EXIT!"); //NOI18N
+ this.getLogger().logTrace("EXIT!"); //NOI18N
}
/**
*/
private boolean isCategoryTitleUsed (final String title) {
// Trace message
- this.getLogger().trace(MessageFormat.format("title={0} - CALLED!", title)); //NOI18N
+ this.getLogger().logTrace(MessageFormat.format("title={0} - CALLED!", title)); //NOI18N
// Unfinished
throw new UnsupportedOperationException("Unfinished method.");
*/
private boolean isCategoryTitleUsed (final Category category) {
// Trace message
- this.getLogger().trace(MessageFormat.format("category={0} - CALLED!", category)); //NOI18N
+ this.getLogger().logTrace(MessageFormat.format("category={0} - CALLED!", category)); //NOI18N
// Init title
String title = category.getCategoryTitle();
boolean isUsed = this.isCategoryTitleUsed(title);
// Trace message
- this.getLogger().trace(MessageFormat.format("isUsed={0} - EXIT!", isUsed)); //NOI18N
+ this.getLogger().logTrace(MessageFormat.format("isUsed={0} - EXIT!", isUsed)); //NOI18N
// Return it
return isUsed;
*/
private boolean isProductTitleUsed (final Product product) {
// Trace message
- this.getLogger().trace(MessageFormat.format("category={0} - CALLED!", product)); //NOI18N
+ this.getLogger().logTrace(MessageFormat.format("category={0} - CALLED!", product)); //NOI18N
// Init title
String title = product.getProductTitle();
throw new UnsupportedOperationException("not finished yet.");
// Trace message
- //this.getLogger().trace(MessageFormat.format("isUsed={0} - EXIT!", isUsed)); //NOI18N
+ //this.getLogger().logTrace(MessageFormat.format("isUsed={0} - EXIT!", isUsed)); //NOI18N
// Return it
//return isUsed;
}