C# Class Aqueduct.SitecoreLib.Search.Utilities.ItemUtil

Afficher le fichier Open project: aqueduct/Aqueduct.SitecoreLib

Méthodes publiques

Méthode Description
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.

Method Details

GetIconPath() public static méthode

Gets a path to an icon.
public static GetIconPath ( Item item ) : string
item Item Sitecore item.
Résultat string

GetItem() public static méthode

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

GetItemPath() public static méthode

Returns a full item path in the content tree.
public static GetItemPath ( Item item ) : string
item Item Sitecore item.
Résultat string

GetStateId() public static méthode

Returns a workflow state item ID.
public static GetStateId ( Item item ) : string
item Item Sitecore content item.
Résultat string

GetStateItem() public static méthode

Gets a workflow state item a content item is in.
public static GetStateItem ( Item item ) : Item
item Item Sitecore content item.
Résultat Item

GetStateItem() public static méthode

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.
Résultat Item

HasExplicitDenies() public static méthode

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

HasLayout() public static méthode

Checks if an item has a layout assigned.
public static HasLayout ( Item item ) : bool
item Item Sitecore item.
Résultat bool

IsApproved() public static méthode

Checks if item is in a final workflow state.
public static IsApproved ( Item item ) : bool
item Item Sitecore item.
Résultat bool