本文整理了Java中org.sakaiproject.entity.api.ResourceProperties.removeProperty
方法的一些代码示例,展示了ResourceProperties.removeProperty
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ResourceProperties.removeProperty
方法的具体详情如下:
包路径:org.sakaiproject.entity.api.ResourceProperties
类名称:ResourceProperties
方法名:removeProperty
[英]Remove a property.
[中]移除一个属性。
代码示例来源:origin: org.sakaiproject.kernel/sakai-kernel-impl
public void unlockGroup() {
this.getProperties().removeProperty(GROUP_PROP_LOCKED_BY);
}
代码示例来源:origin: sakaiproject/sakai
props.addProperty(CourseSectionImpl.CATEGORY, category);
if(maxEnrollments == null) {
props.removeProperty(CourseSectionImpl.MAX_ENROLLMENTS);
} else {
props.addProperty(CourseSectionImpl.MAX_ENROLLMENTS, maxEnrollments.toString());
代码示例来源:origin: org.sakaiproject.edu-services.sections/sections-model
props.addProperty(CourseSectionImpl.CATEGORY, category);
if(maxEnrollments == null) {
props.removeProperty(CourseSectionImpl.MAX_ENROLLMENTS);
} else {
props.addProperty(CourseSectionImpl.MAX_ENROLLMENTS, maxEnrollments.toString());
代码示例来源:origin: org.sakaiproject.kernel/sakai-kernel-impl
page.getProperties().removeProperty(SitePage.PAGE_CATEGORY_PROP);
代码示例来源:origin: org.sakaiproject.kernel/sakai-kernel-impl
resourceProps.removeProperty(SATISFIES_RULE);
List<String> prop = resourceProps.getPropertyList(ContentHostingService.CONDITIONAL_ACCESS_LIST);
if (prop == null) prop = new ArrayList<String>();
resourceProps.removeProperty(ContentHostingService.CONDITIONAL_ACCESS_LIST);
for (String id : acl) {
resourceProps.addPropertyToList(ContentHostingService.CONDITIONAL_ACCESS_LIST, id);
resourceProps.removeProperty(SATISFIES_RULE);
resourceProps.removeProperty(ContentHostingService.CONDITIONAL_ACCESS_LIST);
for (String id : acl) {
resourceProps.addPropertyToList(ContentHostingService.CONDITIONAL_ACCESS_LIST, id);
内容来源于网络,如有侵权,请联系作者删除!