- All Known Implementing Classes:
Account
,Administrator
,CvsRepository
,List
,Package
,Pipe
,SharedTomcat
,Site
,SmtpRelay
,User
,User
,User
,User
,UserServer
,UserServer
,UserServer
,VirtualHost
public interface Disablable
Classes that are
Disablable
can be disable and enabled.- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
disable
(DisableLog dl) void
enable()
boolean
Checks if this object is disabled.
-
Method Details
-
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
- Throws:
IOException
SQLException
-
canDisable
- Throws:
IOException
SQLException
-
canEnable
- Throws:
IOException
SQLException
-
disable
- Throws:
IOException
SQLException
-
enable
- Throws:
IOException
SQLException
-