| java.lang.Object org.sakaiproject.tool.gradebook.facades.sakai2impl.BaseEntityProducer
All known Subclasses: org.sakaiproject.tool.gradebook.facades.sakai2impl.GradebookEntityProducer,
BaseEntityProducer | public class BaseEntityProducer implements EntityProducer(Code) | | Utility class that provides safe defaults for all EntityProducer methods.
By subclassing, developers can focus only on the methods they
actually need to customize. External configuration files can be used to
set their label, reference root, and service name. The public "init()" method can be
used to register as an EntityProducer.
|
Method Summary | |
public String | archive(String siteId, Document doc, Stack stack, String archivePath, List attachments) | public Entity | getEntity(Reference ref) | public Collection | getEntityAuthzGroups(Reference ref, String userId) | public String | getEntityDescription(Reference ref) | public ResourceProperties | getEntityResourceProperties(Reference ref) | public String | getEntityUrl(Reference ref) | public HttpAccess | getHttpAccess() | public String | getLabel() | public String | getReferenceRoot() | public String | getServiceName() Although not required, the service name is frequently used. | public void | init() Register this class as an EntityProducer. | public String | merge(String siteId, Element root, String archivePath, String fromSiteId, Map attachmentNames, Map userIdTrans, Set userListAllowImport) | public boolean | parseEntityReference(String reference, Reference ref) | public void | setLabel(String label) | public void | setReferenceRoot(String referenceRoot) | public void | setServiceName(String serviceName) | public boolean | willArchiveMerge() |
getServiceName | public String getServiceName()(Code) | | Although not required, the service name is frequently used. As a
convenience, it's also settable by this bean.
|
init | public void init()(Code) | | Register this class as an EntityProducer.
|
setReferenceRoot | public void setReferenceRoot(String referenceRoot)(Code) | | |
setServiceName | public void setServiceName(String serviceName)(Code) | | |
willArchiveMerge | public boolean willArchiveMerge()(Code) | | |
|
|