|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgran.app.adapter.external.category.BaseSecuredCategoryAdapter
| Constructor Summary | |
BaseSecuredCategoryAdapter()
|
|
| Method Summary | |
void |
addRelatedCategoryImpl(SessionContext sc,
java.lang.String parentCategoryId,
java.lang.String related)
|
boolean |
canChangeWorkflowImpl(SessionContext sc,
java.lang.String categoryId,
boolean result)
Returns true if can change Workflow. |
java.lang.String |
createCategoryImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String name,
java.lang.String workflowId,
boolean handlerRequired,
boolean groupHandlerAllowed,
java.lang.String result)
Create new Category. |
void |
deleteCategoryImpl(SessionContext sc,
java.lang.String categoryId)
Deletes specified Category. |
void |
editCategoryImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String workflowId)
Updates specified Category. |
java.util.List |
getAvailableCategoryListImpl(SessionContext sc,
java.lang.String taskId,
java.util.List result)
Returns available Category list for specified Task. |
java.util.List |
getCategoryRuleListImpl(SessionContext sc,
java.lang.String prstatusId,
java.lang.String categoryId,
java.util.List result)
Returns list of rules for specified Category and Prstatus Available via SOAP. |
java.util.List |
getChildrenCategoryListImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String taskId,
java.util.List result)
Returns available Categories for specified Category. |
java.util.List |
getCreatableCategoryListImpl(SessionContext sc,
java.lang.String taskId,
java.util.List result)
Get list of categories, that some user can create. |
java.lang.String |
getDescription()
Get description of adapter as plain text |
java.lang.String |
getTemplateImpl(SessionContext sc,
java.lang.String categoryId)
|
boolean |
init()
Initialize adapter. |
boolean |
isCategoryCanBeHandlerImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String categoryId,
boolean result)
|
boolean |
isCategoryDeletableImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String categoryId,
boolean result)
Returns true if can delete category Available via SOAP. |
boolean |
isCategoryEditableImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String categoryId,
boolean result)
Returns true if can edit category Available via SOAP. |
boolean |
isCategoryViewableImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String categoryId,
boolean result)
|
void |
removeRelatedCategoryImpl(SessionContext sc,
java.lang.String parentCategoryId,
java.lang.String related)
|
void |
renameCategoryImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String name,
boolean handlerRequired,
boolean groupHandlerAllowed)
|
void |
setCategoryRuleImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String prstatusId,
java.lang.String createType,
java.lang.String viewType,
java.lang.String modifyType,
java.lang.String handlerType,
java.lang.String deleteType)
Sets the rule for Caterory. |
void |
setCategoryTriggerImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String before,
java.lang.String insteadOf,
java.lang.String after,
java.lang.String updBefore,
java.lang.String updInsteadOf,
java.lang.String updAfter)
|
void |
setTemplateImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String template)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BaseSecuredCategoryAdapter()
| Method Detail |
public boolean init()
Adapter
init in interface Adapterpublic java.lang.String getDescription()
Adapter
getDescription in interface Adapter
public void deleteCategoryImpl(SessionContext sc,
java.lang.String categoryId)
throws GranException
SecuredCategoryAdapter
deleteCategoryImpl in interface SecuredCategoryAdaptersc - categoryId -
GranException
public java.lang.String getTemplateImpl(SessionContext sc,
java.lang.String categoryId)
throws GranException
getTemplateImpl in interface SecuredCategoryAdapterGranException
public void setTemplateImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String template)
throws GranException
setTemplateImpl in interface SecuredCategoryAdapterGranException
public void editCategoryImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String workflowId)
throws GranException
SecuredCategoryAdapter
editCategoryImpl in interface SecuredCategoryAdaptersc - categoryId - workflowId -
GranException
public void renameCategoryImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String name,
boolean handlerRequired,
boolean groupHandlerAllowed)
throws GranException
renameCategoryImpl in interface SecuredCategoryAdapterGranException
public java.util.List getAvailableCategoryListImpl(SessionContext sc,
java.lang.String taskId,
java.util.List result)
throws GranException
SecuredCategoryAdapter
getAvailableCategoryListImpl in interface SecuredCategoryAdaptersc - taskId - result -
GranExceptionSecuredCategoryBean
public java.lang.String createCategoryImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String name,
java.lang.String workflowId,
boolean handlerRequired,
boolean groupHandlerAllowed,
java.lang.String result)
throws GranException
SecuredCategoryAdapter
createCategoryImpl in interface SecuredCategoryAdaptersc - taskId - name - workflowId - result -
GranException
public java.util.List getChildrenCategoryListImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String taskId,
java.util.List result)
throws GranException
SecuredCategoryAdapter
getChildrenCategoryListImpl in interface SecuredCategoryAdaptersc - categoryId - result -
GranExceptionSecuredCategoryBean
public java.util.List getCategoryRuleListImpl(SessionContext sc,
java.lang.String prstatusId,
java.lang.String categoryId,
java.util.List result)
throws GranException
SecuredCategoryAdapter
getCategoryRuleListImpl in interface SecuredCategoryAdaptersc - prstatusId - categoryId - result -
GranExceptionSecuredCategoryBean
public boolean canChangeWorkflowImpl(SessionContext sc,
java.lang.String categoryId,
boolean result)
throws GranException
SecuredCategoryAdapter
canChangeWorkflowImpl in interface SecuredCategoryAdaptersc - categoryId - result -
GranException
public void setCategoryRuleImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String prstatusId,
java.lang.String createType,
java.lang.String viewType,
java.lang.String modifyType,
java.lang.String handlerType,
java.lang.String deleteType)
throws GranException
SecuredCategoryAdapter
setCategoryRuleImpl in interface SecuredCategoryAdaptersc - categoryId - prstatusId -
GranExceptionfor type values
public void addRelatedCategoryImpl(SessionContext sc,
java.lang.String parentCategoryId,
java.lang.String related)
throws GranException
addRelatedCategoryImpl in interface SecuredCategoryAdapterGranException
public void removeRelatedCategoryImpl(SessionContext sc,
java.lang.String parentCategoryId,
java.lang.String related)
throws GranException
removeRelatedCategoryImpl in interface SecuredCategoryAdapterGranException
public java.util.List getCreatableCategoryListImpl(SessionContext sc,
java.lang.String taskId,
java.util.List result)
throws GranException
SecuredCategoryAdapter
getCreatableCategoryListImpl in interface SecuredCategoryAdaptersc - taskId - result -
GranExceptionSecuredCategoryBean
public boolean isCategoryEditableImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String categoryId,
boolean result)
throws GranException
SecuredCategoryAdapter
isCategoryEditableImpl in interface SecuredCategoryAdaptersc - categoryId - taskId - result -
GranException
public boolean isCategoryDeletableImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String categoryId,
boolean result)
throws GranException
SecuredCategoryAdapter
isCategoryDeletableImpl in interface SecuredCategoryAdaptersc - categoryId - taskId - result -
GranException
public boolean isCategoryViewableImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String categoryId,
boolean result)
throws GranException
isCategoryViewableImpl in interface SecuredCategoryAdapterGranException
public boolean isCategoryCanBeHandlerImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String categoryId,
boolean result)
throws GranException
isCategoryCanBeHandlerImpl in interface SecuredCategoryAdapterGranException
public void setCategoryTriggerImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String before,
java.lang.String insteadOf,
java.lang.String after,
java.lang.String updBefore,
java.lang.String updInsteadOf,
java.lang.String updAfter)
throws GranException
setCategoryTriggerImpl in interface SecuredCategoryAdapterGranException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||