Class LicenseDelegator
- java.lang.Object
-
- com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
-
- com.perforce.p4java.impl.mapbased.server.cmd.LicenseDelegator
-
- All Implemented Interfaces:
ILicenseDelegator
public class LicenseDelegator extends BaseDelegator implements ILicenseDelegator
-
-
Field Summary
-
Fields inherited from class com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION
-
-
Constructor Summary
Constructors Constructor Description LicenseDelegator(IOptionsServer server)Basic constructor, taking a server object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILicensegetLicense()ILicenseLimitsgetLimits()java.util.List<IServerIPMACAddress>getValidServerIPMACAddress()java.lang.StringupdateLicense(ILicense license)
-
-
-
Constructor Detail
-
LicenseDelegator
public LicenseDelegator(IOptionsServer server)
Basic constructor, taking a server object.- Parameters:
server- - an instance of the currently effective server implementation
-
-
Method Detail
-
getLimits
public ILicenseLimits getLimits() throws P4JavaException
- Specified by:
getLimitsin interfaceILicenseDelegator- Throws:
P4JavaException
-
getLicense
public ILicense getLicense() throws P4JavaException
- Specified by:
getLicensein interfaceILicenseDelegator- Throws:
P4JavaException
-
updateLicense
public java.lang.String updateLicense(ILicense license) throws P4JavaException
- Specified by:
updateLicensein interfaceILicenseDelegator- Throws:
P4JavaException
-
getValidServerIPMACAddress
public java.util.List<IServerIPMACAddress> getValidServerIPMACAddress() throws P4JavaException
- Specified by:
getValidServerIPMACAddressin interfaceILicenseDelegator- Throws:
P4JavaException
-
-