tle.framework.component.impl.aamanager.service
Class ServiceGroupChain

java.lang.Object
  extended bytle.framework.component.impl.aamanager.service.ServiceGroupChain
All Implemented Interfaces:
HasGrant, Service

public class ServiceGroupChain
extends java.lang.Object
implements Service, HasGrant

<service> ű׷Π¸í½ÃµÇ¾î ÀÖÁö ¾ÊÀº ¿äû ¼­ºñ½º Áß¿¡¼­ <group>¿¡ ÀÇÇØ ¼­ºñ½º ±×·ì ÇÊÅÍ¿¡ ¼ÓÇÏ°Ô µÇ´Â ¿äû ¼­ºñ½º¸¦ ij½ÌÇϱâ À§Çؼ­ »ç¿ëµÇ´Â Service. ServiceGroupChain ¼³¸í

Since:
2.0
Author:
ÃÖ¹ü±Õ

Constructor Summary
ServiceGroupChain()
           
 
Method Summary
 void addServiceGroup(ServiceGroup group)
          ¼­ºñ½º±×·ì¿¡ üÀο¡ »õ·Î¿î ±×·ìÀ» Ãß°¡ÇÑ´Ù.
 java.lang.String getCommandID()
          ÀÌ ¼­ºñ½º¿Í °ü·ÃµÈ ¸í·É¾îÀÇ ID¸¦ ±¸ÇÑ´Ù.
 java.lang.String getDescription()
          nullÀ» ¸®ÅÏÇÑ´Ù.
 java.lang.String getName()
          nullÀ» ¸®ÅÏÇÑ´Ù.
 boolean hasGrant(Role role)
          Ã¼Àο¡ ÀÖ´Â ¸ðµç ¼­ºñ½º ±×·ì¿¡ ´ëÇØ¼­ roleÀÌ ±ÇÇÑÀ» °¡Áø °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù.
 boolean isAllRolesUsable()
          Ã¼Àο¡ ÀÖ´Â ¸ðµç ¼­ºñ½º ±×·ìÀÌ ¸ðµç ¿ªÇÒ¿¡ ´ëÇØ¼­ »ç¿ë°¡´ÉÇÑ °æ¿ì¿¡¸¸ true¸¦ ¸®ÅÏÇÏ°í ±× ¿ÜÀÇ °æ¿ì´Â false¸¦ ¸®ÅÏÇÑ´Ù.
 boolean isNeedAuthentication()
          Ã¼Àο¡ ÀÖ´Â ¸ðµç ¼­ºñ½º ±×·ìÀÌ ·Î±×ÀÎÀ» ÇÊ¿ä·Î ÇÏÁö ¾Ê´Â °æ¿ì¿¡¸¸ false¸¦ ¸®ÅÏÇϸç, ±× ¿Ü¿¡´Â true¸¦ ¸®ÅÏÇÑ´Ù.
(package private)  void setCommandID(java.lang.String commandID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceGroupChain

public ServiceGroupChain()
Method Detail

setCommandID

void setCommandID(java.lang.String commandID)

getCommandID

public java.lang.String getCommandID()
Description copied from interface: Service
ÀÌ ¼­ºñ½º¿Í °ü·ÃµÈ ¸í·É¾îÀÇ ID¸¦ ±¸ÇÑ´Ù.

Specified by:
getCommandID in interface Service
Returns:
See Also:
Service.getCommandID()

getName

public java.lang.String getName()
nullÀ» ¸®ÅÏÇÑ´Ù.

Specified by:
getName in interface Service
Returns:
See Also:
Service.getName()

getDescription

public java.lang.String getDescription()
nullÀ» ¸®ÅÏÇÑ´Ù.

Specified by:
getDescription in interface Service
Returns:
See Also:
Service.getDescription()

isNeedAuthentication

public boolean isNeedAuthentication()
üÀο¡ ÀÖ´Â ¸ðµç ¼­ºñ½º ±×·ìÀÌ ·Î±×ÀÎÀ» ÇÊ¿ä·Î ÇÏÁö ¾Ê´Â °æ¿ì¿¡¸¸ false¸¦ ¸®ÅÏÇϸç, ±× ¿Ü¿¡´Â true¸¦ ¸®ÅÏÇÑ´Ù.

Specified by:
isNeedAuthentication in interface Service
Returns:
See Also:
Service.isNeedAuthentication()

isAllRolesUsable

public boolean isAllRolesUsable()
üÀο¡ ÀÖ´Â ¸ðµç ¼­ºñ½º ±×·ìÀÌ ¸ðµç ¿ªÇÒ¿¡ ´ëÇØ¼­ »ç¿ë°¡´ÉÇÑ °æ¿ì¿¡¸¸ true¸¦ ¸®ÅÏÇÏ°í ±× ¿ÜÀÇ °æ¿ì´Â false¸¦ ¸®ÅÏÇÑ´Ù.

Specified by:
isAllRolesUsable in interface Service
Returns:
See Also:
Service.isAllRolesUsable()

addServiceGroup

public void addServiceGroup(ServiceGroup group)
¼­ºñ½º±×·ì¿¡ üÀο¡ »õ·Î¿î ±×·ìÀ» Ãß°¡ÇÑ´Ù.

Parameters:
group -

hasGrant

public boolean hasGrant(Role role)
üÀο¡ ÀÖ´Â ¸ðµç ¼­ºñ½º ±×·ì¿¡ ´ëÇØ¼­ roleÀÌ ±ÇÇÑÀ» °¡Áø °æ¿ì true¸¦ ¸®ÅÏÇÑ´Ù.

Specified by:
hasGrant in interface HasGrant
Parameters:
role -
Returns:
¿ªÇÒÀÇ Ã¼ÀÎÀÇ ¸ðµç ¼­ºñ½º ±×·ìÀ» »ç¿ëÇÒ ¼ö ÀÖ´Â °æ¿ì true