org.alfresco.web.bean.coci
Class CCProperties

java.lang.Object
  extended by org.alfresco.web.bean.coci.CCProperties
All Implemented Interfaces:
java.io.Serializable

public class CCProperties
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  org.alfresco.service.cmr.repository.ContentService contentService
          The ContentService to be used by the bean
static java.lang.String COPYLOCATION_CURRENT
          constants for copy location selection
static java.lang.String COPYLOCATION_OTHER
           
protected  org.alfresco.service.cmr.coci.CheckOutCheckInService versionOperationsService
          The VersionOperationsService to be used by the bean
protected  org.alfresco.service.cmr.version.VersionService versionQueryService
          The VersionQueryService to be used by the bean
protected  org.alfresco.service.cmr.workflow.WorkflowService workflowService
          The WorkflowService to be used by the bean
 
Constructor Summary
CCProperties()
           
 
Method Summary
 java.lang.String getCifsPath()
           
 org.alfresco.service.cmr.repository.ContentService getContentService()
           
 java.lang.String getCopyLocation()
           
 Node getDocument()
           
 java.lang.String getDocumentContent()
           
 java.lang.String getEditorOutput()
           
 java.io.File getFile()
           
 java.lang.String getFileName()
           
 boolean getKeepCheckedOut()
           
 boolean getMinorChange()
           
 org.alfresco.service.cmr.repository.NodeRef getSelectedSpaceId()
           
 java.lang.String getVersionNotes()
           
 org.alfresco.service.cmr.coci.CheckOutCheckInService getVersionOperationsService()
           
 org.alfresco.service.cmr.version.VersionService getVersionQueryService()
           
 java.lang.String getWebdavUrl()
           
 org.alfresco.service.cmr.workflow.WorkflowService getWorkflowService()
           
 java.lang.String getWorkflowTaskId()
           
 Node getWorkingDocument()
           
 boolean isWorkflowAction()
           
 void setCifsPath(java.lang.String cifsPath)
           
 void setContentService(org.alfresco.service.cmr.repository.ContentService contentService)
           
 void setCopyLocation(java.lang.String copyLocation)
           
 void setDocument(Node document)
           
 void setDocumentContent(java.lang.String documentContent)
           
 void setEditorOutput(java.lang.String editorOutput)
           
 void setFile(java.io.File file)
           
 void setFileName(java.lang.String fileName)
           
 void setKeepCheckedOut(boolean keepCheckedOut)
           
 void setMinorChange(boolean minorChange)
           
 void setSelectedSpaceId(org.alfresco.service.cmr.repository.NodeRef selectedSpaceId)
           
 void setVersionNotes(java.lang.String versionNotes)
           
 void setVersionOperationsService(org.alfresco.service.cmr.coci.CheckOutCheckInService versionOperationsService)
           
 void setVersionQueryService(org.alfresco.service.cmr.version.VersionService versionQueryService)
           
 void setWebdavUrl(java.lang.String webdavUrl)
           
 void setWorkflowAction(boolean isWorkflowAction)
           
 void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
           
 void setWorkflowTaskId(java.lang.String workflowTaskId)
           
 void setWorkingDocument(Node workingDocument)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionOperationsService

protected transient org.alfresco.service.cmr.coci.CheckOutCheckInService versionOperationsService
The VersionOperationsService to be used by the bean


versionQueryService

protected transient org.alfresco.service.cmr.version.VersionService versionQueryService
The VersionQueryService to be used by the bean


contentService

protected transient org.alfresco.service.cmr.repository.ContentService contentService
The ContentService to be used by the bean


workflowService

protected transient org.alfresco.service.cmr.workflow.WorkflowService workflowService
The WorkflowService to be used by the bean


COPYLOCATION_CURRENT

public static final java.lang.String COPYLOCATION_CURRENT
constants for copy location selection

See Also:
Constant Field Values

COPYLOCATION_OTHER

public static final java.lang.String COPYLOCATION_OTHER
See Also:
Constant Field Values
Constructor Detail

CCProperties

public CCProperties()
Method Detail

getVersionOperationsService

public org.alfresco.service.cmr.coci.CheckOutCheckInService getVersionOperationsService()
Returns:
Returns the VersionOperationsService.

setVersionOperationsService

public void setVersionOperationsService(org.alfresco.service.cmr.coci.CheckOutCheckInService versionOperationsService)
Parameters:
versionOperationsService - The VersionOperationsService to set.

getVersionQueryService

public org.alfresco.service.cmr.version.VersionService getVersionQueryService()
Returns:
Returns the VersionQueryService.

setVersionQueryService

public void setVersionQueryService(org.alfresco.service.cmr.version.VersionService versionQueryService)
Parameters:
versionQueryService - The VersionQueryService to set.

getContentService

public org.alfresco.service.cmr.repository.ContentService getContentService()
Returns:
Returns the ContentService.

setContentService

public void setContentService(org.alfresco.service.cmr.repository.ContentService contentService)
Parameters:
contentService - The ContentService to set.

setWorkflowService

public void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
Parameters:
workflowService - The WorkflowService to set.

getWorkflowService

public org.alfresco.service.cmr.workflow.WorkflowService getWorkflowService()
Returns:
the workflowService

getEditorOutput

public java.lang.String getEditorOutput()
Returns:
Returns output from the in-line editor page.

setEditorOutput

public void setEditorOutput(java.lang.String editorOutput)
Parameters:
editorOutput - The output from the in-line editor page

getDocumentContent

public java.lang.String getDocumentContent()
Returns:
Returns the document content used for HTML in-line editing.

setDocumentContent

public void setDocumentContent(java.lang.String documentContent)
Parameters:
documentContent - The document content for HTML in-line editing.

getWorkingDocument

public Node getWorkingDocument()
Returns:
Returns the working copy Document.

setWorkingDocument

public void setWorkingDocument(Node workingDocument)
Parameters:
workingDocument - The working copy Document to set.

getDocument

public Node getDocument()
Returns:
The document node being used for the current operation

setDocument

public void setDocument(Node document)
Parameters:
document - The document node to be used for the current operation

getSelectedSpaceId

public org.alfresco.service.cmr.repository.NodeRef getSelectedSpaceId()
Returns:
Returns the selected Space Id.

setSelectedSpaceId

public void setSelectedSpaceId(org.alfresco.service.cmr.repository.NodeRef selectedSpaceId)
Parameters:
selectedSpaceId - The selected Space Id to set.

getFile

public java.io.File getFile()
Returns:
the file

setFile

public void setFile(java.io.File file)
Parameters:
file - the file to set

getFileName

public java.lang.String getFileName()
Returns:
the fileName

setFileName

public void setFileName(java.lang.String fileName)
Parameters:
fileName - the fileName to set

setKeepCheckedOut

public void setKeepCheckedOut(boolean keepCheckedOut)
Parameters:
keepCheckedOut - The keepCheckedOut to set.

getKeepCheckedOut

public boolean getKeepCheckedOut()
Returns:
Returns the keepCheckedOut.

setMinorChange

public void setMinorChange(boolean minorChange)
Parameters:
minorChange - The minorChange to set.

getMinorChange

public boolean getMinorChange()
Returns:
Returns the minorChange flag.

isWorkflowAction

public boolean isWorkflowAction()
Returns:
the isWorkflowAction

setWorkflowAction

public void setWorkflowAction(boolean isWorkflowAction)
Parameters:
isWorkflowAction - the isWorkflowAction to set

getWorkflowTaskId

public java.lang.String getWorkflowTaskId()
Returns:
the workflowTaskId

setWorkflowTaskId

public void setWorkflowTaskId(java.lang.String workflowTaskId)
Parameters:
workflowTaskId - the workflowTaskId to set

getVersionNotes

public java.lang.String getVersionNotes()
Returns:
Returns the version history notes.

setVersionNotes

public void setVersionNotes(java.lang.String versionNotes)
Parameters:
versionNotes - The version history notes to set.

getCopyLocation

public java.lang.String getCopyLocation()
Returns:
Returns the copy location. Either the current or other space.

setCopyLocation

public void setCopyLocation(java.lang.String copyLocation)
Parameters:
copyLocation - The copy location. Either the current or other space.

getWebdavUrl

public java.lang.String getWebdavUrl()
Returns:
Returns WebDav url for online editing. If webdav online editing didn't yet started, returns null

setWebdavUrl

public void setWebdavUrl(java.lang.String webdavUrl)
Parameters:
webdavUrl - The webdav url. Using only for online editing

getCifsPath

public java.lang.String getCifsPath()
Returns:
Returns CIFS path for online editing. If cifs online editing didn't yet started, returns null

setCifsPath

public void setCifsPath(java.lang.String cifsPath)
Parameters:
cifsPath - The cifs path. Using only for online editing


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.