All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.sdmcraft.slingdynamo.impl.DynamoDBResourceProvider.class Maven / Gradle / Ivy

The newest version!
????1?
I?	h?	h?	h?	h?	h?????
	??
??

?

??
O?
O?
O??
O??

?
???
?
??
?


	


P
?
&?
P
&


h?
.
5
7 
9!?"#
<$
h%&'()?@*@+,@-E.E/012
K3(4

+56
P3

7(8
h9:.;
&<=
X?
.>?.@\A\BC
_?
_D
_E+
_F
_G
H:IJ
KLMNLOGGERLorg/slf4j/Logger;dynamoDBClient8Lcom/amazonaws/services/dynamodbv2/AmazonDynamoDBClient;dynamoDB5Lcom/amazonaws/services/dynamodbv2/document/DynamoDB;resourceTypeLjava/lang/String;root?(Ljava/lang/String;Lcom/amazonaws/services/dynamodbv2/AmazonDynamoDBClient;Lcom/amazonaws/services/dynamodbv2/document/DynamoDB;Ljava/lang/String;)VCodeLineNumberTableLocalVariableTablethis?Lcom/github/sdmcraft/slingdynamo/impl/DynamoDBResourceProvider;commit3(Lorg/apache/sling/api/resource/ResourceResolver;)Varg00Lorg/apache/sling/api/resource/ResourceResolver;
ExceptionsOcreate{(Lorg/apache/sling/api/resource/ResourceResolver;Ljava/lang/String;Ljava/util/Map;)Lorg/apache/sling/api/resource/Resource;arg1arg2Ljava/util/Map;LocalVariableTypeTable5Ljava/util/Map;	Signature?(Lorg/apache/sling/api/resource/ResourceResolver;Ljava/lang/String;Ljava/util/Map;)Lorg/apache/sling/api/resource/Resource;deleteE(Lorg/apache/sling/api/resource/ResourceResolver;Ljava/lang/String;)VgetResource?(Lorg/apache/sling/api/resource/ResourceResolver;Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;)Lorg/apache/sling/api/resource/Resource;describeTableRequest>Lcom/amazonaws/services/dynamodbv2/model/DescribeTableRequest;describeTableResult=Lcom/amazonaws/services/dynamodbv2/model/DescribeTableResult;creationDateLjava/util/Date;	itemCountJidIidFilter7Lcom/amazonaws/services/dynamodbv2/document/ScanFilter;items;Lcom/amazonaws/services/dynamodbv2/document/ItemCollection;itemItrLjava/util/Iterator;item1Lcom/amazonaws/services/dynamodbv2/document/Item;childparentFilterchildFilteriparentsubPath
subPathSplits[Ljava/lang/String;tabledbtable2Lcom/amazonaws/services/dynamodbv2/document/Table;valueMap;Lorg/apache/sling/api/wrappers/ModifiableValueMapDecorator;
resourcePropsresourceMetadata0Lorg/apache/sling/api/resource/ResourceMetadata;exLjava/lang/Throwable;resolverreq'Ljavax/servlet/http/HttpServletRequest;pathresource(Lorg/apache/sling/api/resource/Resource;uLcom/amazonaws/services/dynamodbv2/document/ItemCollection;GLjava/util/Iterator;l(Lorg/apache/sling/api/resource/ResourceResolver;Ljava/lang/String;)Lorg/apache/sling/api/resource/Resource;
hasChanges3(Lorg/apache/sling/api/resource/ResourceResolver;)ZlistChildren>(Lorg/apache/sling/api/resource/Resource;)Ljava/util/Iterator;childrenLjava/util/Set;
childIdItrchildrenIdsArray[Ljava/lang/Object;tableSchildrenResourceListLjava/util/List;parentValueMap(Lorg/apache/sling/api/resource/ValueMap;'Ljava/util/Set;,Ljava/util/Iterator;:Ljava/util/List;h(Lorg/apache/sling/api/resource/Resource;)Ljava/util/Iterator;revertgetChildren?(Lcom/amazonaws/services/dynamodbv2/document/Table;I[Ljava/lang/Object;Ljava/lang/String;Lorg/apache/sling/api/resource/ResourceResolver;)Ljava/util/List;	attributeEntryInnerClassesLjava/util/Map$Entry;
attributesLjava/lang/Iterable;
attributesItrchildIdschildIdsFilter;Ljava/util/Map$Entry;QLjava/lang/Iterable;>;QLjava/util/Iterator;>;?(Lcom/amazonaws/services/dynamodbv2/document/Table;I[Ljava/lang/Object;Ljava/lang/String;Lorg/apache/sling/api/resource/ResourceResolver;)Ljava/util/List;	itemToMapB(Lcom/amazonaws/services/dynamodbv2/document/Item;)Ljava/util/Map;h(Lcom/amazonaws/services/dynamodbv2/document/Item;)Ljava/util/Map;()V
SourceFileDynamoDBResourceProvider.javau?tsnopqrslm>>>>>>>>CommitPQR'java/lang/UnsupportedOperationExceptionjava/util/HashMap.org/apache/sling/api/resource/ResourceMetadataSR.TUVWXY/Z[\]^_`>>>>>>>HasChanges&org/apache/sling/api/resource/ValueMap???????
java/util/Set??{??Wjava/lang/Object??java/math/BigDecimal?W??java/lang/Stringjava/lang/Integer???????>>>>>>>>Revert??java/util/ArrayList???java/util/Map$Entry??java/lang/StringBuilder????????????=com/github/sdmcraft/slingdynamo/impl/DynamoDBResourceProvider???.org/apache/sling/api/resource/ResourceProvider7org/apache/sling/api/resource/ModifyingResourceProvider2org/apache/sling/api/resource/PersistenceExceptionorg/slf4j/Loggerinfo(Ljava/lang/String;)VsetResolutionPathcontains(Ljava/lang/CharSequence;)Zlength()I	substring(I)Ljava/lang/String;split'(Ljava/lang/String;)[Ljava/lang/String;put8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;3com/amazonaws/services/dynamodbv2/document/DynamoDBgetTableF(Ljava/lang/String;)Lcom/amazonaws/services/dynamodbv2/document/Table;6com/amazonaws/services/dynamodbv2/AmazonDynamoDBClient
describeTable}(Lcom/amazonaws/services/dynamodbv2/model/DescribeTableRequest;)Lcom/amazonaws/services/dynamodbv2/model/DescribeTableResult;;com/amazonaws/services/dynamodbv2/model/DescribeTableResult<()Lcom/amazonaws/services/dynamodbv2/model/TableDescription;8com/amazonaws/services/dynamodbv2/model/TableDescriptiongetCreationDateTime()Ljava/util/Date;getItemCount()Ljava/lang/Long;java/lang/Long	longValue()J
java/util/Map8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;valueOf(J)Ljava/lang/Long;parseInt(Ljava/lang/String;)I(I)Ljava/lang/Integer;eqP(Ljava/lang/Object;)Lcom/amazonaws/services/dynamodbv2/document/internal/Filter;0com/amazonaws/services/dynamodbv2/document/Tablescanu([Lcom/amazonaws/services/dynamodbv2/document/ScanFilter;)Lcom/amazonaws/services/dynamodbv2/document/ItemCollection;9com/amazonaws/services/dynamodbv2/document/ItemCollectioniteratorG()Lcom/amazonaws/services/dynamodbv2/document/internal/IteratorSupport;java/util/Iteratornext()Ljava/lang/Object;getInt(Ljava/util/Map;)V?(Lorg/apache/sling/api/resource/ResourceResolver;Lorg/apache/sling/api/resource/ResourceMetadata;Lorg/apache/sling/api/resource/ModifiableValueMap;Ljava/lang/String;)V
getMessage()Ljava/lang/String;error*(Ljava/lang/String;Ljava/lang/Throwable;)V(Ljava/lang/Throwable;)V&org/apache/sling/api/resource/ResourceadaptTo%(Ljava/lang/Class;)Ljava/lang/Object;containsKey(Ljava/lang/Object;)Zget&(Ljava/lang/Object;)Ljava/lang/Object;7(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;()Ljava/util/Iterator;sizehasNext()ZintValuegetResourceMetadata2()Lorg/apache/sling/api/resource/ResourceMetadata;getResolutionPathgetResourceResolver2()Lorg/apache/sling/api/resource/ResourceResolver;java/util/ListinQ([Ljava/lang/Object;)Lcom/amazonaws/services/dynamodbv2/document/internal/Filter;()Ljava/lang/Iterable;java/lang/IterablegetKeygetValueappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;(C)Ljava/lang/StringBuilder;-(Ljava/lang/Object;)Ljava/lang/StringBuilder;toStringgetTableNameaddorg/slf4j/LoggerFactory	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;!hIjklmnopqrstsuvw?*?*+?*,?*-?*??xQR	STUVy4z{tsnopqrs|}wC???x
\
]yz{~????wb?	Y?
?xdy*z{~?s???????????wF?	Y?
?xly z{~?s????wA?:?Y?:?
Y?:-?-???-?*???~-*??`?:?:2:		?W*?	?:
??]?Y	?::*??:??:
???7 
?!W"?#?!W$	?!W????P2?%6?&Y'?(?)?*?&:
?&YS?+:

?,:?-?.:*?/:?????2?%6:6

??p
2?%6?&Y0?(?)?*?&:?&Y1?(?)?*?&:
?&YSYS?+:?,:?-?.:'?26?
???*?/:34?!W?5Y?6:?7Y+*??8:?:??:?;??x?y z{??s??wD????x
?
?yz{~??w?
?+@?A?@M,?,B?C?,B?D??,BE?F?EN-?G:-?H?I:6?J???-?K?L?)S???+?M?N?O:*??:*,'P?F?P?Q+?M?R+?S?T:		?U?x6
?
?'?)?8?@?K?N?X?s???????yf
8???@???Ku??Nr???=?s?2?????	?z{???
???? 8???@??????	???}wC?V??x
?
?yz{~??w??&Y0?(?IY?)S?W?&:?&Y1?(-?W?&:+?&YSYS?+:?,:	?XY?Y:
	?J??	?-?.:?Z:?[:
?Y?:
?J?(
?-?\:?]?^?!W??Ի5Y?6:?
Y?:?_Y?`?a/?b1?c?d?e?+?f?W
?7Y*??8?gW??D
?xV
.BIR\hox???????? ?"$&y????h???o???x???
?????S???J??z{???????s????.???B???I???	R???
?H???o???x???
????B???I???	R???
????w?E?Y?M+?ZN-?[:?J?'?-?\:,?]?^?!W???,?x"01
245+6@7C9y>+??Ez{E??=??
8??0???*+??=??
8??0??????w"
h?i??x8???
\?	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy