@Deprecated public class BaseEntityProducer extends Object implements EntityProducer
| Modifier and Type | Field and Description |
|---|---|
protected EntityManager |
entityManager
Deprecated.
|
protected String |
label
Deprecated.
|
protected String |
referenceRoot
Deprecated.
|
protected String |
serviceName
Deprecated.
|
| Constructor and Description |
|---|
BaseEntityProducer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
archive(String siteId,
Document doc,
Stack stack,
String archivePath,
List attachments)
Deprecated.
|
Entity |
getEntity(Reference ref)
Deprecated.
|
Collection |
getEntityAuthzGroups(Reference ref,
String userId)
Deprecated.
|
String |
getEntityDescription(Reference ref)
Deprecated.
|
ResourceProperties |
getEntityResourceProperties(Reference ref)
Deprecated.
|
String |
getEntityUrl(Reference ref)
Deprecated.
|
HttpAccess |
getHttpAccess()
Deprecated.
|
String |
getLabel()
Deprecated.
|
String |
getReferenceRoot()
Deprecated.
|
String |
getServiceName()
Deprecated.
Although not required, the service name is frequently used.
|
void |
init()
Deprecated.
Register this class as an EntityProducer.
|
String |
merge(String siteId,
Element root,
String archivePath,
String fromSiteId,
Map attachmentNames,
Map userIdTrans,
Set userListAllowImport)
Deprecated.
|
boolean |
parseEntityReference(String reference,
Reference ref)
Deprecated.
|
void |
setEntityManager(EntityManager entityManager)
Deprecated.
|
void |
setLabel(String label)
Deprecated.
|
void |
setReferenceRoot(String referenceRoot)
Deprecated.
|
void |
setServiceName(String serviceName)
Deprecated.
|
boolean |
willArchiveMerge()
Deprecated.
|
protected String label
protected String referenceRoot
protected String serviceName
protected EntityManager entityManager
public void setEntityManager(EntityManager entityManager)
public void init()
public void setLabel(String label)
public String getReferenceRoot()
public void setReferenceRoot(String referenceRoot)
public String getServiceName()
public void setServiceName(String serviceName)
public String getLabel()
getLabel in interface EntityProducerpublic boolean willArchiveMerge()
willArchiveMerge in interface EntityProducerpublic String archive(String siteId, Document doc, Stack stack, String archivePath, List attachments)
archive in interface EntityProducerpublic String merge(String siteId, Element root, String archivePath, String fromSiteId, Map attachmentNames, Map userIdTrans, Set userListAllowImport)
merge in interface EntityProducerpublic boolean parseEntityReference(String reference, Reference ref)
parseEntityReference in interface EntityProducerpublic String getEntityDescription(Reference ref)
getEntityDescription in interface EntityProducerpublic ResourceProperties getEntityResourceProperties(Reference ref)
getEntityResourceProperties in interface EntityProducerpublic Entity getEntity(Reference ref)
getEntity in interface EntityProducerpublic String getEntityUrl(Reference ref)
getEntityUrl in interface EntityProducerpublic Collection getEntityAuthzGroups(Reference ref, String userId)
getEntityAuthzGroups in interface EntityProducerpublic HttpAccess getHttpAccess()
getHttpAccess in interface EntityProducerCopyright © 2003–2017 Sakai Project. All rights reserved.