|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This adapter implements basic operations with task's catefories
Method Summary | |
boolean |
canChangeWorkflowImpl(java.lang.String sessionId,
java.lang.String categoryId,
boolean result)
Returns true if can change Workflow. |
java.lang.String |
createCategoryImpl(java.lang.String sessionId,
java.lang.String taskId,
java.lang.String name,
java.lang.String workflowId,
boolean isproject,
java.lang.String result)
Create new Category. |
void |
deleteCategoryImpl(java.lang.String sessionId,
java.lang.String categoryId)
Deletes specified Category. |
java.util.ArrayList |
getAvailableCategoryListImpl(java.lang.String sessionId,
java.lang.String taskId,
java.util.ArrayList result)
Returns available Category list for specified Task. |
java.util.ArrayList |
getCategoryRuleListImpl(java.lang.String sessionId,
java.lang.String prstatusId,
java.lang.String categoryId,
java.util.ArrayList result)
Returns list of rules for specified Category and Prstatus. |
java.util.ArrayList |
getChildrenCategoryListImpl(java.lang.String sessionId,
java.lang.String categoryId,
java.util.ArrayList result)
Returns available Categories for specified Category. |
java.util.ArrayList |
getCreatableCategoryListImpl(java.lang.String sessionId,
java.lang.String taskId,
java.util.ArrayList result)
Get list of categories, that some user can create. |
java.util.ArrayList |
getDeletableCategoryListImpl(java.lang.String sessionId,
java.lang.String taskId,
java.util.ArrayList result)
Get list of categories, that some user can delete. |
java.util.ArrayList |
getEditableCategoryListImpl(java.lang.String sessionId,
java.lang.String taskId,
java.util.ArrayList result)
Get list of categories, that some user can edit. |
void |
resetCategoryRelationImpl(java.lang.String sessionId,
java.lang.String parentCategoryId,
java.lang.String childCategoryId)
Deletes Category from the list of allowed categories. |
void |
resetCreatableCategoryRuleImpl(java.lang.String sessionId,
java.lang.String categoryId,
java.lang.String prstatusId)
Set, that Users with some Prstatus can't create Tasks of some Category. |
void |
resetDeletableCategoryRuleImpl(java.lang.String sessionId,
java.lang.String categoryId,
java.lang.String prstatusId)
Set, that Users with some Prstatus can't delete Tasks of some Category. |
void |
resetEditableCategoryRuleImpl(java.lang.String sessionId,
java.lang.String categoryId,
java.lang.String prstatusId)
Sets, that Users with some Prstatus (group) can't edit Tasks of some Category. |
void |
setCategoryRelationImpl(java.lang.String sessionId,
java.lang.String parentCategoryId,
java.lang.String childCategoryId)
Adds Category to the list of allowed subctegories. |
java.lang.String |
setCategoryRuleImpl(java.lang.String sessionId,
java.lang.String categoryId,
java.lang.String prstatusId,
java.lang.String type,
java.lang.String result)
Sets the rule for Caterory. |
void |
updateCategoryImpl(java.lang.String sessionId,
java.lang.String categoryId,
java.lang.String name,
java.lang.String workflowId,
boolean isproject)
Updates specified Category. |
Methods inherited from interface gran.app.adapter.Adapter |
getDescription, init |
Method Detail |
public void deleteCategoryImpl(java.lang.String sessionId, java.lang.String categoryId) throws GranException
sessionId
- categoryId
-
GranException
public void updateCategoryImpl(java.lang.String sessionId, java.lang.String categoryId, java.lang.String name, java.lang.String workflowId, boolean isproject) throws GranException
sessionId
- categoryId
- name
- workflowId
- isproject
-
GranException
public java.util.ArrayList getAvailableCategoryListImpl(java.lang.String sessionId, java.lang.String taskId, java.util.ArrayList result) throws GranException
sessionId
- taskId
- result
-
GranException
SecuredCategoryBean
public java.lang.String createCategoryImpl(java.lang.String sessionId, java.lang.String taskId, java.lang.String name, java.lang.String workflowId, boolean isproject, java.lang.String result) throws GranException
sessionId
- taskId
- name
- workflowId
- isproject
- result
-
GranException
public java.util.ArrayList getChildrenCategoryListImpl(java.lang.String sessionId, java.lang.String categoryId, java.util.ArrayList result) throws GranException
sessionId
- categoryId
- result
-
GranException
SecuredCategoryBean
public void resetEditableCategoryRuleImpl(java.lang.String sessionId, java.lang.String categoryId, java.lang.String prstatusId) throws GranException
sessionId
- categoryId
- prstatusId
-
GranException
public void resetCreatableCategoryRuleImpl(java.lang.String sessionId, java.lang.String categoryId, java.lang.String prstatusId) throws GranException
sessionId
- categoryId
- prstatusId
-
GranException
public java.lang.String setCategoryRuleImpl(java.lang.String sessionId, java.lang.String categoryId, java.lang.String prstatusId, java.lang.String type, java.lang.String result) throws GranException
sessionId
- categoryId
- prstatusId
- type
- who can actionresult
-
GranException
for type values
public void resetDeletableCategoryRuleImpl(java.lang.String sessionId, java.lang.String categoryId, java.lang.String prstatusId) throws GranException
sessionId
- categoryId
- prstatusId
-
GranException
public void setCategoryRelationImpl(java.lang.String sessionId, java.lang.String parentCategoryId, java.lang.String childCategoryId) throws GranException
sessionId
- parentCategoryId
- childCategoryId
-
GranException
public void resetCategoryRelationImpl(java.lang.String sessionId, java.lang.String parentCategoryId, java.lang.String childCategoryId) throws GranException
sessionId
- parentCategoryId
- childCategoryId
-
GranException
public java.util.ArrayList getCreatableCategoryListImpl(java.lang.String sessionId, java.lang.String taskId, java.util.ArrayList result) throws GranException
sessionId
- taskId
- result
-
GranException
SecuredCategoryBean
public java.util.ArrayList getEditableCategoryListImpl(java.lang.String sessionId, java.lang.String taskId, java.util.ArrayList result) throws GranException
sessionId
- taskId
- result
-
GranException
SecuredCategoryBean
public java.util.ArrayList getDeletableCategoryListImpl(java.lang.String sessionId, java.lang.String taskId, java.util.ArrayList result) throws GranException
sessionId
- taskId
- result
-
GranException
SecuredCategoryBean
public java.util.ArrayList getCategoryRuleListImpl(java.lang.String sessionId, java.lang.String prstatusId, java.lang.String categoryId, java.util.ArrayList result) throws GranException
sessionId
- prstatusId
- categoryId
- result
-
GranException
public boolean canChangeWorkflowImpl(java.lang.String sessionId, java.lang.String categoryId, boolean result) throws GranException
sessionId
- categoryId
- result
-
GranException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |