MXException - Thrown if all seasonal fields hasn't specified
java.rmi.RemoteException
validDayMonth
public void validDayMonth(int newDay,
java.lang.String month)
throws MXException,
java.rmi.RemoteException
checks the entered day is a valid day or not in a given month
Parameters:
day - The day to be checked
month - The month in which the day falls.
Throws:
MXException - If not a valid day then MXApplicationException("PM", "InvalidDay")
java.rmi.RemoteException
canDelete
public void canDelete()
throws MXException,
java.rmi.RemoteException
Method that checks whether a PMSeasons can be deleted or not.
Throws interactive message in case of UI to delete the PM Hierarchy forecast if the seasons are deleted
Save the object and other linked objects.
Subclasses can code their save() logic to include any appropriate updates
to other linked objects and call super.save().