com.wewebu.ow.server.ecmimpl.alfresco.bpm.classes
Class OwAlfrescoBPMObjectClass

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.alfresco.bpm.classes.OwAlfrescoBPMObjectClass
All Implemented Interfaces:
com.wewebu.ow.server.ecm.OwObjectClass
Direct Known Subclasses:
OwAlfrescoBPMWorkItemObjectClass

public abstract class OwAlfrescoBPMObjectClass
extends Object
implements com.wewebu.ow.server.ecm.OwObjectClass

Wrapper over an OwObjectClass that adds some extra properties.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
4.0.0.0

Field Summary
static String PROP_BPM_ASSIGNEE
           
static String PROP_BPM_PACKAGE
           
static String PROP_CM_CREATED
           
static String PROP_CM_OWNER
           
static String PROP_OW_ATTACHMENTS
           
static String PROP_OW_RESUBMIT_DATE
           
static String PROP_OW_STEPPROCESSOR_JSP_PAGE
           
static String PROP_OW_TASK_TITLE
           
protected  Map<String,com.wewebu.ow.server.ecm.OwPropertyClass> virtualProperties
           
protected  com.wewebu.ow.server.ecm.OwObjectClass wrappedObjectClass
           
 
Fields inherited from interface com.wewebu.ow.server.ecm.OwObjectClass
OPERATION_TYPE_CHECKIN, OPERATION_TYPE_CHECKOUT, OPERATION_TYPE_CREATE_NEW_OBJECT, OPERATION_TYPE_SET_PROPERTIES, OPERATION_TYPE_UNDEF
 
Constructor Summary
OwAlfrescoBPMObjectClass(com.wewebu.ow.server.ecm.OwObjectClass wrappedObjectClass)
           
 
Method Summary
protected abstract  void addVirtualProperties()
          Add some extra properties that do not come from the repository/process engine.
 boolean canCreateNewObject()
           
 Map getChildNames(com.wewebu.ow.server.ecm.OwNetwork network_p, boolean fExcludeHiddenAndNonInstantiable_p)
           
 List getChilds(com.wewebu.ow.server.ecm.OwNetwork network_p, boolean fExcludeHiddenAndNonInstantiable_p)
           
 String getClassName()
           
 String getDescription(Locale locale_p)
           
 String getDisplayName(Locale locale_p)
           
 List getModes(int operation_p)
           
 String getNamePropertyName()
           
 com.wewebu.ow.server.ecm.OwObjectClass getParent()
           
 com.wewebu.ow.server.ecm.OwPropertyClass getPropertyClass(String strClassName_p)
           
 Collection getPropertyClassNames()
           
 int getType()
           
 boolean hasChilds(com.wewebu.ow.server.ecm.OwNetwork network_p, boolean fExcludeHiddenAndNonInstantiable_p, int context_p)
           
 boolean hasVersionSeries()
           
 boolean isHidden()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_OW_RESUBMIT_DATE

public static final String PROP_OW_RESUBMIT_DATE
See Also:
Constant Field Values

PROP_CM_CREATED

public static final String PROP_CM_CREATED
See Also:
Constant Field Values

PROP_BPM_PACKAGE

public static final String PROP_BPM_PACKAGE
See Also:
Constant Field Values

PROP_OW_ATTACHMENTS

public static final String PROP_OW_ATTACHMENTS
See Also:
Constant Field Values

PROP_OW_TASK_TITLE

public static final String PROP_OW_TASK_TITLE
See Also:
Constant Field Values

PROP_BPM_ASSIGNEE

public static final String PROP_BPM_ASSIGNEE
See Also:
Constant Field Values

PROP_CM_OWNER

public static final String PROP_CM_OWNER
See Also:
Constant Field Values

PROP_OW_STEPPROCESSOR_JSP_PAGE

public static final String PROP_OW_STEPPROCESSOR_JSP_PAGE
See Also:
Constant Field Values

wrappedObjectClass

protected com.wewebu.ow.server.ecm.OwObjectClass wrappedObjectClass

virtualProperties

protected Map<String,com.wewebu.ow.server.ecm.OwPropertyClass> virtualProperties
Constructor Detail

OwAlfrescoBPMObjectClass

public OwAlfrescoBPMObjectClass(com.wewebu.ow.server.ecm.OwObjectClass wrappedObjectClass)
Method Detail

addVirtualProperties

protected abstract void addVirtualProperties()
Add some extra properties that do not come from the repository/process engine.


getType

public int getType()
Specified by:
getType in interface com.wewebu.ow.server.ecm.OwObjectClass

getChilds

public List getChilds(com.wewebu.ow.server.ecm.OwNetwork network_p,
                      boolean fExcludeHiddenAndNonInstantiable_p)
               throws Exception
Specified by:
getChilds in interface com.wewebu.ow.server.ecm.OwObjectClass
Throws:
Exception

getChildNames

public Map getChildNames(com.wewebu.ow.server.ecm.OwNetwork network_p,
                         boolean fExcludeHiddenAndNonInstantiable_p)
                  throws Exception
Specified by:
getChildNames in interface com.wewebu.ow.server.ecm.OwObjectClass
Throws:
Exception

hasChilds

public boolean hasChilds(com.wewebu.ow.server.ecm.OwNetwork network_p,
                         boolean fExcludeHiddenAndNonInstantiable_p,
                         int context_p)
                  throws Exception
Specified by:
hasChilds in interface com.wewebu.ow.server.ecm.OwObjectClass
Throws:
Exception

getClassName

public String getClassName()
Specified by:
getClassName in interface com.wewebu.ow.server.ecm.OwObjectClass

getDisplayName

public String getDisplayName(Locale locale_p)
Specified by:
getDisplayName in interface com.wewebu.ow.server.ecm.OwObjectClass

getPropertyClass

public com.wewebu.ow.server.ecm.OwPropertyClass getPropertyClass(String strClassName_p)
                                                          throws Exception
Specified by:
getPropertyClass in interface com.wewebu.ow.server.ecm.OwObjectClass
Throws:
Exception

getPropertyClassNames

public Collection getPropertyClassNames()
                                 throws Exception
Specified by:
getPropertyClassNames in interface com.wewebu.ow.server.ecm.OwObjectClass
Throws:
Exception

getNamePropertyName

public String getNamePropertyName()
                           throws Exception
Specified by:
getNamePropertyName in interface com.wewebu.ow.server.ecm.OwObjectClass
Throws:
Exception

canCreateNewObject

public boolean canCreateNewObject()
                           throws Exception
Specified by:
canCreateNewObject in interface com.wewebu.ow.server.ecm.OwObjectClass
Throws:
Exception

hasVersionSeries

public boolean hasVersionSeries()
                         throws Exception
Specified by:
hasVersionSeries in interface com.wewebu.ow.server.ecm.OwObjectClass
Throws:
Exception

getModes

public List getModes(int operation_p)
              throws Exception
Specified by:
getModes in interface com.wewebu.ow.server.ecm.OwObjectClass
Throws:
Exception

getDescription

public String getDescription(Locale locale_p)
Specified by:
getDescription in interface com.wewebu.ow.server.ecm.OwObjectClass

isHidden

public boolean isHidden()
                 throws Exception
Specified by:
isHidden in interface com.wewebu.ow.server.ecm.OwObjectClass
Throws:
Exception

getParent

public com.wewebu.ow.server.ecm.OwObjectClass getParent()
                                                 throws Exception
Specified by:
getParent in interface com.wewebu.ow.server.ecm.OwObjectClass
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.