public class DbCitationService extends BaseCitationService
| Modifier and Type | Class and Description |
|---|---|
class |
DbCitationService.DbCitationStorage |
class |
DbCitationService.Triple |
class |
DbCitationService.TripleReader |
BaseCitationService.BasicCitation, BaseCitationService.BasicCitationCollection, BaseCitationService.BasicField, BaseCitationService.BasicSchema, BaseCitationService.CitationListCopyAction, BaseCitationService.CitationListCreateAction, BaseCitationService.CitationListDeleteAction, BaseCitationService.CitationListDuplicateAction, BaseCitationService.CitationLocalizer, BaseCitationService.CitationSizeLabeler, BaseCitationService.Counter, BaseCitationService.Storage, BaseCitationService.UrlWrapper| Modifier and Type | Field and Description |
|---|---|
protected boolean |
m_autoDdl
Configuration: to run the ddl on init or not.
|
protected String |
m_citationTableId |
protected String |
m_citationTableName
Table name for citation.
|
protected String |
m_collectionOrderTableName
Table name for collection order.
|
protected String |
m_collectionTableId |
protected String |
m_collectionTableName
Table name for collections.
|
protected String |
m_schemaFieldTableId |
protected String |
m_schemaFieldTableName |
protected String |
m_schemaTableId |
protected String |
m_schemaTableName
Table name for schemas.
|
protected org.sakaiproject.db.api.SqlService |
m_sqlService
Dependency: SqlService
|
protected static Pattern |
MULTIVALUED_PATTERN |
protected static String |
PROP_ADDED |
protected static String |
PROP_DISPLAYNAME |
protected static String |
PROP_HAS_PREFERRED_URL |
protected static String |
PROP_HAS_RIS_IDENTIFIER |
protected static String |
PROP_HAS_URL |
protected static String |
PROP_MEDIATYPE |
protected static String |
PROP_MOST_RECENT_UPDATE |
protected static String |
PROP_SORT_ORDER |
protected static String |
PROP_URL_ADD_PREFIX |
protected static String |
PROP_URL_LABEL |
protected static String |
PROP_URL_STRING |
protected static String |
PROPERTY_NAME_DELIMITOR |
attemptToMatchSchema, AUTHOR_AS_KEY, GS_TAGS, m_configService, m_contentHostingService, m_defaultSchema, m_entityManager, m_idManager, m_nextSerialNumber, m_openURLService, m_relativeAccessPoint, m_resourceTypeRegistry, m_RISNoteFields, m_RISSpecialFields, m_RISType, m_RISTypeInverse, m_serverConfigurationService, m_storage, PROP_TEMPORARY_CITATION_LIST, PROPERTY_DEFAULTVALUE, PROPERTY_DESCRIPTION, PROPERTY_HAS_ABBREVIATION, PROPERTY_HAS_CITATION, PROPERTY_HAS_FIELD, PROPERTY_HAS_NAMESPACE, PROPERTY_HAS_ORDER, PROPERTY_HAS_SCHEMA, PROPERTY_LABEL, PROPERTY_MAXCARDINALITY, PROPERTY_MINCARDINALITY, PROPERTY_NAMESPACE, PROPERTY_REQUIRED, PROPERTY_VALUETYPE, rb, RIS_DELIM, SCHEMA_PREFIX, TITLE_AS_KEY, YEAR_AS_KEY| Constructor and Description |
|---|
DbCitationService() |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
protected String |
insertFields(String before,
String[] fields,
String after)
Form a string of (field, field, field), for sql insert statements, one for each item in the fields array, plus one before, and one after.
|
BaseCitationService.Storage |
newStorage()
Construct a Storage object.
|
void |
setAutoDdl(String value)
Configuration: to run the ddl on init or not.
|
void |
setSqlService(org.sakaiproject.db.api.SqlService service)
Dependency: SqlService.
|
addCitation, addCitation, addCollection, allowAddCitationList, allowRemoveCitationList, allowReviseCitationList, archive, copyAll, destroy, escapeFieldName, getAccessPoint, getCollection, getDefaultSchema, getEntity, getEntityAuthzGroups, getEntityDescription, getEntityResourceProperties, getEntityUrl, getHttpAccess, getLabel, getMultivalued, getMultivalued, getResourceTypeRegistry, getSchema, getSchemas, getSynonyms, getTemporaryCitation, getTemporaryCitation, getTemporaryCollection, getValidPropertyNames, initializeSchemas, isAttemptToMatchSchema, isMultivalued, listSchemas, merge, nextSerialNumber, parseEntityReference, registerResourceType, removeCollection, save, save, setAttemptToMatchSchema, setConfigurationService, setContentHostingService, setEntityManager, setIdManager, setOpenURLService, setResourceTypeRegistry, setServerConfigurationService, willArchiveMergeprotected static final Pattern MULTIVALUED_PATTERN
protected static final String PROP_SORT_ORDER
protected static final String PROP_MOST_RECENT_UPDATE
protected static final String PROP_ADDED
protected static final String PROP_DISPLAYNAME
protected static final String PROP_HAS_RIS_IDENTIFIER
protected static final String PROP_HAS_URL
protected static final String PROP_HAS_PREFERRED_URL
protected static final String PROP_MEDIATYPE
protected static final String PROP_URL_LABEL
protected static final String PROP_URL_STRING
protected static final String PROP_URL_ADD_PREFIX
protected static final String PROPERTY_NAME_DELIMITOR
protected boolean m_autoDdl
protected String m_citationTableId
protected String m_citationTableName
protected String m_collectionTableId
protected String m_collectionTableName
protected String m_collectionOrderTableName
protected String m_schemaFieldTableId
protected String m_schemaFieldTableName
protected String m_schemaTableId
protected String m_schemaTableName
protected org.sakaiproject.db.api.SqlService m_sqlService
public void init()
init in class BaseCitationServicepublic BaseCitationService.Storage newStorage()
BaseCitationServicenewStorage in class BaseCitationServicepublic void setAutoDdl(String value)
value - the auto ddl value.public void setSqlService(org.sakaiproject.db.api.SqlService service)
service - The SqlService.protected String insertFields(String before, String[] fields, String after)
before - The first field name.values - The extra field names, in the middle.after - The last field name.Copyright © 2003-2014 The Sakai Foundation. All Rights Reserved.