Java Doc for StructuredArtifactDefinition.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » metaobj » shared » mgt » home » 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.metaobj.shared.mgt.home 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.sakaiproject.metaobj.shared.mgt.home.XmlElementHome
      org.sakaiproject.metaobj.shared.mgt.home.StructuredArtifactHome
         org.sakaiproject.metaobj.shared.mgt.home.StructuredArtifactDefinition

StructuredArtifactDefinition
public class StructuredArtifactDefinition extends StructuredArtifactHome implements Serializable(Code)

author:
   chmaurer, jbush


Field Summary
final public static  intSTATE_PUBLISHED
    
final public static  intSTATE_UNPUBLISHED
    
final public static  intSTATE_WAITING_APPROVAL
    

Constructor Summary
public  StructuredArtifactDefinition()
    
public  StructuredArtifactDefinition(StructuredArtifactDefinitionBean bean)
    

Method Summary
public  ArtifactcreateInstance()
    
public  booleanequals(Object o)
    
public  StringgetAction()
    
public  booleangetCanApproveGlobalPublish()
    
public  booleangetCanGlobalPublish()
    
public  booleangetCanPublish()
    
public  booleangetCanSuggestGlobalPublish()
    
public  DategetCreated()
    
public  StringgetDecoratedDescription()
    
public  StringgetDescription()
    
public  StringgetDocumentRoot()
    
public  StringgetExternalType()
    
public  intgetGlobalState()
    
public  IdgetId()
    
public  IdManagergetIdManager()
    
public  DategetModified()
    
public  AgentgetOwner()
    
public  PresentableObjectHomegetRepositoryHelper()
    
public  booleangetRequiresXslFile()
    
public  StringgetRootNode()
    
public  SchemaNodegetSchema()
    
public  IdgetSchemaFile()
    
public  StringgetSchemaFileName()
    
public  intgetSiteState()
    
public  TypegetType()
    
public  IdgetXslConversionFileId()
    
public  StringgetXslFileName()
    
public  booleanisModifiable()
    
public  booleanisSystemOnly()
    
public  voidprepareInstance(Artifact object)
    
public  voidsetAction(String action)
    
public  voidsetCreated(Date created)
    
public  voidsetDecoratedDescription(String decoratedDescription)
    
public  voidsetDescription(String description)
    
public  voidsetDocumentRoot(String documentRoot)
    
public  voidsetExternalType(String newType)
    
public  voidsetGlobalState(int globalState)
    
public  voidsetId(Id id)
    
public  voidsetModified(Date modified)
    
public  voidsetOwner(Agent owner)
    
public  voidsetRequiresXslFile(boolean requiresXslFile)
    
public  voidsetSchema(SchemaNode schema)
    
public  voidsetSchemaFile(Id schemaFile)
    
public  voidsetSchemaFileName(String schemaFileName)
    
public  voidsetSiteState(int siteState)
    
public  voidsetSystemOnly(boolean systemOnly)
    
public  voidsetXslConversionFileId(Id xslConversionFileId)
    
public  voidsetXslFileName(String xslFileName)
    

Field Detail
STATE_PUBLISHED
final public static int STATE_PUBLISHED(Code)



STATE_UNPUBLISHED
final public static int STATE_UNPUBLISHED(Code)



STATE_WAITING_APPROVAL
final public static int STATE_WAITING_APPROVAL(Code)




Constructor Detail
StructuredArtifactDefinition
public StructuredArtifactDefinition()(Code)



StructuredArtifactDefinition
public StructuredArtifactDefinition(StructuredArtifactDefinitionBean bean)(Code)




Method Detail
createInstance
public Artifact createInstance()(Code)



equals
public boolean equals(Object o)(Code)



getAction
public String getAction()(Code)



getCanApproveGlobalPublish
public boolean getCanApproveGlobalPublish()(Code)
This method doesn't do any authz, it simply checks the state true, if sad can be published globally



getCanGlobalPublish
public boolean getCanGlobalPublish()(Code)



getCanPublish
public boolean getCanPublish()(Code)
This method doesn't do any authz, it simply checks the state true, if sad can be published to site.



getCanSuggestGlobalPublish
public boolean getCanSuggestGlobalPublish()(Code)
This method doesn't do any authz, it simply checks the state true, if sad can be suggested for global publish



getCreated
public Date getCreated()(Code)
Returns the created.



getDecoratedDescription
public String getDecoratedDescription()(Code)



getDescription
public String getDescription()(Code)
public StreamStore getStreamStore() { return (StreamStore)BeanFactory.getInstance().getBean( StreamStore.class.getName(), StreamStore.class); }

public NodeMetadataService getNodeMetadataService() { return (NodeMetadataService)BeanFactory.getInstance().getBean( NodeMetadataService.class.getName(), NodeMetadataService.class); }




getDocumentRoot
public String getDocumentRoot()(Code)
Returns the documentRoot.



getExternalType
public String getExternalType()(Code)



getGlobalState
public int getGlobalState()(Code)



getId
public Id getId()(Code)
Returns the id.



getIdManager
public IdManager getIdManager()(Code)
Returns the idManager.



getModified
public Date getModified()(Code)



getOwner
public Agent getOwner()(Code)
Returns the owner.



getRepositoryHelper
public PresentableObjectHome getRepositoryHelper()(Code)



getRequiresXslFile
public boolean getRequiresXslFile()(Code)



getRootNode
public String getRootNode()(Code)



getSchema
public SchemaNode getSchema()(Code)
Returns the schema.



getSchemaFile
public Id getSchemaFile()(Code)



getSchemaFileName
public String getSchemaFileName()(Code)



getSiteState
public int getSiteState()(Code)



getType
public Type getType()(Code)
Returns the type.



getXslConversionFileId
public Id getXslConversionFileId()(Code)



getXslFileName
public String getXslFileName()(Code)



isModifiable
public boolean isModifiable()(Code)



isSystemOnly
public boolean isSystemOnly()(Code)
Returns the systemOnly.



prepareInstance
public void prepareInstance(Artifact object)(Code)



setAction
public void setAction(String action)(Code)



setCreated
public void setCreated(Date created)(Code)

Parameters:
  created - The created to set.



setDecoratedDescription
public void setDecoratedDescription(String decoratedDescription)(Code)



setDescription
public void setDescription(String description)(Code)



setDocumentRoot
public void setDocumentRoot(String documentRoot)(Code)

Parameters:
  documentRoot - The documentRoot to set.



setExternalType
public void setExternalType(String newType)(Code)



setGlobalState
public void setGlobalState(int globalState)(Code)



setId
public void setId(Id id)(Code)

Parameters:
  id - The id to set.



setModified
public void setModified(Date modified)(Code)



setOwner
public void setOwner(Agent owner)(Code)

Parameters:
  owner - The owner to set.



setRequiresXslFile
public void setRequiresXslFile(boolean requiresXslFile)(Code)



setSchema
public void setSchema(SchemaNode schema)(Code)



setSchemaFile
public void setSchemaFile(Id schemaFile)(Code)



setSchemaFileName
public void setSchemaFileName(String schemaFileName)(Code)



setSiteState
public void setSiteState(int siteState)(Code)



setSystemOnly
public void setSystemOnly(boolean systemOnly)(Code)

Parameters:
  systemOnly - The systemOnly to set.



setXslConversionFileId
public void setXslConversionFileId(Id xslConversionFileId)(Code)



setXslFileName
public void setXslFileName(String xslFileName)(Code)



Fields inherited from org.sakaiproject.metaobj.shared.mgt.home.StructuredArtifactHome
final protected static org.apache.commons.logging.Log logger(Code)(Java Doc)

Methods inherited from org.sakaiproject.metaobj.shared.mgt.home.StructuredArtifactHome
protected Artifact addArtifact(Artifact object) throws PersistenceException(Code)(Java Doc)
protected Element addSchemaInfo(SchemaNode schema)(Code)(Java Doc)
public Artifact cloneArtifact(Artifact copy, String newName) throws PersistenceException(Code)(Java Doc)
public int compareTo(Object o)(Code)(Java Doc)
protected Element createInstructions()(Code)(Java Doc)
protected Element createNode(String name, String value)(Code)(Java Doc)
public Element getArtifactAsXml(Artifact art)(Code)(Java Doc)
public ArtifactFinder getArtifactFinder()(Code)(Java Doc)
public byte[] getBytes(StructuredArtifact artifact)(Code)(Java Doc)
public String getHostBaseUrl()(Code)(Java Doc)
public IdManager getIdManager()(Code)(Java Doc)
protected byte[] getInfoBytes(Artifact object) throws PersistenceException(Code)(Java Doc)
protected InputStream getInfoStream(Artifact object) throws PersistenceException(Code)(Java Doc)
protected Element getMetadata(Artifact art)(Code)(Java Doc)
public PresentableObjectHome getRepositoryHelper()(Code)(Java Doc)
public String getSiteId()(Code)(Java Doc)
public InputStream getStream(Id artifactId)(Code)(Java Doc)
protected WorksiteManager getWorksiteManager()(Code)(Java Doc)
public boolean isGlobal()(Code)(Java Doc)
public boolean isModifiable()(Code)(Java Doc)
public boolean isSystemOnly()(Code)(Java Doc)
public StructuredArtifact load(ContentResource resource)(Code)(Java Doc)
public Artifact load(Id id) throws PersistenceException(Code)(Java Doc)
protected void processFileElement(Element element, Element data) throws JDOMException(Code)(Java Doc)
public void remove(Artifact object) throws PersistenceException(Code)(Java Doc)
protected void replaceFileRefs(Element schemaData, Element data)(Code)(Java Doc)
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException(Code)(Java Doc)
public void setArtifactFinder(ArtifactFinder artifactFinder)(Code)(Java Doc)
public void setIdManager(IdManager idManager)(Code)(Java Doc)
public void setRepositoryHelper(PresentableObjectHome repositoryHelper)(Code)(Java Doc)
public void setSiteId(String siteId)(Code)(Java Doc)
public Artifact store(Artifact object) throws PersistenceException(Code)(Java Doc)
protected Artifact updateArtifact(Artifact object) throws PersistenceException(Code)(Java Doc)

Fields inherited from org.sakaiproject.metaobj.shared.mgt.home.XmlElementHome
final public static String XML_HOME_PATH(Code)(Java Doc)
final public static String XSD_DIR(Code)(Java Doc)
final protected Log logger(Code)(Java Doc)

Methods inherited from org.sakaiproject.metaobj.shared.mgt.home.XmlElementHome
public void afterPropertiesSet() throws Exception(Code)(Java Doc)
public Artifact cloneArtifact(Artifact copy, String newName) throws PersistenceException(Code)(Java Doc)
public Artifact createInstance()(Code)(Java Doc)
public Artifact createSample()(Code)(Java Doc)
public Collection findByOwner(Agent owner) throws FinderException(Code)(Java Doc)
public Element getArtifactAsXml(Artifact art)(Code)(Java Doc)
public byte[] getBytes(StructuredArtifact artifact)(Code)(Java Doc)
public String getDocumentRoot()(Code)(Java Doc)
public String getExternalType()(Code)(Java Doc)
public String getExternalUri(Id artifactId, String name)(Code)(Java Doc)
public IdManager getIdManager()(Code)(Java Doc)
public String getInstruction()(Code)(Java Doc)
public Class getInterface()(Code)(Java Doc)
public Date getModified()(Code)(Java Doc)
public String getRootNode()(Code)(Java Doc)
public SchemaNode getRootSchema()(Code)(Java Doc)
public SchemaNode getSchema()(Code)(Java Doc)
protected File getSchemaFile(String schemaFileName)(Code)(Java Doc)
public String getSchemaFileName()(Code)(Java Doc)
public String getSiteId()(Code)(Java Doc)
public InputStream getStream(Id artifactId)(Code)(Java Doc)
public Type getType()(Code)(Java Doc)
public String getTypeId()(Code)(Java Doc)
public boolean isInstance(Artifact testObject)(Code)(Java Doc)
public boolean isSystemOnly()(Code)(Java Doc)
public Artifact load(Id id) throws PersistenceException(Code)(Java Doc)
public StructuredArtifact load(ContentResource resource)(Code)(Java Doc)
protected Artifact load(String id) throws PersistenceException(Code)(Java Doc)
protected String pathToWebInf()(Code)(Java Doc)
public void prepareInstance(Artifact object)(Code)(Java Doc)
public void refresh()(Code)(Java Doc)
public void remove(Artifact object) throws PersistenceException(Code)(Java Doc)
public void setIdManager(IdManager idManager)(Code)(Java Doc)
public void setInstruction(String instruction)(Code)(Java Doc)
public void setModified(Date schemaDate)(Code)(Java Doc)
public void setResourceLoader(ResourceLoader resourceLoader)(Code)(Java Doc)
public void setRootNode(String rootNode)(Code)(Java Doc)
public void setSchema(SchemaNode schema)(Code)(Java Doc)
public void setSchemaFileName(String schemaFileName)(Code)(Java Doc)
public void setType(Type type)(Code)(Java Doc)
public void setTypeId(String typeId)(Code)(Java Doc)
public Artifact store(Artifact object) throws PersistenceException(Code)(Java Doc)
public Artifact store(String displayName, String contentType, Type type, InputStream in) throws PersistenceException(Code)(Java Doc)
public Artifact update(Artifact object, InputStream in) throws PersistenceException(Code)(Java Doc)

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.