public static class BaseRightsService.BasicCreativeCommonsLicense extends Object implements CreativeCommonsLicense
CreativeCommonsLicense.Permission, CreativeCommonsLicense.Prohibition, CreativeCommonsLicense.Requirement| Modifier and Type | Field and Description |
|---|---|
protected String |
m_id |
protected Set<CreativeCommonsLicense.Permission> |
m_permissions |
protected Set<CreativeCommonsLicense.Prohibition> |
m_prohibitions |
protected Set<CreativeCommonsLicense.Requirement> |
m_requirements |
| Constructor and Description |
|---|
BasicCreativeCommonsLicense() |
protected String m_id
protected Set<CreativeCommonsLicense.Permission> m_permissions
protected Set<CreativeCommonsLicense.Prohibition> m_prohibitions
protected Set<CreativeCommonsLicense.Requirement> m_requirements
public void addPermission(CreativeCommonsLicense.Permission permission)
addPermission in interface CreativeCommonsLicensepublic void addPermission(String permission) throws RightsException
addPermission in interface CreativeCommonsLicenseRightsExceptionpublic void addProhibition(CreativeCommonsLicense.Prohibition prohibition)
addProhibition in interface CreativeCommonsLicensepublic void addProhibition(String prohibition) throws RightsException
addProhibition in interface CreativeCommonsLicenseRightsExceptionpublic void addRequirement(CreativeCommonsLicense.Requirement requirement)
addRequirement in interface CreativeCommonsLicensepublic void addRequirement(String requirement) throws RightsException
addRequirement in interface CreativeCommonsLicenseRightsExceptionpublic String getIdentifier()
getIdentifier in interface CreativeCommonsLicensepublic Collection<CreativeCommonsLicense.Permission> getPermissions()
getPermissions in interface CreativeCommonsLicensepublic Collection<CreativeCommonsLicense.Prohibition> getProhibitions()
getProhibitions in interface CreativeCommonsLicensepublic Collection<CreativeCommonsLicense.Requirement> getRequirements()
getRequirements in interface CreativeCommonsLicensepublic String getUri()
getUri in interface CreativeCommonsLicensepublic boolean hasPermissions()
hasPermissions in interface CreativeCommonsLicensepublic boolean hasProhibitions()
hasProhibitions in interface CreativeCommonsLicensepublic boolean hasRequirements()
hasRequirements in interface CreativeCommonsLicensepublic void removePermission(String permission)
removePermission in interface CreativeCommonsLicensepublic void removeProhibitions(Collection<Object> prohibitions)
removeProhibitions in interface CreativeCommonsLicensepublic void removeRequirements(Collection<Object> requirements)
removeRequirements in interface CreativeCommonsLicensepublic void setPermissions(Collection<Object> permissions)
setPermissions in interface CreativeCommonsLicensepublic void setProhibitions(Collection<Object> prohibitions)
setProhibitions in interface CreativeCommonsLicensepublic void setRequirements(Collection<Object> requirements)
setRequirements in interface CreativeCommonsLicenseCopyright © 2003–2016 The Sakai Foundation. All rights reserved.