com.safeidentity.adminservice.objects
Class RolePrecond

java.lang.Object
  extended bycom.safeidentity.adminservice.objects.SFObject
      extended bycom.safeidentity.adminservice.objects.Profile
          extended bycom.safeidentity.adminservice.objects.RolePrecond

public class RolePrecond
extends Profile

¼±ÇàÁ¶°Ç(Role Precond)¿¡ ´ëÇÑ Á¤º¸¸¦ ´ã°í ÀÖ´Â °´Ã¼¿¡ ´ëÇÑ Å¬·¡½º


Field Summary
static int ROLEPRECOND_TYPE_RESPERM
           
static int ROLEPRECOND_TYPE_USER
           
 
Fields inherited from class com.safeidentity.adminservice.objects.Profile
m_vcProfile
 
Fields inherited from class com.safeidentity.adminservice.objects.SFObject
m_dCreate, m_dModify, m_strCreator, m_strDesc, m_strEid, m_strId, m_strModifier, m_strName
 
Constructor Summary
RolePrecond()
          ¼±ÇàÁ¶°Ç(RolePrecond) °´Ã¼ÀÇ »ý¼ºÀÚ
RolePrecond(java.lang.String strId)
          ¼±ÇàÁ¶°Ç(RolePrecond) °´Ã¼¸¦ »ý¼ºÇÑ´Ù.
 
Method Summary
 void addPrecond(java.lang.String strPrecond)
          ¼±ÇàÁ¶°Ç Á¤º¸¸¦ Çϳª¾¿ ¼³Á¤ÇÑ´Ù.
 void destroy()
          Method destroy
 void finalize()
           
 java.lang.String getAdoptedRole()
          ¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)ÀÌ Àû¿ëµÇ´Â ¿ªÇÒ¿¡ ´ëÇÑ Á¤º¸¸¦ ¾ò¾î¿Â´Ù.
 boolean getAllowMod()
          ¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)¿¡ ¼³Á¤µÈ ¼öÁ¤ Çã¿ë¿©ºÎ ¿É¼Ç Á¤º¸¸¦ ¾ò¾î¿Â´Ù.
 int getAllowModInteger()
          ¼±ÇàÁ¶°Ç¿¡ ¼³Á¤µÈ ¼öÁ¤ Çã¿ë¿©ºÎ ¿É¼ÇÀ» ±â·ÏÇÑ m_nAllowMod °ªÀ» ±×´ë·Î ¾ò¾î¿Â´Ù.
 int getGrantLevel()
          ¿ªÇÒ ¼±ÇàÁ¶°Ç¿¡ ¼³Á¤µÈ GrantLevelÀ» ¾ò¾î¿Â´Ù.
 java.util.Vector getPrecond()
          ¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)¿¡ ¼³Á¤µÇ¾î ÀÖ´Â ¼±ÇàÁ¶°Ç Á¤º¸¸¦ ¾ò¾î¿Â´Ù.
 int getTypePrecond()
          ¼±ÇàÁ¶°Ç(RolePrecond)¿¡ ¼³Á¤µÈ ¼±ÇàÁ¶°Ç Çü½ÄÀ» ¾ò¾î¿Â´Ù.
 void setAdoptedRole(java.lang.String strRoleInfo)
          ¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)ÀÌ Àû¿ëµÉ ¿ªÇÒ¿¡ ´ëÇÑ Á¤º¸(DN)¸¦ ¼³Á¤ÇÑ´Ù.
 void setAllowMod(boolean bAllowMod)
          ¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)¿¡ ¼öÁ¤ Çã¿ë¿©ºÎ ¿É¼ÇÀ» ¼³Á¤ÇÑ´Ù.
 void setGrantLevel(int nGrantLevel)
          ¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)ÀÇ GrantLevelÀ» ¼³Á¤ÇÑ´Ù.
 void setPrecond(java.util.Vector vcPrecond)
          ¼±ÇàÁ¶°Ç Á¤º¸¸¦ ¼³Á¤ÇÑ´Ù.
 void setTypePrecond(int nType)
          ¼±ÇàÁ¶°Ç(RolePrecond)ÀÇ Å¸ÀÔÀ» ¼³Á¤ÇÑ´Ù.
 
Methods inherited from class com.safeidentity.adminservice.objects.Profile
addProfile, addProfile, deleteProfile, getProfile, getProfile, main, setProfile, toString
 
Methods inherited from class com.safeidentity.adminservice.objects.SFObject
getCreateDate, getCreateTimeStamp, getCreator, getDesc, getEid, getId, getModifier, getModifyDate, getModifyTimeStamp, getName, setCreateDate, setCreateTimeStamp, setCreator, setDesc, setEid, setId, setModifier, setModifyDate, setModifyTimeStamp, setName, setObject
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ROLEPRECOND_TYPE_USER

public static int ROLEPRECOND_TYPE_USER

ROLEPRECOND_TYPE_RESPERM

public static int ROLEPRECOND_TYPE_RESPERM
Constructor Detail

RolePrecond

public RolePrecond()
¼±ÇàÁ¶°Ç(RolePrecond) °´Ã¼ÀÇ »ý¼ºÀÚ


RolePrecond

public RolePrecond(java.lang.String strId)
¼±ÇàÁ¶°Ç(RolePrecond) °´Ã¼¸¦ »ý¼ºÇÑ´Ù.

Parameters:
strId - »ý¼ºÇÒ ¼±ÇàÁ¶°Ç °´Ã¼ÀÇ DN °ª
Method Detail

setTypePrecond

public final void setTypePrecond(int nType)
¼±ÇàÁ¶°Ç(RolePrecond)ÀÇ Å¸ÀÔÀ» ¼³Á¤ÇÑ´Ù.


getTypePrecond

public final int getTypePrecond()
¼±ÇàÁ¶°Ç(RolePrecond)¿¡ ¼³Á¤µÈ ¼±ÇàÁ¶°Ç Çü½ÄÀ» ¾ò¾î¿Â´Ù.

Returns:
¼±ÇàÁ¶°Ç(RolePrecond)¿¡ ¼³Á¤µÈ ¼±ÇàÁ¶°ÇÀÇ Çü½Ä "user" - »ç¿ëÀÚ ÇÒ´ç¿¡ ´ëÇÑ ¼±ÇàÁ¶°Ç, "resperm" - ÆÛ¹Ì¼Ç ºÎ¿©¿¡ ´ëÇÑ ¼±ÇàÁ¶°Ç

addPrecond

public final void addPrecond(java.lang.String strPrecond)
¼±ÇàÁ¶°Ç Á¤º¸¸¦ Çϳª¾¿ ¼³Á¤ÇÑ´Ù.

Parameters:
strPrecond - ¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)¿¡ ¼³Á¤µÉ ¼±ÇàÁ¶°Ç Á¤º¸

setPrecond

public final void setPrecond(java.util.Vector vcPrecond)
¼±ÇàÁ¶°Ç Á¤º¸¸¦ ¼³Á¤ÇÑ´Ù.

Parameters:
vcPrecond - ¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)¿¡ ¼³Á¤µÉ ¼±ÇàÁ¶°Ç Á¤º¸

getPrecond

public final java.util.Vector getPrecond()
¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)¿¡ ¼³Á¤µÇ¾î ÀÖ´Â ¼±ÇàÁ¶°Ç Á¤º¸¸¦ ¾ò¾î¿Â´Ù.

Returns:
¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)¿¡ ¼³Á¤µÇ¾î ÀÖ´Â ¼±ÇàÁ¶°Ç Á¤º¸

setGrantLevel

public final void setGrantLevel(int nGrantLevel)
¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)ÀÇ GrantLevelÀ» ¼³Á¤ÇÑ´Ù. GrantLevel : ÇØ´ç Á¤º¸¸¦ ÀÛ¼ºÇÑ °ü¸®ÀÚ°¡ °ü¸®ÇÏ´Â ¿ªÇÒµé Áß ÃÖ»óÀ§ ¿ªÇÒÀÇ ¿ªÇÒ ±¸Á¶¿¡¼­ÀÇ À§Ä¡(¼öÁØ). ÃÖ»óÀ§ °ü¸®ÀÚ 0 GrantLevelÀº RoleManagerÀÇ °ü·Ã ¸Þ¼Òµå¸¦ ÅëÇØ ÇØ´ç ¿ªÇÒ ¼±ÇàÁ¶°ÇÀ» ÀúÀå¼Ò¿¡ Ãß°¡ÇÏ´Â °æ¿ì strAdminInfo(°ü¸®ÀÚ Á¤º¸)¿¡ µû¶ó °áÁ¤µÇ¹Ç·Î ÇØ´ç APIÀÇ »ç¿ëÀÚ°¡ ¼³Á¤ÇÏ´Â ³»¿ëÀº ¹«½ÃµÈ´Ù.


getGrantLevel

public final int getGrantLevel()
¿ªÇÒ ¼±ÇàÁ¶°Ç¿¡ ¼³Á¤µÈ GrantLevelÀ» ¾ò¾î¿Â´Ù.

Returns:
¿ªÇÒ ¼±ÇàÁ¶°Ç¿¡ ¼³Á¤µÈ GrantLevel

setAllowMod

public final void setAllowMod(boolean bAllowMod)
¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)¿¡ ¼öÁ¤ Çã¿ë¿©ºÎ ¿É¼ÇÀ» ¼³Á¤ÇÑ´Ù. ¼öÁ¤ Çã¿ë ¿©ºÎ : ÇØ´ç ³»¿ëÀ» ÀÛ¼ºÇÑ °ü¸®ÀÚ º¸´Ù ÇÏÀ§ ¿ªÇÒÀÇ °ü¸®Àڵ鿡 ÀÇÇÑ ³»¿ëÀÇ ¼öÁ¤À» Çã¿ëÇÒ °ÍÀÎ ÁöÀÇ ¿©ºÎ.

Parameters:
bAllowMod - ¼öÁ¤Çã¿ë¿©ºÎ true ¼öÁ¤ Çã¿ë, false ¼öÁ¤ ºÒ°¡

getAllowMod

public final boolean getAllowMod()
¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)¿¡ ¼³Á¤µÈ ¼öÁ¤ Çã¿ë¿©ºÎ ¿É¼Ç Á¤º¸¸¦ ¾ò¾î¿Â´Ù.

Returns:
¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)¿¡ ¼³Á¤µÈ ¼öÁ¤ Çã¿ë¿©ºÎ true - ¼öÁ¤ Çã¿ë, false - ¼öÁ¤ ºÒ°¡

setAdoptedRole

public final void setAdoptedRole(java.lang.String strRoleInfo)
¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)ÀÌ Àû¿ëµÉ ¿ªÇÒ¿¡ ´ëÇÑ Á¤º¸(DN)¸¦ ¼³Á¤ÇÑ´Ù.

Parameters:
strRoleInfo - ¿ªÇÒ ¼±ÇàÁ¶°ÇÀÌ Àû¿ëµÉ ¿ªÇÒ¿¡ ´ëÇÑ Á¤º¸(DN)

getAdoptedRole

public final java.lang.String getAdoptedRole()
¿ªÇÒ ¼±ÇàÁ¶°Ç(RolePrecond)ÀÌ Àû¿ëµÇ´Â ¿ªÇÒ¿¡ ´ëÇÑ Á¤º¸¸¦ ¾ò¾î¿Â´Ù.

Returns:
ÇØ´ç ¿ªÇÒ ¼±ÇàÁ¶°ÇÀÌ Àû¿ëµÇ´Â ¿ªÇҵ鿡 ´ëÇÑ ¸ñ·Ï

getAllowModInteger

public final int getAllowModInteger()
¼±ÇàÁ¶°Ç¿¡ ¼³Á¤µÈ ¼öÁ¤ Çã¿ë¿©ºÎ ¿É¼ÇÀ» ±â·ÏÇÑ m_nAllowMod °ªÀ» ±×´ë·Î ¾ò¾î¿Â´Ù.

Returns:
m_nAllowMod true - ¼öÁ¤ Çã¿ë, false - ¼öÁ¤ ºÒ°¡

destroy

public void destroy()
Description copied from class: Profile
Method destroy

Overrides:
destroy in class Profile

finalize

public void finalize()
              throws java.lang.Throwable
Throws:
java.lang.Throwable


Copyright © 2004 SoftForum Corp. All Rights Reserved.