| |
|
| java.lang.Object org.sakaiproject.citation.impl.BaseCitationService
All known Subclasses: org.sakaiproject.citation.impl.BasicCitationService, org.sakaiproject.citation.impl.DbCitationService,
Inner Class :public class BasicCitation implements Citation | |
Inner Class :public class BasicField implements Field | |
Inner Class :protected class BasicSchema implements Schema | |
Inner Class :protected interface Storage | |
Inner Class :public class UrlWrapper | |
Inner Class :final public class Counter | |
Method Summary | |
public Citation | addCitation(String mediatype) | public CitationCollection | addCollection() | public boolean | allowAddCitationList(String contentCollectionId) Checks permissions to add a CitationList. | public boolean | allowRemoveCitationList(String contentResourceId) | public boolean | allowReviseCitationList(String contentResourceId) Checks permission to revise a CitationList, including permissions
to add, remove or revise citations within the CitationList. | public String | archive(String siteId, Document doc, Stack stack, String archivePath, List attachments) | public CitationCollection | copyAll(String collectionId) | public void | destroy() Returns to uninitialized state. | public static String | escapeFieldName(String original) | protected String | getAccessPoint(boolean relative) Access the partial URL that forms the root of calendar URLs.
Parameters: relative - if true, form within the access path only (i.e. | public CitationCollection | getCollection(String collectionId) | public Schema | getDefaultSchema() | 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 Set | getMultivalued() | public Set | getMultivalued(String type) | public ResourceTypeRegistry | getResourceTypeRegistry() | public Schema | getSchema(String name) | public List | getSchemas() | protected Set | getSynonyms(String mediatype) | public Citation | getTemporaryCitation() | public Citation | getTemporaryCitation(Asset asset) | public CitationCollection | getTemporaryCollection() | public Set | getValidPropertyNames() | public void | init() | protected void | initializeSchemas() | public boolean | isAttemptToMatchSchema() | public boolean | isMultivalued(String schemaId, String fieldId) | public List | listSchemas() Access a list of all schemas that have been defined (other than the
"unknown" type). | public String | merge(String siteId, Element root, String archivePath, String fromSiteId, Map attachmentNames, Map userIdTrans, Set userListAllowImport) | abstract public Storage | newStorage() Construct a Storage object. | protected Integer | nextSerialNumber() | public boolean | parseEntityReference(String reference, Reference ref) | protected void | registerResourceType() | public void | removeCollection(CitationCollection edit) | public void | save(Citation citation) | public void | save(CitationCollection collection) | public void | setAttemptToMatchSchema(boolean attemptToMatchSchema) | public void | setConfigurationService(ConfigurationService service) Dependency: ConfigurationService. | public void | setContentHostingService(ContentHostingService service) Dependency: ContentHostingService. | public void | setEntityManager(EntityManager service) Dependency: EntityManager. | public void | setResourceTypeRegistry(ResourceTypeRegistry registry) | public void | setServerConfigurationService(ServerConfigurationService service) Dependency: ServerConfigurationService. | public boolean | willArchiveMerge() |
PROPERTY_DEFAULTVALUE | final protected static String PROPERTY_DEFAULTVALUE(Code) | | |
PROPERTY_DESCRIPTION | final protected static String PROPERTY_DESCRIPTION(Code) | | |
PROPERTY_HAS_ABBREVIATION | final protected static String PROPERTY_HAS_ABBREVIATION(Code) | | |
PROPERTY_HAS_CITATION | final protected static String PROPERTY_HAS_CITATION(Code) | | |
PROPERTY_HAS_FIELD | final protected static String PROPERTY_HAS_FIELD(Code) | | |
PROPERTY_HAS_NAMESPACE | final protected static String PROPERTY_HAS_NAMESPACE(Code) | | |
PROPERTY_HAS_ORDER | final protected static String PROPERTY_HAS_ORDER(Code) | | |
PROPERTY_HAS_SCHEMA | final protected static String PROPERTY_HAS_SCHEMA(Code) | | |
PROPERTY_LABEL | final protected static String PROPERTY_LABEL(Code) | | |
PROPERTY_MAXCARDINALITY | final protected static String PROPERTY_MAXCARDINALITY(Code) | | |
PROPERTY_MINCARDINALITY | final protected static String PROPERTY_MINCARDINALITY(Code) | | |
PROPERTY_NAMESPACE | final protected static String PROPERTY_NAMESPACE(Code) | | |
PROPERTY_REQUIRED | final protected static String PROPERTY_REQUIRED(Code) | | |
PROPERTY_VALUETYPE | final protected static String PROPERTY_VALUETYPE(Code) | | |
PROP_TEMPORARY_CITATION_LIST | final public static String PROP_TEMPORARY_CITATION_LIST(Code) | | |
attemptToMatchSchema | protected boolean attemptToMatchSchema(Code) | | |
m_RISNoteFields | final protected static Map m_RISNoteFields(Code) | | Which fields map onto the RIS Notes field? Include a prefix for the data,
if necessary.
|
m_RISSpecialFields | final protected static Set m_RISSpecialFields(Code) | | Which fields need special processing for RIS export?
|
m_RISType | final protected static Map m_RISType(Code) | | Set up a mapping of our type to RIS 'TY - ' values
|
m_nextSerialNumber | protected static Integer m_nextSerialNumber(Code) | | |
m_relativeAccessPoint | protected String m_relativeAccessPoint(Code) | | |
m_storage | protected Storage m_storage(Code) | | A Storage object for persistent storage.
|
allowAddCitationList | public boolean allowAddCitationList(String contentCollectionId)(Code) | | Checks permissions to add a CitationList. Returns true if the user
has permission to add a resource in the collection identified by the
parameter.
Parameters: contentCollectionId - |
allowRemoveCitationList | public boolean allowRemoveCitationList(String contentResourceId)(Code) | | |
allowReviseCitationList | public boolean allowReviseCitationList(String contentResourceId)(Code) | | Checks permission to revise a CitationList, including permissions
to add, remove or revise citations within the CitationList. Returns
true if the user has permission to revise the resource identified by
the parameter. Also returns true if all of these conditions are met:
(1) the user is the creator of the specified resource, (2) the specified
resource is a temporary CitationList (as identified by the value of
the PROP_TEMPORARY_CITATION_LIST property), and (3) the user has
permission to add resources in the collection containing the
resource.
Parameters: contentResourceId - |
destroy | public void destroy()(Code) | | Returns to uninitialized state.
|
getAccessPoint | protected String getAccessPoint(boolean relative)(Code) | | Access the partial URL that forms the root of calendar URLs.
Parameters: relative - if true, form within the access path only (i.e. starting with/content) the partial URL that forms the root of calendar URLs. |
getMultivalued | public Set getMultivalued()(Code) | | |
getTemporaryCitation | public Citation getTemporaryCitation(Asset asset)(Code) | | |
getValidPropertyNames | public Set getValidPropertyNames()(Code) | | |
initializeSchemas | protected void initializeSchemas()(Code) | | |
isAttemptToMatchSchema | public boolean isAttemptToMatchSchema()(Code) | | the attemptToMatchSchema |
isMultivalued | public boolean isMultivalued(String schemaId, String fieldId)(Code) | | Parameters: schemaId - Parameters: fieldId - |
listSchemas | public List listSchemas()(Code) | | Access a list of all schemas that have been defined (other than the
"unknown" type).
A list of Strings representing the identifiers for known schemas. |
newStorage | abstract public Storage newStorage()(Code) | | Construct a Storage object.
The new storage object. |
registerResourceType | protected void registerResourceType()(Code) | | |
setAttemptToMatchSchema | public void setAttemptToMatchSchema(boolean attemptToMatchSchema)(Code) | | Parameters: attemptToMatchSchema - the attemptToMatchSchema to set |
setConfigurationService | public void setConfigurationService(ConfigurationService service)(Code) | | Dependency: ConfigurationService.
Parameters: service - The ConfigurationService. |
setContentHostingService | public void setContentHostingService(ContentHostingService service)(Code) | | Dependency: ContentHostingService.
Parameters: service - The ContentHostingService. |
setEntityManager | public void setEntityManager(EntityManager service)(Code) | | Dependency: EntityManager.
Parameters: service - The EntityManager. |
setResourceTypeRegistry | public void setResourceTypeRegistry(ResourceTypeRegistry registry)(Code) | | Dependency: inject the ResourceTypeRegistry
Parameters: registry - |
setServerConfigurationService | public void setServerConfigurationService(ServerConfigurationService service)(Code) | | Dependency: ServerConfigurationService.
Parameters: service - The ServerConfigurationService. |
willArchiveMerge | public boolean willArchiveMerge()(Code) | | |
|
|
|