| org.sakaiproject.metaobj.shared.mgt.StructuredArtifactDefinitionManager
All known Subclasses: org.sakaiproject.metaobj.shared.mgt.impl.StructuredArtifactDefinitionManagerImpl,
StructuredArtifactDefinitionManager | public interface StructuredArtifactDefinitionManager (Code) | | |
Method Summary | |
public void | addConsumer(FormConsumer consumer) | public StructuredArtifactHomeInterface | convertToHome(StructuredArtifactDefinitionBean sad) | public Element | createFormViewXml(String formId, String returnUrl) | public Element | createFormViewXml(Artifact art, String returnUrl) | public Element | createFormViewXml(ElementBean bean, String returnUrl) | public void | delete(StructuredArtifactDefinitionBean sad) | public List | findBySchema(ContentResource resource) | public Map | findCategorizedHomes(boolean includeHidden) | public List | findGlobalHomes() | public List | findHomes() | public List | findHomes(boolean includeHidden) | public List | findHomes(Id currentWorksiteId) | public List | findHomes(Id currentWorksiteId, boolean includeHidden) | List | findHomes(Id currentWorksiteId, boolean includeHidden, boolean includeGlobal) | public Map | getHomes() | public Collection | getRootElements(StructuredArtifactDefinitionBean sad) | public InputStream | getTransformer(String type, boolean readOnly) | public Map | getWorksiteHomes(Id worksiteId) | public Map | getWorksiteHomes(Id worksiteId, boolean includeHidden) | public boolean | hasHomes() | public boolean | importSADResource(Id worksiteId, String resourceId, boolean findExisting) | public StructuredArtifactDefinitionBean | importSad(Id worksiteId, InputStream in, boolean findExisting, boolean publish) | public StructuredArtifactDefinitionBean | importSad(Id worksiteId, InputStream in, boolean findExisting, boolean publish, boolean foundThrowsException) | public boolean | isGlobal() | public StructuredArtifactDefinitionBean | loadHome(String type) | public StructuredArtifactDefinitionBean | loadHome(Id id) | public StructuredArtifactDefinitionBean | loadHomeByExternalType(String externalType, Id worksiteId) | public void | packageFormForExport(String formId, OutputStream os) This is the default method for exporting a form into a stream. | public void | packageFormForExport(String formId, OutputStream os, boolean checkPermission) This method will export a form into a stream. | public StructuredArtifactDefinitionBean | save(StructuredArtifactDefinitionBean sad) | public StructuredArtifactDefinitionBean | save(StructuredArtifactDefinitionBean sad, boolean updateModDate) | public void | validateSchema(StructuredArtifactDefinitionBean sad) |
GLOBAL_SAD_QUALIFIER | final public static String GLOBAL_SAD_QUALIFIER(Code) | | |
findBySchema | public List findBySchema(ContentResource resource)(Code) | | Parameters: resource - The ContentResource of a file in resources that is the xsd file A list of StructuredArtifactDefinitionBean objects |
findCategorizedHomes | public Map findCategorizedHomes(boolean includeHidden)(Code) | | |
findGlobalHomes | public List findGlobalHomes()(Code) | | list of all published globals or global sad owned by current user |
findHomes | public List findHomes(boolean includeHidden)(Code) | | |
findHomes | public List findHomes(Id currentWorksiteId)(Code) | | Parameters: currentWorksiteId - list of globally published sads or published sad in currentWorksiteId or sads incurrentWorksiteId owned by current user |
findHomes | public List findHomes(Id currentWorksiteId, boolean includeHidden)(Code) | | Parameters: currentWorksiteId - Parameters: includeHidden - include forms marked as hidden when created list of globally published sads or published sad in currentWorksiteId or sads incurrentWorksiteId owned by current user |
findHomes | List findHomes(Id currentWorksiteId, boolean includeHidden, boolean includeGlobal)(Code) | | |
getWorksiteHomes | public Map getWorksiteHomes(Id worksiteId)(Code) | | Parameters: worksiteId - a map with all worksite and global homes |
getWorksiteHomes | public Map getWorksiteHomes(Id worksiteId, boolean includeHidden)(Code) | | |
hasHomes | public boolean hasHomes()(Code) | | |
isGlobal | public boolean isGlobal()(Code) | | true if user is in a SAD tool that is configured to manipulate globals SADs |
packageFormForExport | public void packageFormForExport(String formId, OutputStream os) throws IOException(Code) | | This is the default method for exporting a form into a stream. This method does check the
form export permission.
Parameters: formId - String Parameters: os - OutputStream throws: IOException - |
packageFormForExport | public void packageFormForExport(String formId, OutputStream os, boolean checkPermission) throws IOException(Code) | | This method will export a form into a stream. It has the ability to turn off checking
for the export form permission.
Parameters: formId - String Parameters: os - OutputStream Parameters: checkPermission - boolean throws: IOException - |
|
|