C# 클래스 Aqueduct.SitecoreLib.Search.Utilities.ItemUtil

파일 보기 프로젝트 열기: aqueduct/Aqueduct.SitecoreLib

공개 메소드들

메소드 설명
GetIconPath ( Item item ) : string

Gets a path to an icon.

GetItem ( ID itemId, Database database ) : Item

Returns a Sitecore item.

GetItemPath ( Item item ) : string

Returns a full item path in the content tree.

GetStateId ( Item item ) : string

Returns a workflow state item ID.

GetStateItem ( Item item ) : Item

Gets a workflow state item a content item is in.

GetStateItem ( string stateId, Database database ) : Item

Gets a workflow state item.

HasExplicitDenies ( Item item ) : bool

Checks if an item has explicit security deny rules on it.

HasLayout ( Item item ) : bool

Checks if an item has a layout assigned.

IsApproved ( Item item ) : bool

Checks if item is in a final workflow state.

메소드 상세

GetIconPath() 공개 정적인 메소드

Gets a path to an icon.
public static GetIconPath ( Item item ) : string
item Item Sitecore item.
리턴 string

GetItem() 공개 정적인 메소드

Returns a Sitecore item.
public static GetItem ( ID itemId, Database database ) : Item
itemId ID Item ID.
database Database Database the item is in.
리턴 Item

GetItemPath() 공개 정적인 메소드

Returns a full item path in the content tree.
public static GetItemPath ( Item item ) : string
item Item Sitecore item.
리턴 string

GetStateId() 공개 정적인 메소드

Returns a workflow state item ID.
public static GetStateId ( Item item ) : string
item Item Sitecore content item.
리턴 string

GetStateItem() 공개 정적인 메소드

Gets a workflow state item a content item is in.
public static GetStateItem ( Item item ) : Item
item Item Sitecore content item.
리턴 Item

GetStateItem() 공개 정적인 메소드

Gets a workflow state item.
public static GetStateItem ( string stateId, Database database ) : Item
stateId string Workflow state item id.
database Database Database the workflow state is in.
리턴 Item

HasExplicitDenies() 공개 정적인 메소드

Checks if an item has explicit security deny rules on it.
public static HasExplicitDenies ( Item item ) : bool
item Item Sitecore item.
리턴 bool

HasLayout() 공개 정적인 메소드

Checks if an item has a layout assigned.
public static HasLayout ( Item item ) : bool
item Item Sitecore item.
리턴 bool

IsApproved() 공개 정적인 메소드

Checks if item is in a final workflow state.
public static IsApproved ( Item item ) : bool
item Item Sitecore item.
리턴 bool