-
- All Known Implementing Classes:
Account,Administrator,CvsRepository,List,Package,Pipe,SharedTomcat,Site,SmtpRelay,User,User,User,User,UserServer,UserServer,UserServer,VirtualHost
public interface DisablableClasses that areDisablablecan be disable and enabled.- Author:
- AO Industries, Inc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanDisable()booleancanEnable()voiddisable(DisableLog dl)voidenable()DisableLoggetDisableLog()booleanisDisabled()Checks if this object is disabled.
-
-
-
Method Detail
-
isDisabled
boolean isDisabled()
Checks if this object is disabled. This should execute very quickly (not incur any round-trip to any database) and thus does not throw any checked exceptions.
-
getDisableLog
DisableLog getDisableLog() throws IOException, SQLException
- Throws:
IOExceptionSQLException
-
canDisable
boolean canDisable() throws IOException, SQLException- Throws:
IOExceptionSQLException
-
canEnable
boolean canEnable() throws IOException, SQLException- Throws:
IOExceptionSQLException
-
disable
void disable(DisableLog dl) throws IOException, SQLException
- Throws:
IOExceptionSQLException
-
enable
void enable() throws IOException, SQLException- Throws:
IOExceptionSQLException
-
-