-
- All Implemented Interfaces:
public final class ContentProtectionServiceKt
-
-
Field Summary
Fields Modifier and Type Field Description private static Function1<Publication.Service.Context, Publication.Service>contentProtectionServiceFactoryprivate final static BooleanisProtectedprivate final static BooleanisRestrictedprivate final static UserExceptionprotectionErrorprivate final static Stringcredentialsprivate final static ContentProtectionService.UserRightsrightsprivate final static ContentProtection.SchemeprotectionSchemeprivate final static LocalizedStringprotectionLocalizedNameprivate final static StringprotectionName
-
Method Summary
Modifier and Type Method Description Function1<Publication.Service.Context, Publication.Service>getContentProtectionServiceFactory()voidsetContentProtectionServiceFactory(Function1<Publication.Service.Context, Publication.Service> contentProtectionServiceFactory)final BooleangetIsProtected()final BooleangetIsRestricted()final UserExceptiongetProtectionError()final StringgetCredentials()final ContentProtectionService.UserRightsgetRights()final ContentProtection.SchemegetProtectionScheme()final LocalizedStringgetProtectionLocalizedName()final StringgetProtectionName()-
-
Method Detail
-
getContentProtectionServiceFactory
Function1<Publication.Service.Context, Publication.Service> getContentProtectionServiceFactory()
-
setContentProtectionServiceFactory
void setContentProtectionServiceFactory(Function1<Publication.Service.Context, Publication.Service> contentProtectionServiceFactory)
-
getIsProtected
final Boolean getIsProtected()
-
getIsRestricted
final Boolean getIsRestricted()
-
getProtectionError
final UserException getProtectionError()
-
getCredentials
final String getCredentials()
-
getRights
final ContentProtectionService.UserRights getRights()
-
getProtectionScheme
final ContentProtection.Scheme getProtectionScheme()
-
getProtectionLocalizedName
final LocalizedString getProtectionLocalizedName()
-
getProtectionName
final String getProtectionName()
-
-
-
-