Subversion Repositories general

Compare Revisions

Regard whitespace Rev 918 → Rev 919

/sun/hostcaptain/trunk/src/ak/hostcaptain/core/model/GeneralModelObject.java
1,6 → 1,8
package ak.hostcaptain.core.model;
 
import java.util.Date;
import ak.hostcaptain.util.ModelException;
import ak.hostcaptain.util.ModelSecurityException;
 
public abstract class GeneralModelObject
implements ModelObject
24,6 → 26,15
this.enabled = enabled;
}
 
public void setEnabled(User editor, Boolean enabled)
throws ModelException
{
if(!editableBy(editor))
throw new ModelSecurityException();
 
this.enabled = enabled;
}
 
/**
*
* @hibernate.property
38,6 → 49,15
this.comment = comment;
}
 
public void setComment(User editor, String comment)
throws ModelException
{
if(!editableBy(editor))
throw new ModelSecurityException();
 
this.comment = comment;
}
 
/**
*
* @hibernate.timestamp column="mod_stamp"