com.sds.acube.bpm.framework.api
Class DeptProcessor

java.lang.Object
  extended by com.sds.acube.bpm.framework.api.DeptProcessor

public class DeptProcessor
extends java.lang.Object

DeptProcessor.java 2011. 10. 27. ºÎ¼­ API(¿ÜºÎ ÇÁ·ÎÁ§Æ® °³¹ßÀÚÇÑÅ× Á¦°øµÊ)

Version:
1.0.0.0 Copyright 2001 Samsung SDS Co., Ltd. All rights reserved.
Author:
LEE IL YONG

Constructor Summary
DeptProcessor()
           
 
Method Summary
static com.sds.acube.cn.org.orginfo.Department getDepartment(java.lang.String deptID)
          ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â Department °´Ã¼¸¦ ¸®ÅÏÇÔ.
static com.sds.acube.cn.org.orginfo.Department getDepartment(java.lang.String idirConnectionCategory, java.lang.String deptID)
          ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â Department °´Ã¼¸¦ ¸®ÅÏÇÔ.
static java.lang.String[] getDeptEmployeeIDList(java.lang.String deptID)
          ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ºÎ¼­¿øµé ID¸¦ ¸®ÅÏÇÔ.
static java.lang.String[] getDeptEmployeeIDList(java.lang.String idirConnectionCategory, java.lang.String deptID)
          ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ºÎ¼­¿øµé ID¸¦ ¸®ÅÏÇÔ.
static java.util.ArrayList getDeptEmployeeMailList(java.lang.String deptID)
          ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ºÎ¼­¿øµé emailÁÖ¼Ò¸¦ ¸®ÅÏÇÔ.
static java.util.ArrayList getDeptEmployeeMailList(java.lang.String idirConnectionCategory, java.lang.String deptID)
          ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ºÎ¼­¿øµé emailÁÖ¼Ò¸¦ ¸®ÅÏÇÔ.
static com.sds.acube.cn.org.user.Employees getDeptEmployees(java.lang.String deptID)
          ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ºÎ¼­¿øµé Á¤º¸(Employees)¸¦ ¸®ÅÏÇÔ.
static com.sds.acube.cn.org.user.Employees getDeptEmployees(java.lang.String idirConnectionCategory, java.lang.String deptID)
          ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ºÎ¼­¿øµé Á¤º¸(Employees)¸¦ ¸®ÅÏÇÔ.
static java.lang.String getParentDeptID(java.lang.String deptID)
          ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â »óÀ§ºÎ¼­ID¸¦ ¸®ÅÏÇÔ.
static java.lang.String getParentDeptID(java.lang.String idirConnectionCategory, java.lang.String deptID)
          ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â »óÀ§ºÎ¼­ID¸¦ ¸®ÅÏÇÔ.
static com.sds.acube.cn.org.orginfo.Organizations getSubAllOrganizations(java.lang.String deptID, int type, boolean includeDisuse)
          ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ÇÏÀ§ºÎ¼­¸¦ ¸®ÅÏÇÔ.
static com.sds.acube.cn.org.orginfo.Organizations getSubAllOrganizations(java.lang.String idirConnectionCategory, java.lang.String deptID, int type, boolean includeDisuse)
          ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ÇÏÀ§ºÎ¼­¸¦ ¸®ÅÏÇÔ.
static java.lang.String[] getSubDeptIDList(java.lang.String deptID)
          ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ÇÏÀ§ºÎ¼­ID¸¦ ¸®ÅÏÇÔ.
static java.lang.String[] getSubDeptIDList(java.lang.String idirConnectionCategory, java.lang.String deptID)
          ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ÇÏÀ§ºÎ¼­ID¸¦ ¸®ÅÏÇÔ.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeptProcessor

public DeptProcessor()
Method Detail

getDeptEmployees

public static com.sds.acube.cn.org.user.Employees getDeptEmployees(java.lang.String deptID)
                                                            throws com.sds.acube.bpm.framework.api.ProcessorException
ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ºÎ¼­¿øµé Á¤º¸(Employees)¸¦ ¸®ÅÏÇÔ. ¾øÀ¸¸é nullÀ» ¸®ÅÏ.
[Âü°í]com.sds.acube.cn.org.user.Employee¿£ ¸ÞÀÏ Á¤º¸ ¾øÀ½

Parameters:
deptID - ºÎ¼­ ID
Returns:
Employees
Throws:
com.sds.acube.bpm.framework.api.ProcessorException
Since:
2011.10.27 LEE IL YONG

getDeptEmployees

public static com.sds.acube.cn.org.user.Employees getDeptEmployees(java.lang.String idirConnectionCategory,
                                                                   java.lang.String deptID)
                                                            throws com.sds.acube.bpm.framework.api.ProcessorException
ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ºÎ¼­¿øµé Á¤º¸(Employees)¸¦ ¸®ÅÏÇÔ. ¾øÀ¸¸é nullÀ» ¸®ÅÏ.
[Âü°í]com.sds.acube.cn.org.user.Employee¿£ ¸ÞÀÏ Á¤º¸ ¾øÀ½

Parameters:
idirConnectionCategory - - idir Connection category(¿¹,BPM.propertiesÀÇ orgadaptor)
deptID - ºÎ¼­ ID
Returns:
Employees
Throws:
com.sds.acube.bpm.framework.api.ProcessorException
Since:
2011.10.27 LEE IL YONG

getDeptEmployeeIDList

public static java.lang.String[] getDeptEmployeeIDList(java.lang.String deptID)
                                                throws com.sds.acube.bpm.framework.api.ProcessorException
ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ºÎ¼­¿øµé ID¸¦ ¸®ÅÏÇÔ. ¾øÀ¸¸é nullÀ» ¸®ÅÏ.
[Âü°í]com.sds.acube.cn.org.user.Employee¿£ ¸ÞÀÏ Á¤º¸ ¾øÀ½

Parameters:
deptID - ºÎ¼­ ID
Returns:
Employees
Throws:
com.sds.acube.bpm.framework.api.ProcessorException
Since:
2011.10.27 LEE IL YONG

getDeptEmployeeIDList

public static java.lang.String[] getDeptEmployeeIDList(java.lang.String idirConnectionCategory,
                                                       java.lang.String deptID)
                                                throws com.sds.acube.bpm.framework.api.ProcessorException
ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ºÎ¼­¿øµé ID¸¦ ¸®ÅÏÇÔ. ¾øÀ¸¸é nullÀ» ¸®ÅÏ.
[Âü°í]com.sds.acube.cn.org.user.Employee¿£ ¸ÞÀÏ Á¤º¸ ¾øÀ½

Parameters:
idirConnectionCategory - - idir Connection category(¿¹,BPM.propertiesÀÇ orgadaptor)
deptID - ºÎ¼­ ID
Returns:
Employees
Throws:
com.sds.acube.bpm.framework.api.ProcessorException
Since:
2011.10.27 LEE IL YONG

getDeptEmployeeMailList

public static java.util.ArrayList getDeptEmployeeMailList(java.lang.String deptID)
                                                   throws com.sds.acube.bpm.framework.api.ProcessorException
ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ºÎ¼­¿øµé emailÁÖ¼Ò¸¦ ¸®ÅÏÇÔ. ¾øÀ¸¸é nullÀ» ¸®ÅÏ.
[ÁÖÀÇ] ÀÌ ÇÔ¼ö´Â ORGDBADM.TCN_USERINFORMATION_BASICÀÇ SYSMAIL¸¸À» ¸®ÅÏÇÔ.

Parameters:
deptID - ºÎ¼­ ID
Returns:
Employees
Throws:
com.sds.acube.bpm.framework.api.ProcessorException
Since:
2011.10.27 LEE IL YONG

getDeptEmployeeMailList

public static java.util.ArrayList getDeptEmployeeMailList(java.lang.String idirConnectionCategory,
                                                          java.lang.String deptID)
                                                   throws com.sds.acube.bpm.framework.api.ProcessorException
ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ºÎ¼­¿øµé emailÁÖ¼Ò¸¦ ¸®ÅÏÇÔ. ¾øÀ¸¸é nullÀ» ¸®ÅÏ.
[ÁÖÀÇ] ÀÌ ÇÔ¼ö´Â ORGDBADM.TCN_USERINFORMATION_BASICÀÇ SYSMAIL¸¸À» ¸®ÅÏÇÔ.

Parameters:
idirConnectionCategory - - idir Connection category(¿¹,BPM.propertiesÀÇ orgadaptor)
deptID - ºÎ¼­ ID
Returns:
Employees
Throws:
com.sds.acube.bpm.framework.api.ProcessorException
Since:
2011.10.27 LEE IL YONG

getDepartment

public static com.sds.acube.cn.org.orginfo.Department getDepartment(java.lang.String deptID)
                                                             throws com.sds.acube.bpm.framework.api.ProcessorException
ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â Department °´Ã¼¸¦ ¸®ÅÏÇÔ. ¾øÀ¸¸é nullÀ» ¸®ÅÏ.

Parameters:
deptID - ºÎ¼­ ID
Returns:
Department
Throws:
com.sds.acube.bpm.framework.api.ProcessorException
Since:
2011.10.27 LEE IL YONG

getDepartment

public static com.sds.acube.cn.org.orginfo.Department getDepartment(java.lang.String idirConnectionCategory,
                                                                    java.lang.String deptID)
                                                             throws com.sds.acube.bpm.framework.api.ProcessorException
ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â Department °´Ã¼¸¦ ¸®ÅÏÇÔ. ¾øÀ¸¸é nullÀ» ¸®ÅÏ.

Parameters:
idirConnectionCategory - - idir Connection category(¿¹,BPM.propertiesÀÇ orgadaptor)
deptID - ºÎ¼­ ID
Returns:
Department
Throws:
com.sds.acube.bpm.framework.api.ProcessorException
Since:
2011.10.27 LEE IL YONG

getParentDeptID

public static java.lang.String getParentDeptID(java.lang.String deptID)
                                        throws com.sds.acube.bpm.framework.api.ProcessorException
ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â »óÀ§ºÎ¼­ID¸¦ ¸®ÅÏÇÔ. ¾øÀ¸¸é nullÀ» ¸®ÅÏ.

Parameters:
deptID - ºÎ¼­ ID
Returns:
parentDeptID
Throws:
com.sds.acube.bpm.framework.api.ProcessorException
Since:
2011.10.27 LEE IL YONG

getParentDeptID

public static java.lang.String getParentDeptID(java.lang.String idirConnectionCategory,
                                               java.lang.String deptID)
                                        throws com.sds.acube.bpm.framework.api.ProcessorException
ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â »óÀ§ºÎ¼­ID¸¦ ¸®ÅÏÇÔ. ¾øÀ¸¸é nullÀ» ¸®ÅÏ.

Parameters:
idirConnectionCategory - - idir Connection category(¿¹,BPM.propertiesÀÇ orgadaptor)
deptID - ºÎ¼­ ID
Returns:
parentDeptID
Throws:
com.sds.acube.bpm.framework.api.ProcessorException
Since:
2011.10.27 LEE IL YONG

getSubAllOrganizations

public static com.sds.acube.cn.org.orginfo.Organizations getSubAllOrganizations(java.lang.String deptID,
                                                                                int type,
                                                                                boolean includeDisuse)
                                                                         throws com.sds.acube.bpm.framework.api.ProcessorException
ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ÇÏÀ§ºÎ¼­¸¦ ¸®ÅÏÇÔ. ¾øÀ¸¸é nullÀ» ¸®ÅÏ.

Parameters:
deptID - ºÎ¼­ ID
type - 0:Part Á¦¿Ü/1:Part Æ÷ÇÔ
includeDisuse - true:ÆóÁöºÎ¼­ Æ÷ÇÔ/false:ÆäÁöºÎ¼­ Á¦¿Ü
Returns:
Organizations
Throws:
com.sds.acube.bpm.framework.api.ProcessorException
Since:
2011.10.27 LEE IL YONG

getSubAllOrganizations

public static com.sds.acube.cn.org.orginfo.Organizations getSubAllOrganizations(java.lang.String idirConnectionCategory,
                                                                                java.lang.String deptID,
                                                                                int type,
                                                                                boolean includeDisuse)
                                                                         throws com.sds.acube.bpm.framework.api.ProcessorException
ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ÇÏÀ§ºÎ¼­¸¦ ¸®ÅÏÇÔ. ¾øÀ¸¸é nullÀ» ¸®ÅÏ.

Parameters:
idirConnectionCategory - - idir Connection category(¿¹,BPM.propertiesÀÇ orgadaptor)
deptID - ºÎ¼­ ID
type - 0:Part Á¦¿Ü/1:Part Æ÷ÇÔ
includeDisuse - true:ÆóÁöºÎ¼­ Æ÷ÇÔ/false:ÆäÁöºÎ¼­ Á¦¿Ü
Returns:
Organizations
Throws:
com.sds.acube.bpm.framework.api.ProcessorException
Since:
2011.10.27 LEE IL YONG

getSubDeptIDList

public static java.lang.String[] getSubDeptIDList(java.lang.String deptID)
                                           throws com.sds.acube.bpm.framework.api.ProcessorException
ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ÇÏÀ§ºÎ¼­ID¸¦ ¸®ÅÏÇÔ. ¾øÀ¸¸é nullÀ» ¸®ÅÏ.
[Âü°í] ÀÌ ÇÔ¼ö´Â part¸¦ Á¦¿ÜÇÑ ºÎ¼­ Áß ÇöÀç ÆóÁöµÇÁö ¾ÊÀº ºÎ¼­µé¸¸ °¡Á®¿È.

Parameters:
deptID - ºÎ¼­ ID
Returns:
parentDeptID
Throws:
com.sds.acube.bpm.framework.api.ProcessorException
Since:
2011.10.27 LEE IL YONG

getSubDeptIDList

public static java.lang.String[] getSubDeptIDList(java.lang.String idirConnectionCategory,
                                                  java.lang.String deptID)
                                           throws com.sds.acube.bpm.framework.api.ProcessorException
ÁÖ¾îÁø deptID¿¡ ÇØ´çÇÏ´Â ÇÏÀ§ºÎ¼­ID¸¦ ¸®ÅÏÇÔ. ¾øÀ¸¸é nullÀ» ¸®ÅÏ.
[Âü°í] ÀÌ ÇÔ¼ö´Â part¸¦ Á¦¿ÜÇÑ ºÎ¼­ Áß ÇöÀç ÆóÁöµÇÁö ¾ÊÀº ºÎ¼­µé¸¸ °¡Á®¿È.

Parameters:
idirConnectionCategory - - idir Connection category(¿¹,BPM.propertiesÀÇ orgadaptor)
deptID - ºÎ¼­ ID
Returns:
parentDeptID
Throws:
com.sds.acube.bpm.framework.api.ProcessorException
Since:
2011.10.27 LEE IL YONG