Java Doc for BaseCitationService.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » citation » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.citation.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.sakaiproject.citation.impl.BaseCitationService

All known Subclasses:   org.sakaiproject.citation.impl.BasicCitationService,  org.sakaiproject.citation.impl.DbCitationService,
BaseCitationService
abstract public class BaseCitationService implements CitationService(Code)

Inner Class :public class BasicCitation implements Citation
Inner Class :public class BasicCitationCollection implements CitationCollection
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 :public class CitationListCreateAction extends BaseInteractionAction
Inner Class :public class CitationListDeleteAction extends BaseServiceLevelAction
Inner Class :public class CitationLocalizer implements BasicResourceType.Localizer
Inner Class :public class CitationListCopyAction extends BaseServiceLevelAction
Inner Class :public class CitationListDuplicateAction extends BaseServiceLevelAction
Inner Class :final public class Counter

Field Summary
final protected static  List<String>AUTHOR_AS_KEY
    
final public static  Map<String, String>GS_TAGS
    
final protected static  StringPROPERTY_DEFAULTVALUE
    
final protected static  StringPROPERTY_DESCRIPTION
    
final protected static  StringPROPERTY_HAS_ABBREVIATION
    
final protected static  StringPROPERTY_HAS_CITATION
    
final protected static  StringPROPERTY_HAS_FIELD
    
final protected static  StringPROPERTY_HAS_NAMESPACE
    
final protected static  StringPROPERTY_HAS_ORDER
    
final protected static  StringPROPERTY_HAS_SCHEMA
    
final protected static  StringPROPERTY_LABEL
    
final protected static  StringPROPERTY_MAXCARDINALITY
    
final protected static  StringPROPERTY_MINCARDINALITY
    
final protected static  StringPROPERTY_NAMESPACE
    
final protected static  StringPROPERTY_REQUIRED
    
final protected static  StringPROPERTY_VALUETYPE
    
final public static  StringPROP_TEMPORARY_CITATION_LIST
    
final protected static  StringRIS_DELIM
    
final public static  StringSCHEMA_PREFIX
    
final protected static  List<String>TITLE_AS_KEY
    
protected  booleanattemptToMatchSchema
    
final protected static  Mapm_RISNoteFields
     Which fields map onto the RIS Notes field? Include a prefix for the data, if necessary.
final protected static  Setm_RISSpecialFields
    
final protected static  Mapm_RISType
    
protected  ConfigurationServicem_configService
     Dependency: CitationsConfigurationService.
protected  ContentHostingServicem_contentHostingService
     Dependency: ContentHostingService.
protected  Stringm_defaultSchema
    
protected  EntityManagerm_entityManager
     Dependency: EntityManager.
protected static  Integerm_nextSerialNumber
    
protected  Stringm_relativeAccessPoint
    
protected  ResourceTypeRegistrym_resourceTypeRegistry
    
protected  ServerConfigurationServicem_serverConfigurationService
     Dependency: ServerConfigurationService.
protected  Storagem_storage
     A Storage object for persistent storage.
public static  ResourceLoaderrb
    


Method Summary
public  CitationaddCitation(String mediatype)
    
public  CitationCollectionaddCollection()
    
public  booleanallowAddCitationList(String contentCollectionId)
     Checks permissions to add a CitationList.
public  booleanallowRemoveCitationList(String contentResourceId)
    
public  booleanallowReviseCitationList(String contentResourceId)
     Checks permission to revise a CitationList, including permissions to add, remove or revise citations within the CitationList.
public  Stringarchive(String siteId, Document doc, Stack stack, String archivePath, List attachments)
    
public  CitationCollectioncopyAll(String collectionId)
    
public  voiddestroy()
     Returns to uninitialized state.
public static  StringescapeFieldName(String original)
    
protected  StringgetAccessPoint(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  CitationCollectiongetCollection(String collectionId)
    
public  SchemagetDefaultSchema()
    
public  EntitygetEntity(Reference ref)
    
public  CollectiongetEntityAuthzGroups(Reference ref, String userId)
    
public  StringgetEntityDescription(Reference ref)
    
public  ResourcePropertiesgetEntityResourceProperties(Reference ref)
    
public  StringgetEntityUrl(Reference ref)
    
public  HttpAccessgetHttpAccess()
    
public  StringgetLabel()
    
public  SetgetMultivalued()
    
public  SetgetMultivalued(String type)
    
public  ResourceTypeRegistrygetResourceTypeRegistry()
    
public  SchemagetSchema(String name)
    
public  ListgetSchemas()
    
protected  SetgetSynonyms(String mediatype)
    
public  CitationgetTemporaryCitation()
    
public  CitationgetTemporaryCitation(Asset asset)
    
public  CitationCollectiongetTemporaryCollection()
    
public  SetgetValidPropertyNames()
    
public  voidinit()
    
protected  voidinitializeSchemas()
    
public  booleanisAttemptToMatchSchema()
    
public  booleanisMultivalued(String schemaId, String fieldId)
    
public  ListlistSchemas()
     Access a list of all schemas that have been defined (other than the "unknown" type).
public  Stringmerge(String siteId, Element root, String archivePath, String fromSiteId, Map attachmentNames, Map userIdTrans, Set userListAllowImport)
    
abstract public  StoragenewStorage()
     Construct a Storage object.
protected  IntegernextSerialNumber()
    
public  booleanparseEntityReference(String reference, Reference ref)
    
protected  voidregisterResourceType()
    
public  voidremoveCollection(CitationCollection edit)
    
public  voidsave(Citation citation)
    
public  voidsave(CitationCollection collection)
    
public  voidsetAttemptToMatchSchema(boolean attemptToMatchSchema)
    
public  voidsetConfigurationService(ConfigurationService service)
     Dependency: ConfigurationService.
public  voidsetContentHostingService(ContentHostingService service)
     Dependency: ContentHostingService.
public  voidsetEntityManager(EntityManager service)
     Dependency: EntityManager.
public  voidsetResourceTypeRegistry(ResourceTypeRegistry registry)
    
public  voidsetServerConfigurationService(ServerConfigurationService service)
     Dependency: ServerConfigurationService.
public  booleanwillArchiveMerge()
    

Field Detail
AUTHOR_AS_KEY
final protected static List<String> AUTHOR_AS_KEY(Code)



GS_TAGS
final public static Map<String, String> GS_TAGS(Code)



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)



RIS_DELIM
final protected static String RIS_DELIM(Code)



SCHEMA_PREFIX
final public static String SCHEMA_PREFIX(Code)



TITLE_AS_KEY
final protected static List<String> TITLE_AS_KEY(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_configService
protected ConfigurationService m_configService(Code)
Dependency: CitationsConfigurationService.



m_contentHostingService
protected ContentHostingService m_contentHostingService(Code)
Dependency: ContentHostingService.



m_defaultSchema
protected String m_defaultSchema(Code)



m_entityManager
protected EntityManager m_entityManager(Code)
Dependency: EntityManager.



m_nextSerialNumber
protected static Integer m_nextSerialNumber(Code)



m_relativeAccessPoint
protected String m_relativeAccessPoint(Code)



m_resourceTypeRegistry
protected ResourceTypeRegistry m_resourceTypeRegistry(Code)
Dependency: the ResourceTypeRegistry



m_serverConfigurationService
protected ServerConfigurationService m_serverConfigurationService(Code)
Dependency: ServerConfigurationService.



m_storage
protected Storage m_storage(Code)
A Storage object for persistent storage.



rb
public static ResourceLoader rb(Code)





Method Detail
addCitation
public Citation addCitation(String mediatype)(Code)



addCollection
public CitationCollection addCollection()(Code)



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 -



archive
public String archive(String siteId, Document doc, Stack stack, String archivePath, List attachments)(Code)



copyAll
public CitationCollection copyAll(String collectionId)(Code)



destroy
public void destroy()(Code)
Returns to uninitialized state.



escapeFieldName
public static String escapeFieldName(String original)(Code)



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.



getCollection
public CitationCollection getCollection(String collectionId) throws IdUnusedException(Code)



getDefaultSchema
public Schema getDefaultSchema()(Code)



getEntity
public Entity getEntity(Reference ref)(Code)



getEntityAuthzGroups
public Collection getEntityAuthzGroups(Reference ref, String userId)(Code)



getEntityDescription
public String getEntityDescription(Reference ref)(Code)



getEntityResourceProperties
public ResourceProperties getEntityResourceProperties(Reference ref)(Code)



getEntityUrl
public String getEntityUrl(Reference ref)(Code)



getHttpAccess
public HttpAccess getHttpAccess()(Code)



getLabel
public String getLabel()(Code)



getMultivalued
public Set getMultivalued()(Code)



getMultivalued
public Set getMultivalued(String type)(Code)



getResourceTypeRegistry
public ResourceTypeRegistry getResourceTypeRegistry()(Code)
the ResourceTypeRegistry



getSchema
public Schema getSchema(String name)(Code)



getSchemas
public List getSchemas()(Code)



getSynonyms
protected Set getSynonyms(String mediatype)(Code)



getTemporaryCitation
public Citation getTemporaryCitation()(Code)



getTemporaryCitation
public Citation getTemporaryCitation(Asset asset)(Code)



getTemporaryCollection
public CitationCollection getTemporaryCollection()(Code)



getValidPropertyNames
public Set getValidPropertyNames()(Code)



init
public void init()(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.



merge
public String merge(String siteId, Element root, String archivePath, String fromSiteId, Map attachmentNames, Map userIdTrans, Set userListAllowImport)(Code)



newStorage
abstract public Storage newStorage()(Code)
Construct a Storage object. The new storage object.



nextSerialNumber
protected Integer nextSerialNumber()(Code)



parseEntityReference
public boolean parseEntityReference(String reference, Reference ref)(Code)



registerResourceType
protected void registerResourceType()(Code)



removeCollection
public void removeCollection(CitationCollection edit)(Code)



save
public void save(Citation citation)(Code)



save
public void save(CitationCollection collection)(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)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.