com.poscoict.glueframework.web.security
Interface GlueMenu


public interface GlueMenu


Method Summary
 void clearCurPage()
          Reqeust Á¾·á¿¡ ÇöÀç Page¿¡ ´ëÇÑ Á¤º¸¸¦ Thread·Î ºÎÅÍ Á¦°ÅÇÔ.
 Map<?,?> getInfo()
          ÇöÀç Menu¿¡ ´ëÇÑ Ãß°¡ÀûÀÎ Á¤º¸(Map)À» °¡Á®¿È.
 String getName()
          ÇöÀç MenuÀÇ À̸§(Alias)À» Return.
 String getPageID()
          ÇöÀç MenuÀÇ PageID °ªÀ» °¡Á®¿È.
 HashSet<?> getPermitEvent()
          ÇöÀç MenuÀÇ Çã¿ë Event ±ÇÇÑÀ» °¡Á®¿È.
 String getService()
          ÇöÀç Menu¿¡¼­ Çã¿ë °¡´ÉÇÑ ServiceµéÀ» °¡Á®¿È(±¸ºÐÀÚ ",").
 List<GlueMenu> getSubMenus()
          ÇöÀç MenuÀÇ ÇÏÀ§ MenuµéÀ» °¡Á®¿È.
 String getUrl()
          ÇöÀç MenuÀÇ Link URLÀ» °¡Á®¿È.
 boolean isLeafMenu()
          ÇöÀç Menu°¡ Leaf MenuÀÎÁö üũ
 boolean isPermitAction(String action)
          ÇöÀç Menu¿¡ ¹ß»ýÇÑ Event°¡ Valid ÇÑÁö Á¡°Ë
 GlueMenu isPermitPage(String reqPageID)
          ÇöÀç Menu¿¡¼­ RequestµÈ page¿¡ ´ëÇÑ ±ÇÇÑÀÌ ÀÖ´ÂÁö üũ.
 void setInfo(Map<?,?> info)
          ÇöÀç Menu¿¡ ´ëÇÑ Ãß°¡ÀûÀÎ Á¤º¸(Map)À» ÀúÀåÇÔ.
 void setName(String name)
          ÇöÀç MenuÀÇ À̸§À» ÁöÁ¤.
 void setPageID(String pageID)
          ÇöÀç MenuÀÇ PageID °ªÀ» ÀúÀåÇÔ.
 void setPermitEvent(HashSet<?> permitEvent)
          ÇöÀç MenuÀÇ Çã¿ë Event¸¦ ÁöÁ¤
 void setService(String service)
          ÇöÀç Menu¿¡¼­ Çã¿ë °¡´ÉÇÑ ServiceµéÀ» ÀúÀåÇÔ(±¸ºÐÀÚ ",")
 void setSubMenus(List<GlueMenu> subMenus)
          ÇöÀç MenuÀÇ ÇÏÀ§ Menu¸¦ ÀúÀåÇÔ.
 void setUrl(String url)
          ÇöÀç MenuÀÇ Link URLÀ» ÀúÀåÇÔ.
 

Method Detail

getName

String getName()
ÇöÀç MenuÀÇ À̸§(Alias)À» Return.

Returns:
String

setName

void setName(String name)
ÇöÀç MenuÀÇ À̸§À» ÁöÁ¤.

Parameters:
name -

getPermitEvent

HashSet<?> getPermitEvent()
ÇöÀç MenuÀÇ Çã¿ë Event ±ÇÇÑÀ» °¡Á®¿È.

Returns:
HashSet Çã¿ë Event Name (String)

setPermitEvent

void setPermitEvent(HashSet<?> permitEvent)
ÇöÀç MenuÀÇ Çã¿ë Event¸¦ ÁöÁ¤


getSubMenus

List<GlueMenu> getSubMenus()
ÇöÀç MenuÀÇ ÇÏÀ§ MenuµéÀ» °¡Á®¿È.

Returns:
List GlueMenuÀÇ List

setSubMenus

void setSubMenus(List<GlueMenu> subMenus)
ÇöÀç MenuÀÇ ÇÏÀ§ Menu¸¦ ÀúÀåÇÔ.

Parameters:
subMenus - GlueMenuÀÇ List

getUrl

String getUrl()
ÇöÀç MenuÀÇ Link URLÀ» °¡Á®¿È.

Returns:
String Link URL

setUrl

void setUrl(String url)
ÇöÀç MenuÀÇ Link URLÀ» ÀúÀåÇÔ.

Parameters:
url - Link URL

getService

String getService()
ÇöÀç Menu¿¡¼­ Çã¿ë °¡´ÉÇÑ ServiceµéÀ» °¡Á®¿È(±¸ºÐÀÚ ",").

Returns:
String ÇöÀç Menu¿¡¼­ Çã¿ë °¡´ÉÇÑ Serviceµé

setService

void setService(String service)
ÇöÀç Menu¿¡¼­ Çã¿ë °¡´ÉÇÑ ServiceµéÀ» ÀúÀåÇÔ(±¸ºÐÀÚ ",")

Parameters:
service -

isPermitAction

boolean isPermitAction(String action)
ÇöÀç Menu¿¡ ¹ß»ýÇÑ Event°¡ Valid ÇÑÁö Á¡°Ë

Parameters:
action -
Returns:
boolean Valid ÇÏ´Ù¸é true

isPermitPage

GlueMenu isPermitPage(String reqPageID)
ÇöÀç Menu¿¡¼­ RequestµÈ page¿¡ ´ëÇÑ ±ÇÇÑÀÌ ÀÖ´ÂÁö üũ.

Parameters:
reqPageID - - ÁÖÀÇ »çÇ×: PagID¿¡ ´ë¼Ò¹®ÀÚ ±¸ºÐÇÔ
Returns:
GlueMenu ±ÇÇÑÀÌ ÀÖÀ¸¸é GlueMenu return

getInfo

Map<?,?> getInfo()
ÇöÀç Menu¿¡ ´ëÇÑ Ãß°¡ÀûÀÎ Á¤º¸(Map)À» °¡Á®¿È.

Returns:
Map

setInfo

void setInfo(Map<?,?> info)
ÇöÀç Menu¿¡ ´ëÇÑ Ãß°¡ÀûÀÎ Á¤º¸(Map)À» ÀúÀåÇÔ.

Parameters:
info -

isLeafMenu

boolean isLeafMenu()
ÇöÀç Menu°¡ Leaf MenuÀÎÁö üũ

Returns:
boolean

getPageID

String getPageID()
ÇöÀç MenuÀÇ PageID °ªÀ» °¡Á®¿È.

Returns:
String

setPageID

void setPageID(String pageID)
ÇöÀç MenuÀÇ PageID °ªÀ» ÀúÀåÇÔ.

Parameters:
pageID -

clearCurPage

void clearCurPage()
Reqeust Á¾·á¿¡ ÇöÀç Page¿¡ ´ëÇÑ Á¤º¸¸¦ Thread·Î ºÎÅÍ Á¦°ÅÇÔ.



Copyright © 2013–2014 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.