Modifier and Type | Method and Description |
---|---|
String |
getPath(long companyId) |
static String |
getPath(long companyId,
long repositoryId,
String... path) |
static StoreArea |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StoreArea[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static <T extends Throwable> |
withStoreArea(StoreArea storeArea,
com.liferay.petra.function.UnsafeRunnable<T> unsafeRunnable) |
public static final StoreArea DELETED
public static final StoreArea LIVE
public static StoreArea[] values()
for (StoreArea c : StoreArea.values()) System.out.println(c);
public static StoreArea valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static String getPath(long companyId, long repositoryId, String... path)
public static <T extends Throwable> void withStoreArea(StoreArea storeArea, com.liferay.petra.function.UnsafeRunnable<T> unsafeRunnable) throws T extends Throwable
T extends Throwable
public String getPath(long companyId)